libatomic_ops-vl.spec 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: libatomic_ops
  3. Summary: Atomic memory update operations
  4. Version: 7.8.2
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. # libatomic_ops MIT, libatomic_ops_gpl GPLv2
  8. License: GPLv2 and MIT
  9. URL: https://github.com/ivmai/libatomic_ops/
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. Source0: https://github.com/ivmai/libatomic_ops/releases/download/v%{version}/libatomic_ops-%{version}.tar.gz
  13. # updated GPLv2 license text
  14. %description
  15. Provides implementations for atomic memory update operations on a
  16. number of architectures. This allows direct use of these in reasonably
  17. portable code. Unlike earlier similar packages, this one explicitly
  18. considers memory barrier semantics, and allows the construction of code
  19. that involves minimum overhead across a variety of architectures.
  20. %package devel
  21. Summary: Development files for %{name}
  22. Group: programming
  23. Requires: %{name}%{?_isa} = %{version}-%{release}
  24. %description devel
  25. Files for developing with %{name}.
  26. %package static
  27. Summary: Static library files for %{name}
  28. Group: programming
  29. Requires: %{name}-devel%{?_isa} = %{version}-%{release}
  30. %description static
  31. Files for developing with %{name} and linking statically.
  32. %package -n compat32-%{name}
  33. Summary: Atomic memory update operations
  34. Group: system,legacy
  35. Requires: %{name} = %{version}-%{release}
  36. %description -n compat32-%{name}
  37. Provides implementations for atomic memory update operations on a
  38. number of architectures. This allows direct use of these in reasonably
  39. portable code. Unlike earlier similar packages, this one explicitly
  40. considers memory barrier semantics, and allows the construction of code
  41. that involves minimum overhead across a variety of architectures.
  42. %package -n compat32-%{name}-devel
  43. Summary: Development files for %{name}
  44. Group: programming,legacy
  45. Requires: compat32-%{name} = %{version}-%{release}
  46. Requires: %{name}-devel = %{version}-%{release}
  47. %description -n compat32-%{name}-devel
  48. Files for developing with %{name}.
  49. %debug_package
  50. %prep
  51. %autosetup -p1
  52. %build
  53. %configure \
  54. --enable-shared \
  55. --disable-silent-rules
  56. make %{?_smp_mflags}
  57. %install
  58. make install DESTDIR=%{buildroot}
  59. ## unpackaged files
  60. rm -fv %{buildroot}%{_libdir}/lib*.la
  61. # omit dup'd docs
  62. rm -fv %{buildroot}%{_datadir}/libatomic_ops/{COPYING,README*,*.txt}
  63. rm -rf %{buildroot}%{_docdir}/libatomic_ops
  64. %check
  65. export LD_LIBRARY_PATH=%{_builddir}/%{name}-%{version}/src/.libs/
  66. %make_build check
  67. %files
  68. %license COPYING LICENSE
  69. %doc AUTHORS ChangeLog README.md
  70. %{_libdir}/libatomic_ops.so.1*
  71. %{_libdir}/libatomic_ops_gpl.so.1*
  72. %files devel
  73. %doc README_*.txt
  74. %{_includedir}/atomic_ops.h
  75. %{_includedir}/atomic_ops_malloc.h
  76. %{_includedir}/atomic_ops_stack.h
  77. %{_includedir}/atomic_ops/
  78. %{_libdir}/libatomic_ops.so
  79. %{_libdir}/libatomic_ops_gpl.so
  80. %{_libdir}/pkgconfig/atomic_ops.pc
  81. %files static
  82. %{_libdir}/libatomic_ops.a
  83. %{_libdir}/libatomic_ops_gpl.a
  84. %if %{build_compat32}
  85. %files -n compat32-%{name}
  86. %defattr(-,root,root)
  87. %{_libdir}/libatomic_ops.so.1*
  88. %{_libdir}/libatomic_ops_gpl.so.1*
  89. %files -n compat32-%{name}-devel
  90. %defattr(-,root,root)
  91. %{_libdir}/libatomic_ops.so
  92. %{_libdir}/libatomic_ops_gpl.so
  93. %{_libdir}/pkgconfig/atomic_ops.pc
  94. %endif
  95. %changelog
  96. * Sat Jul 06 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.8.2-1
  97. - new upstream release.
  98. * Mon Apr 10 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.8.0-1
  99. - new upstream release.
  100. * Fri Nov 18 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.6.14-1
  101. - new upstream release.
  102. - dropped ldconfig scriptlets.
  103. * Tue Sep 10 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.6.10-1
  104. - new upstream release.
  105. - dropped all patches.
  106. * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.4.4-4
  107. - added compat32 packages.
  108. * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.4.4-3
  109. - fixed %%changelog.
  110. * Fri Jul 1 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.4.4-2
  111. - imported all stuff from rawhide.
  112. * Fri Jun 17 2016 Rex Dieter <rdieter@fedoraproject.org> - 7.4.4-1
  113. - libatomic_ops-7.4.4 (#1346524)
  114. * Mon Mar 28 2016 Rex Dieter <rdieter@fedoraproject.org> 7.4.2-9
  115. - make check fails on test_stack for ppc64le arch (#1096574), drop reference to 0032.patch
  116. * Mon Mar 28 2016 Rex Dieter <rdieter@fedoraproject.org> - 7.4.2-8
  117. - pull in upstream (7.4 branch) fixes
  118. - Add support for 64-bit MIPS (#1317509)
  119. - use %%license
  120. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.4.2-7
  121. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  122. * Tue Jul 7 2015 Peter Robinson <pbrobinson@fedoraproject.org> 7.4.2-6
  123. - Don't fail check on aarch64
  124. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.4.2-5
  125. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  126. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.4.2-4
  127. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  128. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.4.2-3
  129. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  130. * Tue May 13 2014 Rex Dieter <rdieter@fedoraproject.org> 7.4.2-2
  131. - link libatomic_ops_gpl against libatomic_ops for missing symbol(s)
  132. * Tue May 13 2014 Rex Dieter <rdieter@fedoraproject.org> 7.4.2-1
  133. - libatomic_opts-7.4.2
  134. - new upstream/source URLs
  135. - %%check: skip ppc64le too
  136. - License: MIT and GPLv2
  137. - update/longer %%description
  138. - updated GPLv2 license text (with correct address)
  139. * Wed Dec 04 2013 Rex Dieter <rdieter@fedoraproject.org> 7.4.0-1
  140. - separate libatomic_ops lives again!
  141. * Fri Jul 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.2-8.gc
  142. - use gc tarball, tag gc release
  143. * Thu Jul 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.2-7
  144. - devel: Provides: %%name-static ...
  145. - consolidate %%doc's
  146. - %%files: track libs
  147. * Wed May 20 2009 Dan Horak <dan[t]danny.cz> - 1.2-6
  148. - added fix for s390
  149. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
  150. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  151. * Thu May 22 2008 Jon Stanley <jonstanley@gmail.com> - 1.2-4
  152. - Fix license tag
  153. * Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2-1
  154. - initial build for Vine Linux
  155. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2-3
  156. - Autorebuild for GCC 4.3
  157. * Tue May 29 2007 Pierre Ossman <drzeus@drzeus.cx> 1.2-2
  158. - Added fix for PPC AO_load_acquire.
  159. * Fri Nov 10 2006 Pierre Ossman <drzeus@drzeus.cx> 1.2-1
  160. - Update to 1.2.
  161. * Sat Sep 9 2006 Pierre Ossman <drzeus@drzeus.cx> 1.1-2
  162. - Fix naming of package.
  163. - General cleanup of spec file.
  164. * Wed Aug 30 2006 Pierre Ossman <drzeus@drzeus.cx> 1.1-1
  165. - Initial package for Fedora Extras.