Blame SPECS/userspace-rcu.spec

3f8e55
%{?scl:%scl_package userspace-rcu}
3f8e55
%{!?scl:%global pkg_name %{name}}
3f8e55
3f8e55
Name:           %{?scl_prefix}userspace-rcu
3f8e55
Version:        0.10.1
3f8e55
Release:        2%{?dist}
3f8e55
Summary:        RCU (read-copy-update) implementation in user-space
3f8e55
3f8e55
Group:          System Environment/Libraries
3f8e55
License:        LGPLv2+
3f8e55
URL:            http://liburcu.org
3f8e55
Source0:        http://lttng.org/files/urcu/%{pkg_name}-%{version}.tar.bz2
3f8e55
Patch0:         regtest-without-bench.patch
3f8e55
BuildRequires:  pkgconfig
3f8e55
BuildRequires:  perl-Test-Harness
3f8e55
BuildRequires:  autoconf automake libtool
3f8e55
3f8e55
%{?scl:Requires: %scl_runtime}
3f8e55
3f8e55
%description
3f8e55
This data synchronization library provides read-side access which scales
3f8e55
linearly with the number of cores. It does so by allowing multiples copies
3f8e55
of a given data structure to live at the same time, and by monitoring
3f8e55
the data structure accesses to detect grace periods after which memory
3f8e55
reclamation is possible.
3f8e55
3f8e55
%package        devel
3f8e55
Summary:        Development files for %{name}
3f8e55
Group:          Development/Libraries
3f8e55
Requires:       %{name}%{?_isa} = %{version}-%{release}
3f8e55
3f8e55
%description    devel
3f8e55
The %{name}-devel package contains libraries and header files for
3f8e55
developing applications that use %{name}.
3f8e55
3f8e55
3f8e55
%prep
3f8e55
%setup -q -n %{pkg_name}-%{version}
3f8e55
%patch0 -p1
3f8e55
3f8e55
%build
3f8e55
# Reinitialize libtool with the fedora version to remove Rpath
3f8e55
autoreconf -vif
3f8e55
3f8e55
%configure --disable-static
3f8e55
V=1 make %{?_smp_mflags}
3f8e55
3f8e55
3f8e55
%install
3f8e55
make install DESTDIR=$RPM_BUILD_ROOT
3f8e55
rm -vf $RPM_BUILD_ROOT%{_libdir}/*.la
3f8e55
3f8e55
3f8e55
%check
3f8e55
make check
3f8e55
make regtest
3f8e55
3f8e55
%post -p /sbin/ldconfig
3f8e55
%postun -p /sbin/ldconfig
3f8e55
3f8e55
3f8e55
%files
3f8e55
%doc ChangeLog
3f8e55
%doc gpl-2.0.txt
3f8e55
%doc lgpl-relicensing.txt
3f8e55
%doc lgpl-2.1.txt
3f8e55
%doc %{_docdir}/%{pkg_name}/LICENSE
3f8e55
%doc %{_docdir}/%{pkg_name}/README.md
3f8e55
%{_libdir}/*.so.*
3f8e55
3f8e55
%files devel
3f8e55
%doc %{_docdir}/%{pkg_name}/examples
3f8e55
%{_includedir}/*
3f8e55
%{_libdir}/*.so
3f8e55
%{_libdir}/pkgconfig/liburcu*.pc
3f8e55
%{_docdir}/%{pkg_name}/cds-api.md
3f8e55
%{_docdir}/%{pkg_name}/rcu-api.md
3f8e55
%{_docdir}/%{pkg_name}/solaris-build.md
3f8e55
%{_docdir}/%{pkg_name}/uatomic-api.md
3f8e55
3f8e55
3f8e55
%changelog
3f8e55
* Mon Sep 21 2020 Omair Majid <omajid@redhat.com> - 0.10.1-2
3f8e55
- Build for .NET 5.0
3f8e55
- Resolves: RHBZ#1879711
3f8e55
3f8e55
* Mon Nov 18 2019 Omair Majid <omajid@redhat.com> - 0.10.1-2
3f8e55
- Build for .NET Core 3.1
3f8e55
- Resolves: RHBZ#1767056
3f8e55
3f8e55
* Mon Sep 09 2019 Omair Majid <omajid@redhat.com> - 0.10.1-2
3f8e55
- SCL-ized package
3f8e55
- Resolves: RHBZ#1746116
3f8e55
3f8e55
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3f8e55
3f8e55
* Tue Jan 23 2018 Michael Jeanson <mjeanson@efficios.com> - 0.10.1-1
3f8e55
- New upstream release
3f8e55
3f8e55
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-3
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3f8e55
3f8e55
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3f8e55
3f8e55
* Thu Jun 22 2017 Michael Jeanson <mjeanson@efficios.com> - 0.10.0-1
3f8e55
- New upstream release
3f8e55
3f8e55
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-2
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3f8e55
3f8e55
* Wed Nov 30 2016 Michael Jeanson <mjeanson@efficios.com> - 0.9.3-1
3f8e55
- New upstream release
3f8e55
3f8e55
* Wed Jun 22 2016 Michael Jeanson <mjeanson@efficios.com> - 0.9.2-2
3f8e55
- Re-add rpath removing
3f8e55
3f8e55
* Tue Jun 21 2016 Michael Jeanson <mjeanson@efficios.com> - 0.9.2-1
3f8e55
- New upstream release
3f8e55
- Dropped aarch64 patch merged upstream
3f8e55
3f8e55
* Sun May 15 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 0.8.6-4
3f8e55
- Fix %%doc usage (#1001239)
3f8e55
3f8e55
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.6-3
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3f8e55
3f8e55
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.6-2
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3f8e55
3f8e55
* Thu Feb 26 2015 Scott Tsai <scottt.tw@gmail.com> - 0.8.6-1
3f8e55
- New upstream release
3f8e55
3f8e55
* Sun Nov 02 2014 Suchakra Sharma <suchakra@fedoraproject.org> - 0.8.5-1
3f8e55
- New upstream release
3f8e55
3f8e55
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-5
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3f8e55
3f8e55
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-4
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3f8e55
3f8e55
* Thu May 22 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.8.1-3
3f8e55
- Use upstream patch for aarch64 (includes ppc64le too)
3f8e55
3f8e55
* Thu May 22 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 0.8.1-2
3f8e55
- Added AArch64 support
3f8e55
3f8e55
* Mon Feb 10 2014 Yannick Brosseau <yannick.brosseau@gmail.com> 0.8.1-1
3f8e55
- New upstream release
3f8e55
3f8e55
* Sat Jan 18 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.7.9-1
3f8e55
- Update to 0.7.9
3f8e55
3f8e55
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-2
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
3f8e55
3f8e55
* Fri Jul 05 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 0.7.7-1
3f8e55
- New upstream version
3f8e55
3f8e55
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-2
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3f8e55
3f8e55
* Fri Jan 18 2013 Yannick Brosseau <yannick.brosseau@gmail.com> - 0.7.6-1
3f8e55
- New upstream version
3f8e55
3f8e55
* Tue Oct 23 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 0.7.5-1
3f8e55
- New upstream version 
3f8e55
3f8e55
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-2
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3f8e55
3f8e55
* Thu Jun 14 2012 Yannick Brosseau <yannick.brosseau@gmail.com> - 0.7.3-1
3f8e55
- New upstream version (#828716)
3f8e55
3f8e55
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3f8e55
3f8e55
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
3f8e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3f8e55
3f8e55
* Fri Feb 26 2010 Jan "Yenya" Kasprzak <kas@fi.muni.cz> 0.4.1-1
3f8e55
- new upstream version.
3f8e55
3f8e55
* Tue Oct 20 2009 Jan "Yenya" Kasprzak <kas@fi.muni.cz> 0.2.4-1
3f8e55
- Initial revision.