Blame SPECS/userspace-rcu.spec

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