package created using the webbuild interface [release 2.5.1-1mamba;Fri May 06 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 19:08:12 +01:00
parent efaa3bd3d0
commit 9ba193ee09
2 changed files with 94 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# volk
The Vector Optimized Library of Kernels.

92
volk.spec Normal file
View File

@ -0,0 +1,92 @@
Name: volk
Version: 2.5.1
Release: 1mamba
Summary: The Vector Optimized Library of Kernels
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libvolk.org/
Source: https://github.com/gnuradio/volk.git/v%{version}/volk-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: liborc-devel
BuildRequires: libpython3-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
The Vector Optimized Library of Kernels.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/list_cpu_features
%{_bindir}/volk-config-info
%{_bindir}/volk_modtool
%{_bindir}/volk_profile
%doc COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libvolk.so.*
%dir %{python3_sitearch}/volk_modtool
%{python3_sitearch}/volk_modtool/*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/cpu_features
%{_includedir}/cpu_features/*
%dir %{_includedir}/volk
%{_includedir}/volk/*
%{_libdir}/libcpu_features.a
%{_libdir}/libvolk.so
%{_libdir}/pkgconfig/volk.pc
%dir %{_libdir}/cmake/CpuFeatures
%{_libdir}/cmake/CpuFeatures/CpuFeatures*.cmake
%dir %{_libdir}/cmake/volk
%{_libdir}/cmake/volk/Volk*.cmake
%doc README.md
%changelog
* Fri May 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.1-1mamba
- package created using the webbuild interface