package created using the webbuild interface [release 0.12.1-1mamba;Sun Jun 21 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:52:30 +01:00
parent 8f3fb97876
commit 6e0ab108ac
2 changed files with 85 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# userspace-rcu
A userspace RCU (read-copy-update) library.

83
userspace-rcu.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.12.1-1mamba
- package created using the webbuild interface