Blame SPECS/libatomic_ops.spec

9d08c9
Name:    libatomic_ops
9d08c9
Summary: Atomic memory update operations
9d08c9
Version: 7.6.2
9d08c9
Release: 3%{?dist}
9d08c9
9d08c9
# libatomic_ops MIT, libatomic_ops_gpl GPLv2
9d08c9
License: GPLv2 and MIT
9d08c9
#URL:    http://www.hboehm.info/gc/
9d08c9
URL:     https://github.com/ivmai/libatomic_ops/
9d08c9
Source0: https://github.com/ivmai/libatomic_ops/releases/download/v%{version}/libatomic_ops-%{version}.tar.gz
9d08c9
# updated GPLv2 license text
9d08c9
Source1: http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
9d08c9
9d08c9
## upstream patches
9d08c9
# 7.4 branch
9d08c9
9d08c9
# master branch
9d08c9
9d08c9
## upstreamable patches
9d08c9
# https://bugzilla.redhat.com/show_bug.cgi?id=1096574
9d08c9
Patch500: gc_ppc64le_force_AO_load.patch
9d08c9
9d08c9
# re-autofoo for patch2 (and others)
9d08c9
BuildRequires: automake libtool
9d08c9
9d08c9
%description
9d08c9
Provides implementations for atomic memory update operations on a
9d08c9
number of architectures. This allows direct use of these in reasonably
9d08c9
portable code. Unlike earlier similar packages, this one explicitly
9d08c9
considers memory barrier semantics, and allows the construction of code
9d08c9
that involves minimum overhead across a variety of architectures.
9d08c9
9d08c9
%package devel
9d08c9
Summary: Development files for %{name}
9d08c9
Requires: %{name}%{?_isa} = %{version}-%{release}
9d08c9
%description devel
9d08c9
Files for developing with %{name}.
9d08c9
9d08c9
%package static
9d08c9
Summary: Static library files for %{name}
9d08c9
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
9d08c9
%description static
9d08c9
Files for developing with %{name} and linking statically.
9d08c9
9d08c9
9d08c9
%prep
9d08c9
%autosetup -p1
9d08c9
9d08c9
# refresh stuff here to be rid of rpath
9d08c9
autoreconf -fi
9d08c9
9d08c9
install -m644 -p %{SOURCE1} ./COPYING
9d08c9
9d08c9
9d08c9
%build
9d08c9
%configure \
9d08c9
  --enable-shared \
9d08c9
  --disable-silent-rules
9d08c9
9d08c9
make %{?_smp_mflags}
9d08c9
9d08c9
9d08c9
%install
9d08c9
make install DESTDIR=%{buildroot}
9d08c9
9d08c9
## unpackaged files
9d08c9
rm -fv %{buildroot}%{_libdir}/lib*.la
9d08c9
# omit dup'd docs
9d08c9
rm -fv %{buildroot}%{_docdir}/libatomic_ops/{COPYING,README*,*.txt}
9d08c9
9d08c9
9d08c9
%check
9d08c9
## ignore failures on powerpc, atomic stack feature not working (#883748)
9d08c9
#ifarch ppc ppc64 ppc64le aarch64
9d08c9
#global arch_ignore ||:
9d08c9
#endif
9d08c9
make check %{?arch_ignore}
9d08c9
9d08c9
%ldconfig_scriptlets
9d08c9
9d08c9
%files
9d08c9
%license COPYING
9d08c9
%license doc/LICENSING.txt
9d08c9
%doc AUTHORS ChangeLog README.md
9d08c9
%{_libdir}/libatomic_ops.so.1*
9d08c9
%{_libdir}/libatomic_ops_gpl.so.1*
9d08c9
9d08c9
%files devel
9d08c9
%doc doc/README*
9d08c9
%{_includedir}/atomic_ops.h
9d08c9
%{_includedir}/atomic_ops_malloc.h
9d08c9
%{_includedir}/atomic_ops_stack.h
9d08c9
%{_includedir}/atomic_ops/
9d08c9
%{_libdir}/libatomic_ops.so
9d08c9
%{_libdir}/libatomic_ops_gpl.so
9d08c9
%{_libdir}/pkgconfig/atomic_ops.pc
9d08c9
9d08c9
%files static
9d08c9
%{_libdir}/libatomic_ops.a
9d08c9
%{_libdir}/libatomic_ops_gpl.a
9d08c9
9d08c9
9d08c9
%changelog
9d08c9
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.6.2-3
9d08c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9d08c9
9d08c9
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.6.2-2
9d08c9
- Switch to %%ldconfig_scriptlets
9d08c9
9d08c9
* Fri Dec 29 2017 Rex Dieter <rdieter@fedoraproject.org> - 7.6.2-1
9d08c9
- libatomic_ops-7.6.2 (#1528830)
9d08c9
9d08c9
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.6-3
9d08c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9d08c9
9d08c9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.6-2
9d08c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9d08c9
9d08c9
* Wed May 31 2017 Rex Dieter <rdieter@fedoraproject.org> - 7.4.6-1
9d08c9
- libatomic_ops-7.4.6
9d08c9
9d08c9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.4-2
9d08c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9d08c9
9d08c9
* Fri Jun 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 7.4.4-1
9d08c9
- libatomic_ops-7.4.4 (#1346524)
9d08c9
9d08c9
* Mon Mar 28 2016 Rex Dieter <rdieter@fedoraproject.org> 7.4.2-9
9d08c9
- make check fails on test_stack for ppc64le arch (#1096574), drop reference to 0032.patch
9d08c9
9d08c9
* Mon Mar 28 2016 Rex Dieter <rdieter@fedoraproject.org> - 7.4.2-8
9d08c9
- pull in upstream (7.4 branch) fixes
9d08c9
- Add support for 64-bit MIPS (#1317509)
9d08c9
- use %%license
9d08c9
9d08c9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.2-7
9d08c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9d08c9
9d08c9
* Tue Jul  7 2015 Peter Robinson <pbrobinson@fedoraproject.org> 7.4.2-6
9d08c9
- Don't fail check on aarch64
9d08c9
9d08c9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.4.2-5
9d08c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9d08c9
9d08c9
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.4.2-4
9d08c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
9d08c9
9d08c9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.4.2-3
9d08c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9d08c9
9d08c9
* Tue May 13 2014 Rex Dieter <rdieter@fedoraproject.org> 7.4.2-2
9d08c9
- link libatomic_ops_gpl against libatomic_ops for missing symbol(s)
9d08c9
9d08c9
* Tue May 13 2014 Rex Dieter <rdieter@fedoraproject.org> 7.4.2-1
9d08c9
- libatomic_opts-7.4.2
9d08c9
- new upstream/source URLs
9d08c9
- %%check: skip ppc64le too
9d08c9
- License: MIT and GPLv2
9d08c9
- update/longer %%description
9d08c9
- updated GPLv2 license text (with correct address)
9d08c9
9d08c9
* Wed Dec 04 2013 Rex Dieter <rdieter@fedoraproject.org>  7.4.0-1
9d08c9
- separate libatomic_ops lives again!
9d08c9
9d08c9
* Fri Jul 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.2-8.gc
9d08c9
- use gc tarball, tag gc release
9d08c9
9d08c9
* Thu Jul 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.2-7
9d08c9
- devel: Provides: %%name-static ...
9d08c9
- consolidate %%doc's
9d08c9
- %%files: track libs
9d08c9
9d08c9
* Wed May 20 2009 Dan Horak <dan[t]danny.cz> - 1.2-6
9d08c9
- added fix for s390
9d08c9
9d08c9
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
9d08c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9d08c9
9d08c9
* Thu May 22 2008 Jon Stanley <jonstanley@gmail.com> - 1.2-4
9d08c9
- Fix license tag
9d08c9
9d08c9
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2-3
9d08c9
- Autorebuild for GCC 4.3
9d08c9
9d08c9
* Tue May 29 2007 Pierre Ossman <drzeus@drzeus.cx> 1.2-2
9d08c9
- Added fix for PPC AO_load_acquire.
9d08c9
9d08c9
* Fri Nov 10 2006 Pierre Ossman <drzeus@drzeus.cx> 1.2-1
9d08c9
- Update to 1.2.
9d08c9
9d08c9
* Sat Sep  9 2006 Pierre Ossman <drzeus@drzeus.cx> 1.1-2
9d08c9
- Fix naming of package.
9d08c9
- General cleanup of spec file.
9d08c9
9d08c9
* Wed Aug 30 2006 Pierre Ossman <drzeus@drzeus.cx> 1.1-1
9d08c9
- Initial package for Fedora Extras.