libatomic_ops-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # No debug information gets generated from a static lib, so
  2. # debuginfo will be empty.
  3. %define debug_package %{nil}
  4. Summary: Atomic memory update operations
  5. Name: libatomic_ops
  6. Version: 1.2
  7. Release: 1%{?_dist_release}
  8. Group: Development/Libraries
  9. License: GPL/MIT
  10. URL: http://www.hpl.hp.com/research/linux/atomic_ops/
  11. Source0: http://www.hpl.hp.com/research/linux/atomic_ops/download/%{name}-%{version}.tar.gz
  12. Patch1: libatomic_ops-1.2-ppclwzfix.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  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: Atomic memory update operations
  22. Group: Development/Libraries
  23. %description devel
  24. Provides implementations for atomic memory update operations on a
  25. number of architectures. This allows direct use of these in reasonably
  26. portable code. Unlike earlier similar packages, this one explicitly
  27. considers memory barrier semantics, and allows the construction of code
  28. that involves minimum overhead across a variety of architectures.
  29. %prep
  30. %setup -q
  31. %patch1 -p1
  32. chmod a-x src/*.h
  33. %build
  34. %configure
  35. make %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %files devel
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
  44. %{_includedir}/atomic_ops.h
  45. %{_includedir}/atomic_ops_malloc.h
  46. %{_includedir}/atomic_ops_stack.h
  47. %{_includedir}/atomic_ops
  48. %{_libdir}/%{name}*.a
  49. %{_datadir}/%{name}
  50. %changelog
  51. * Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2-1
  52. - initial build for Vine Linux
  53. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2-3
  54. - Autorebuild for GCC 4.3
  55. * Tue May 29 2007 Pierre Ossman <drzeus@drzeus.cx> 1.2-2
  56. - Added fix for PPC AO_load_acquire.
  57. * Fri Nov 10 2006 Pierre Ossman <drzeus@drzeus.cx> 1.2-1
  58. - Update to 1.2.
  59. * Sat Sep 9 2006 Pierre Ossman <drzeus@drzeus.cx> 1.1-2
  60. - Fix naming of package.
  61. - General cleanup of spec file.
  62. * Wed Aug 30 2006 Pierre Ossman <drzeus@drzeus.cx> 1.1-1
  63. - Initial package for Fedora Extras.