From 6e0ab108ac12c91b0406102c563ab5734fa2412f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:52:30 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.12.1-1mamba;Sun Jun 21 2020] --- README.md | 2 ++ userspace-rcu.spec | 83 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 userspace-rcu.spec diff --git a/README.md b/README.md index 70c63b1..8742535 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # userspace-rcu +A userspace RCU (read-copy-update) library. + diff --git a/userspace-rcu.spec b/userspace-rcu.spec new file mode 100644 index 0000000..fd7e070 --- /dev/null +++ b/userspace-rcu.spec @@ -0,0 +1,83 @@ +Name: userspace-rcu +Version: 0.12.1 +Release: 1mamba +Summary: A userspace RCU (read-copy-update) library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://liburcu.org/ +Source: https://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A userspace RCU (read-copy-update) library. + +%package -n liburcu +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n liburcu +This package contains shared libraries for %{name}. + +%package -n liburcu-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: liburcu = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n liburcu-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n liburcu -p /sbin/ldconfig +%postun -n liburcu -p /sbin/ldconfig + +%files -n liburcu +%defattr(-,root,root) +%{_libdir}/liburcu.so.* +%{_libdir}/liburcu-*.so.* +%doc LICENSE + +%files -n liburcu-devel +%defattr(-,root,root) +%{_includedir}/urcu-*.h +%{_includedir}/urcu.h +%dir %{_includedir}/urcu +%{_includedir}/urcu/* +%{_libdir}/liburcu-*.a +%{_libdir}/liburcu-*.la +%{_libdir}/liburcu-*.so +%{_libdir}/liburcu.a +%{_libdir}/liburcu.la +%{_libdir}/liburcu.so +%{_libdir}/pkgconfig/liburcu.pc +%{_libdir}/pkgconfig/liburcu-*.pc +%dir %{_datadir}/doc/userspace-rcu +%{_datadir}/doc/userspace-rcu/* +%doc ChangeLog README.md + +%changelog +* Sun Jun 21 2020 Silvan Calarco 0.12.1-1mamba +- package created using the webbuild interface