Blame SPECS/userspace-rcu.spec

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