91 lines
2.3 KiB
RPMSpec
91 lines
2.3 KiB
RPMSpec
Name: userspace-rcu
|
|
Version: 0.13.0
|
|
Release: 2mamba
|
|
Summary: A userspace RCU (read-copy-update) library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://liburcu.org/
|
|
Source: https://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%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
|
|
* Tue Oct 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.0-2mamba
|
|
- rebuilt to fix liburcu.so symlink
|
|
|
|
* Fri Jun 04 2021 Automatic Build System <autodist@mambasoft.it> 0.13.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 0.12.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jun 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.1-1mamba
|
|
- package created using the webbuild interface
|