|
Sergio Pascual |
a35e9e9 |
Name: erfa
|
|
Sergio Pascual |
24c03b8 |
Version: 1.3.0
|
|
|
60a6bd9 |
Release: 2%{?dist}
|
|
Sergio Pascual |
a35e9e9 |
Summary: Essential Routines for Fundamental Astronomy
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
License: BSD
|
|
Sergio Pascual |
a35e9e9 |
URL: https://github.com/liberfa/erfa
|
|
Sergio Pascual |
a35e9e9 |
Source0: https://github.com/liberfa/erfa/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
%description
|
|
Sergio Pascual |
a35e9e9 |
ERFA is a C library containing key algorithms for astronomy, and is
|
|
Sergio Pascual |
a35e9e9 |
based on the SOFA library published by the International Astronomical
|
|
Sergio Pascual |
a35e9e9 |
Union (IAU).
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
%package devel
|
|
Sergio Pascual |
a35e9e9 |
Summary: Development files for %{name}
|
|
Sergio Pascual |
a35e9e9 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
%description devel
|
|
Sergio Pascual |
a35e9e9 |
The %{name}-devel package contains libraries and header files for
|
|
Sergio Pascual |
a35e9e9 |
developing applications that use %{name}.
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
%prep
|
|
Sergio Pascual |
a35e9e9 |
%setup -q
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
%build
|
|
Sergio Pascual |
24c03b8 |
# Modify cflags due to https://github.com/liberfa/erfa/issues/33
|
|
Sergio Pascual |
24c03b8 |
# gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77365
|
|
Sergio Pascual |
24c03b8 |
# Following Debian solution
|
|
Sergio Pascual |
24c03b8 |
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835105
|
|
Sergio Pascual |
24c03b8 |
export CFLAGS="%{optflags} -fno-caller-saves"
|
|
Sergio Pascual |
24c03b8 |
|
|
Sergio Pascual |
a35e9e9 |
%configure --disable-static
|
|
Sergio Pascual |
a35e9e9 |
make %{?_smp_mflags}
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
%install
|
|
Sergio Pascual |
a35e9e9 |
make install DESTDIR=%{buildroot}
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
24c03b8 |
%check
|
|
Sergio Pascual |
24c03b8 |
make check
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
%post -p /sbin/ldconfig
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
%postun -p /sbin/ldconfig
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
%files
|
|
Sergio Pascual |
a98eed9 |
%doc README.rst INFO
|
|
Sergio Pascual |
a98eed9 |
%license LICENSE
|
|
Sergio Pascual |
a35e9e9 |
%{_libdir}/liberfa.so.*
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
%files devel
|
|
Sergio Pascual |
a35e9e9 |
%{_libdir}/liberfa.so
|
|
Sergio Pascual |
a35e9e9 |
%{_includedir}/erfa*.h
|
|
Sergio Pascual |
a35e9e9 |
%{_libdir}/pkgconfig/erfa.pc
|
|
Sergio Pascual |
a35e9e9 |
%exclude %{_libdir}/*.la
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
%changelog
|
|
|
60a6bd9 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
60a6bd9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
60a6bd9 |
|
|
Sergio Pascual |
24c03b8 |
* Sun Oct 02 2016 Sergio Pascual <sergiopr at fedoraproject.org> - 1.3.0-1
|
|
Sergio Pascual |
24c03b8 |
- New upstream version (1.3.0)
|
|
Sergio Pascual |
24c03b8 |
- Add fno-caller-saves to cflags (https://github.com/liberfa/erfa/issues/33)
|
|
Sergio Pascual |
24c03b8 |
|
|
Sergio Pascual |
3268bf1 |
* Fri Mar 18 2016 Sergio Pascual <sergiopr at fedoraproject.org> - 1.2.0-5
|
|
Sergio Pascual |
3268bf1 |
- EVR bump to rebuild, disable checks for the moment
|
|
Sergio Pascual |
3268bf1 |
|
|
Sergio Pascual |
1594cba |
* Sun Feb 28 2016 Sergio Pascual <sergiopr at fedoraproject.org> - 1.2.0-4
|
|
Sergio Pascual |
1594cba |
- EVR bump to rebuild
|
|
Sergio Pascual |
1594cba |
|
|
|
5d38d59 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
|
|
5d38d59 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5d38d59 |
|
|
|
c7c4a26 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
|
c7c4a26 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c7c4a26 |
|
|
Sergio Pascual |
a02c0a8 |
* Fri May 29 2015 Sergio Pascual <sergiopr at fedoraproject.org> - 1.2.0-1
|
|
Sergio Pascual |
a02c0a8 |
- New upstream version (1.2.0) (includes 2015-Jun-30 leap second)
|
|
Sergio Pascual |
a02c0a8 |
|
|
Sergio Pascual |
a98eed9 |
* Wed Sep 24 2014 Sergio Pascual <sergiopr at fedoraproject.org> - 1.1.1-1
|
|
Sergio Pascual |
1594cba |
- New upstream version (1.1.1)
|
|
Sergio Pascual |
a98eed9 |
- Using license macro
|
|
Sergio Pascual |
a98eed9 |
|
|
|
6742eba |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
6742eba |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
6742eba |
|
|
|
0650ee8 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
|
|
|
0650ee8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
0650ee8 |
|
|
Sergio Pascual |
1e33acc |
* Fri May 16 2014 Sergio Pascual <sergiopr at fedoraproject.org> - 1.1.0-1
|
|
Sergio Pascual |
1e33acc |
- New usptream version (1.1.0)
|
|
Sergio Pascual |
1e33acc |
|
|
Sergio Pascual |
16542c4 |
* Wed Nov 13 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 1.0.1-1
|
|
Sergio Pascual |
16542c4 |
- New usptream version (1.0.1)
|
|
Sergio Pascual |
16542c4 |
|
|
Sergio Pascual |
6ed6f3d |
* Sat Oct 26 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 1.0.0-1
|
|
Sergio Pascual |
6ed6f3d |
- New usptream version (1.0.0)
|
|
Sergio Pascual |
6ed6f3d |
|
|
Sergio Pascual |
a35e9e9 |
* Mon Sep 09 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 0.0.1-3
|
|
Sergio Pascual |
a35e9e9 |
- Updated -devel summary
|
|
Sergio Pascual |
a35e9e9 |
- Removed explicit dependency on pkgconfig
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
* Mon Sep 09 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 0.0.1-2
|
|
Sergio Pascual |
a35e9e9 |
- Updated -devel description
|
|
Sergio Pascual |
a35e9e9 |
|
|
Sergio Pascual |
a35e9e9 |
* Sun Sep 08 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 0.0.1-1
|
|
Sergio Pascual |
a35e9e9 |
- Initial spec
|
|
Sergio Pascual |
a35e9e9 |
|