commit 758b9a7e678e0665b7741ac75966b0b4bbe0fcfd3aa4de8adcf989663bb7ecd1 Author: Pascal Bleser Date: Thu Mar 29 11:00:45 2012 +0000 0.6.7 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/userspace-rcu?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/userspace-rcu-0.6.7.tar.bz2 b/userspace-rcu-0.6.7.tar.bz2 new file mode 100644 index 0000000..cb44acb --- /dev/null +++ b/userspace-rcu-0.6.7.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0b09aead6fbcb4d5efb4270e12f84ffd115b99b55b2c745e052b2d87a47e75f +size 326304 diff --git a/userspace-rcu.changes b/userspace-rcu.changes new file mode 100644 index 0000000..6b2a021 --- /dev/null +++ b/userspace-rcu.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Mar 29 10:59:43 CET 2012 - pascal.bleser@opensuse.org + +- initial version (0.6.7) + diff --git a/userspace-rcu.spec b/userspace-rcu.spec new file mode 100644 index 0000000..ca5912f --- /dev/null +++ b/userspace-rcu.spec @@ -0,0 +1,112 @@ +# vim: set sw=4 ts=4 et nu: +# Copyright (c) 2012 Pascal Bleser +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ + +Name: userspace-rcu +Version: 0.6.7 +%define soname 1 +Release: 0 +Summary: Userspace Read-Copy-Update Library +Source: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2 +URL: http://lttng.org/urcu +Group: System/Libraries +License: LGPL-2.1+ +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: gcc make glibc-devel pkgconfig +BuildRequires: autoconf automake libtool + +%description +liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data +synchronization library provides read-side access which scales linearly with +the number of cores. It does so by allowing multiples copies of a given data +structure to live at the same time, and by monitoring the data structure +accesses to detect grace periods after which memory reclamation is possible. + +%package -n liburcu%{soname} +Summary: Userspace Read-Copy-Update Library +Group: System/Libraries + +%description -n liburcu%{soname} +liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data +synchronization library provides read-side access which scales linearly with +the number of cores. It does so by allowing multiples copies of a given data +structure to live at the same time, and by monitoring the data structure +accesses to detect grace periods after which memory reclamation is possible. + +%package -n liburcu-devel +Summary: Userspace Read-Copy-Update Library +Group: Development/Libraries/C and C++ +Requires: liburcu%{soname} = %{version} + +%description -n liburcu-devel +liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data +synchronization library provides read-side access which scales linearly with +the number of cores. It does so by allowing multiples copies of a given data +structure to live at the same time, and by monitoring the data structure +accesses to detect grace periods after which memory reclamation is possible. + +%prep +%setup -q + +%build +%configure --disable-silent-rules +%__make %{?_smp_mflags} + +%install +%makeinstall + +%__rm "%{buildroot}%{_libdir}"/*.{a,la} + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%post -n liburcu%{soname} -p /sbin/ldconfig +%postun -n liburcu%{soname} -p /sbin/ldconfig + +%files -n liburcu%{soname} +%defattr(-,root,root) +%doc ChangeLog LICENSE README +%{_libdir}/liburcu.so.%{soname} +%{_libdir}/liburcu.so.%{soname}.* +%{_libdir}/liburcu-bp.so.%{soname} +%{_libdir}/liburcu-bp.so.%{soname}.* +%{_libdir}/liburcu-cds.so.%{soname} +%{_libdir}/liburcu-cds.so.%{soname}.* +%{_libdir}/liburcu-common.so.%{soname} +%{_libdir}/liburcu-common.so.%{soname}.* +%{_libdir}/liburcu-mb.so.%{soname} +%{_libdir}/liburcu-mb.so.%{soname}.* +%{_libdir}/liburcu-qsbr.so.%{soname} +%{_libdir}/liburcu-qsbr.so.%{soname}.* +%{_libdir}/liburcu-signal.so.%{soname} +%{_libdir}/liburcu-signal.so.%{soname}.* + +%files -n liburcu-devel +%defattr(-,root,root) +%{_includedir}/urcu*.h +%{_includedir}/urcu +%{_libdir}/liburcu.so +%{_libdir}/liburcu-bp.so +%{_libdir}/liburcu-cds.so +%{_libdir}/liburcu-common.so +%{_libdir}/liburcu-mb.so +%{_libdir}/liburcu-qsbr.so +%{_libdir}/liburcu-signal.so +%{_libdir}/pkgconfig/liburcu.pc +%{_libdir}/pkgconfig/liburcu-bp.pc +%{_libdir}/pkgconfig/liburcu-cds.pc +%{_libdir}/pkgconfig/liburcu-mb.pc +%{_libdir}/pkgconfig/liburcu-qsbr.pc +%{_libdir}/pkgconfig/liburcu-signal.pc + +%changelog