Name: libatomic_ops Summary: Atomic memory update operations Version: 7.6.14 Release: 2%{?dist} # libatomic_ops MIT, libatomic_ops_gpl GPLv2 License: GPLv2 and MIT URL: https://github.com/ivmai/libatomic_ops/ Source0: https://github.com/ivmai/libatomic_ops/releases/download/v%{version}/libatomic_ops-%{version}.tar.gz BuildRequires: gcc BuildRequires: make # runtime compatibility with other distros Provides: libatomic1 = %{version}-%{release} Provides: libatomic1%{?_isa} = %{version}-%{release} %description Provides implementations for atomic memory update operations on a number of architectures. This allows direct use of these in reasonably portable code. Unlike earlier similar packages, this one explicitly considers memory barrier semantics, and allows the construction of code that involves minimum overhead across a variety of architectures. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Files for developing with %{name}. %package static Summary: Static library files for %{name} Requires: %{name}-devel%{?_isa} = %{version}-%{release} %description static Files for developing with %{name} and linking statically. %prep %autosetup -p1 %build %configure \ --enable-shared \ --disable-silent-rules # kill rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %make_build %install %make_install ## unpackaged files rm -fv %{buildroot}%{_libdir}/lib*.la # omit dup'd docs rm -fv %{buildroot}%{_docdir}/libatomic_ops/{COPYING,README*,*.txt} %check export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/src/.libs/ %make_build check %files %license COPYING %license doc/LICENSING.txt %doc AUTHORS ChangeLog README.md %{_libdir}/libatomic_ops.so.1* %{_libdir}/libatomic_ops_gpl.so.1* %files devel %doc doc/README* %{_includedir}/atomic_ops.h %{_includedir}/atomic_ops_malloc.h %{_includedir}/atomic_ops_stack.h %{_includedir}/atomic_ops/ %{_libdir}/libatomic_ops.so %{_libdir}/libatomic_ops_gpl.so %{_libdir}/pkgconfig/atomic_ops.pc %files static %{_libdir}/libatomic_ops.a %{_libdir}/libatomic_ops_gpl.a %changelog * Thu Jan 19 2023 Fedora Release Engineering - 7.6.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Aug 26 2022 Fedora Release Monitoring - 7.6.14-1 - Update to 7.6.14 (#2121730) * Thu Jul 21 2022 Fedora Release Engineering - 7.6.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 7.6.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 13 2021 Fedora Release Monitoring - 7.6.12-1 - Update to 7.6.12 (#2003843) * Thu Jul 22 2021 Fedora Release Engineering - 7.6.10-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Feb 23 2021 Rex Dieter - 7.6.10-7 - Provides: libatomic1 * Tue Jan 26 2021 Fedora Release Engineering - 7.6.10-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 7.6.10-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Feb 17 2020 Than Ngo - 7.6.10-4 - Fixed error while loading shared libraries in tests * Wed Jan 29 2020 Fedora Release Engineering - 7.6.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 7.6.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Mar 03 2019 Dan HorĂ¡k - 7.6.10-1 - libatomic_ops-7.6.10 is available (#1684640) * Fri Feb 01 2019 Fedora Release Engineering - 7.6.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Aug 07 2018 Rex Dieter - 7.6.6-1 - libatomic_ops-7.6.6 is available (#1613338) * Tue Jul 24 2018 Pavel Raiskup - 7.6.4-3 - cleanup: don't replace upstream-provided license file - cleanup: drop %%ldconfig_scriptlets - cleanup: drop some old comments, patches - cleanup: use %%make_* - drop RPATH also from libatomic_ops_gpl, explicitly require gcc * Fri Jul 13 2018 Fedora Release Engineering - 7.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 27 2018 Rex Dieter - 7.6.4-1 - 7.6.4 (#1560992) - omit non-upstream ppc64le patch (for now) - move autoreconf to %%build * Wed Feb 07 2018 Fedora Release Engineering - 7.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Feb 03 2018 Igor Gnatenko - 7.6.2-2 - Switch to %%ldconfig_scriptlets * Fri Dec 29 2017 Rex Dieter - 7.6.2-1 - libatomic_ops-7.6.2 (#1528830) * Thu Aug 03 2017 Fedora Release Engineering - 7.4.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 7.4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed May 31 2017 Rex Dieter - 7.4.6-1 - libatomic_ops-7.4.6 * Fri Feb 10 2017 Fedora Release Engineering - 7.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jun 17 2016 Rex Dieter - 7.4.4-1 - libatomic_ops-7.4.4 (#1346524) * Mon Mar 28 2016 Rex Dieter 7.4.2-9 - make check fails on test_stack for ppc64le arch (#1096574), drop reference to 0032.patch * Mon Mar 28 2016 Rex Dieter - 7.4.2-8 - pull in upstream (7.4 branch) fixes - Add support for 64-bit MIPS (#1317509) - use %%license * Thu Feb 04 2016 Fedora Release Engineering - 7.4.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jul 7 2015 Peter Robinson 7.4.2-6 - Don't fail check on aarch64 * Wed Jun 17 2015 Fedora Release Engineering - 7.4.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 7.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 7.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue May 13 2014 Rex Dieter 7.4.2-2 - link libatomic_ops_gpl against libatomic_ops for missing symbol(s) * Tue May 13 2014 Rex Dieter 7.4.2-1 - libatomic_opts-7.4.2 - new upstream/source URLs - %%check: skip ppc64le too - License: MIT and GPLv2 - update/longer %%description - updated GPLv2 license text (with correct address) * Wed Dec 04 2013 Rex Dieter 7.4.0-1 - separate libatomic_ops lives again! * Fri Jul 24 2009 Rex Dieter - 1.2-8.gc - use gc tarball, tag gc release * Thu Jul 23 2009 Rex Dieter - 1.2-7 - devel: Provides: %%name-static ... - consolidate %%doc's - %%files: track libs * Wed May 20 2009 Dan Horak - 1.2-6 - added fix for s390 * Wed Feb 25 2009 Fedora Release Engineering - 1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu May 22 2008 Jon Stanley - 1.2-4 - Fix license tag * Mon Feb 18 2008 Fedora Release Engineering - 1.2-3 - Autorebuild for GCC 4.3 * Tue May 29 2007 Pierre Ossman 1.2-2 - Added fix for PPC AO_load_acquire. * Fri Nov 10 2006 Pierre Ossman 1.2-1 - Update to 1.2. * Sat Sep 9 2006 Pierre Ossman 1.1-2 - Fix naming of package. - General cleanup of spec file. * Wed Aug 30 2006 Pierre Ossman 1.1-1 - Initial package for Fedora Extras.