Blame SPECS/userspace-rcu.spec

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