From 9ba193ee09f4738ed62f74f084b4707210859be4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:08:12 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.5.1-1mamba;Fri May 06 2022] --- README.md | 2 ++ volk.spec | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 volk.spec diff --git a/README.md b/README.md index 036fdd0..ca1a7c8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # volk +The Vector Optimized Library of Kernels. + diff --git a/volk.spec b/volk.spec new file mode 100644 index 0000000..925f7d6 --- /dev/null +++ b/volk.spec @@ -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 +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 2.5.1-1mamba +- package created using the webbuild interface