volk/volk.spec

103 lines
2.7 KiB
RPMSpec

Name: volk
Version: 3.1.2
Release: 1mamba
Summary: The Vector Optimized Library of Kernels
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.libvolk.org/
Source: https://github.com/gnuradio/volk.git/v%{version}/volk-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcpu_features-devel
BuildRequires: libgcc
BuildRequires: liborc-devel
BuildRequires: libpython311-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libpython3-devel >= 3.11
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: %{name} = %{?epoch:%epoch:}%{version}-%{release}
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}/volk-config-info
%{_bindir}/volk_modtool
%{_bindir}/volk_profile
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libvolk.so.*
%dir %{python3_sitearch}/volk_modtool
%{python3_sitearch}/volk_modtool/*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/volk
%{_includedir}/volk/*
%{_libdir}/libvolk.so
%{_libdir}/pkgconfig/volk.pc
%dir %{_libdir}/cmake/volk
%{_libdir}/cmake/volk/Volk*.cmake
%doc README.md
%changelog
* Tue Feb 27 2024 Automatic Build System <autodist@openmamba.org> 3.1.2-1mamba
- automatic version update by autodist
* Tue Jan 30 2024 Automatic Build System <autodist@openmamba.org> 3.1.1-1mamba
- automatic version update by autodist
* Thu Dec 07 2023 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
- automatic version update by autodist
* Sun Oct 15 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.0-1mamba
- update to 3.0.0
- rebuilt with python3 == 3.11
* Fri May 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.1-1mamba
- package created using the webbuild interface