openlibm-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. %define pkg_name openlibm
  2. %define pkg_version 0.6.0
  3. %define pkg_release 1%{?_dist_release}
  4. Summary: High quality system independent, open source libm
  5. Name: %{pkg_name}
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. License: BSD and MIT and ISC and Public Domain
  9. Group: System Environment/Libraries
  10. URL: https://github.com/JuliaLang/openlibm/
  11. Source0: %{name}-%{version}.tar.gz
  12. %description
  13. OpenLIBM is an effort to have a high quality standalone LIBM library.
  14. It is meant to be used standalone in applications and programming language
  15. implementations. The OpenLIBM code derives from the FreeBSD msun implementation,
  16. which in turn derives from FDLIBM 5.3. As a result, it has a number of fixes
  17. and updates that have accumulated over the years in msun, and also optimized
  18. assembly versions of many functions.
  19. %package devel
  20. Summary: High quality system independent, open source libm
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. %description devel
  24. Contains header files for developing applications that use the %{name}
  25. library.
  26. %prep
  27. %{__rm} -rf ${RPM_BUILD_ROOT}
  28. %setup -q
  29. # File under the Apple Public Source License Version 1.1
  30. %{__rm} -f test/ieeetestnew.c
  31. # File under the Apple Public Source License Version 2.0
  32. %{__rm} -f i387/osx_asm.h
  33. %build
  34. %{__make} %{?_smp_mflags} FFLAGS="%{optflags}" CFLAGS="%{optflags}"
  35. %install
  36. %{makeinstall}
  37. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libopenlibm.a
  38. %check
  39. %{__make} test
  40. %clean
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. %post -p %{_syssbindir}/ldconfig
  43. %postun -p %{_syssbindir}/ldconfig
  44. %files
  45. %doc LICENSE.md README.md
  46. %{_libdir}/libopenlibm.so.2*
  47. %files devel
  48. %{_libdir}/libopenlibm.so
  49. %{_libdir}/pkgconfig/openlibm.pc
  50. %{_includedir}/openlibm/
  51. %changelog
  52. * Mon Aug 13 2018 Toshiaki Ara <ara_t@384.jp> 0.6.0-1
  53. - update to 0.6.0
  54. * Wed Jun 13 2018 Toshiaki Ara <ara_t@384.jp> 0.5.5-1
  55. - initial build for Vine Linux
  56. * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-6
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  58. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-5
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  60. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-4
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  62. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-3
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  64. * Tue Aug 23 2016 Dan Horák <dan[at]danny.cz> 0.5.3-2
  65. - set ExclusiveArch to arches where openlibm has been ported
  66. * Sat Aug 13 2016 Peter Robinson <pbrobinson@fedoraproject.org> 0.5.3-1
  67. - Update to 0.5.3 (aarch64 support)
  68. * Tue Mar 8 2016 Milan Bouchet-Valat <nalimilan@club.fr> - 0.5.0-1
  69. - New upstream release (bumping SONAME).
  70. - Remove ExclusiveArch since PPC is now supported (and passes the tests).
  71. - Enable tests on i686.
  72. - Remove custom code for computing ARCH, which is now correctly detected.
  73. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  75. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
  76. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  77. * Sun Feb 1 2015 Milan Bouchet-Valat <nalimilan@club.fr> - 0.4.1-1
  78. - New upstream release.
  79. - Run tests on architectures where they are supposed to work thanks to new fixes.
  80. * Sat Oct 25 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.4-3
  81. - Fix build on armv7hl
  82. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  84. * Sun Jul 27 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.4-1
  85. - New upstream release.
  86. - Fix path of two files to remove.
  87. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-7
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  89. * Sun May 4 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.3-6
  90. - Disable tests for now.
  91. * Thu May 1 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.3-5
  92. - Add tests.
  93. * Tue Apr 29 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.3-4
  94. - Add ISC to list of licenses.
  95. - Add bug reference about the failing tests.
  96. * Mon Apr 21 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.3-3
  97. - Use Group System Environment/Libraries for base package.
  98. * Sun Apr 20 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.3-2
  99. - Put libopenlibm.so.0 in base package instead of in -devel.
  100. * Sat Apr 19 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.3-1
  101. - Initial version.