Sergio Pascual a35e9e9
Name: erfa
Sergio Pascual 16542c4
Version: 1.0.1
Sergio Pascual 6ed6f3d
Release: 1%{?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 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 a35e9e9
%check
Sergio Pascual a35e9e9
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 a35e9e9
%doc LICENSE README.rst INFO
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
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