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