openspecfun-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. %define pkg_name openspecfun
  2. %define pkg_version 0.5.3
  3. %define pkg_release 2%{?_dist_release}
  4. Summary: Library providing a collection of special mathematical functions
  5. Name: %{pkg_name}
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. License: MIT and Public Domain
  9. Group: System Environment/Libraries
  10. URL: https://github.com/JuliaLang/openspecfun
  11. Source0: https://github.com/JuliaLang/openspecfun/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
  12. BuildRequires: gcc-gfortran
  13. %description
  14. Currently provides AMOS and Faddeeva. AMOS (from Netlib) is a
  15. portable package for Bessel Functions of a Complex Argument and
  16. Nonnegative Order; it contains subroutines for computing Bessel
  17. functions and Airy functions. Faddeeva allows computing the
  18. various error functions of arbitrary complex arguments (Faddeeva
  19. function, error function, complementary error function, scaled
  20. complementary error function, imaginary error function, and Dawson function);
  21. given these, one can also easily compute Voigt functions, Fresnel integrals,
  22. and similar related functions as well.
  23. %package devel
  24. Summary: Library providing a collection of special mathematical functions
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. %description devel
  28. Contains header files for developing applications that use the %{name}
  29. library.
  30. %package static
  31. Summary: Library providing a collection of special mathematical functions
  32. Group: Development/Libraries
  33. Requires: %{name}-devel%{?_isa} = %{version}-%{release}
  34. %description static
  35. Static %{name} library.
  36. %prep
  37. %setup -q %{name}-%{version}
  38. %build
  39. %{__make} %{?_smp_mflags} includedir=%{_includedir} \
  40. FFLAGS="%{optflags}" CFLAGS="%{optflags}"
  41. %install
  42. %{makeinstall}
  43. %clean
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %post -p %{_syssbindir}/ldconfig
  46. %postun -p %{_syssbindir}/ldconfig
  47. %files
  48. %doc LICENSE.md README.md
  49. %{_libdir}/libopenspecfun.so.1*
  50. %files devel
  51. %{_libdir}/libopenspecfun.so
  52. %{_includedir}/Faddeeva.h
  53. %files static
  54. %{_libdir}/libopenspecfun.a
  55. %changelog
  56. * Fri Jan 25 2019 Toshiaki Ara <ara_t@384.jp> 0.5.3-2
  57. - rebuild with gfortran-8.2.0
  58. * Wed Jun 13 2018 Toshiaki Ara <ara_t@384.jp> 0.5.3-1
  59. - initial build for Vine Linux
  60. * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-7
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  62. * Sun Feb 4 2018 Milan Bouchet-Valat <nalimilan@club.fr> - 0.5.3-6
  63. - Rebuilt for libgfortran.so.4.
  64. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-5
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  66. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-4
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  68. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-3
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  70. * Tue Jan 31 2017 Milan Bouchet-Valat <nalimilan@club.fr> - 0.5.3-2
  71. - Rebuild for gfortran 7.
  72. * Wed Jul 27 2016 Milan Bouchet-Valat <nalimilan@club.fr> - 0.5.3-1
  73. - New upstream release.
  74. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-4
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  76. * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  78. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  80. * Sun Jul 27 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.4-1
  81. - New upstream release.
  82. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-2
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  84. * Thu May 1 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.3-1
  85. - New upstream release.
  86. - Use Group System Environment/Libraries for base package.
  87. * Fri Feb 14 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.2-2
  88. - Don't build static libraries package by default.
  89. * Sat Feb 8 2014 Milan Bouchet-Valat <nalimilan@club.fr> - 0.2-1
  90. - Initial version.