|
|
|
@ -1,16 +1,14 @@
|
|
|
|
|
Name: cfitsio
|
|
|
|
|
Version: 3.310
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 3.330
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Library for manipulating FITS data files
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://heasarc.gsfc.nasa.gov/fitsio/
|
|
|
|
|
Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3310.tar.gz
|
|
|
|
|
Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3330.tar.gz
|
|
|
|
|
Patch0: cfitsio.patch
|
|
|
|
|
# Unbundles zlib
|
|
|
|
|
Patch1: cfitsio-zlib.patch
|
|
|
|
|
# Removes the runtime check of the version of the library
|
|
|
|
|
Patch2: cfitsio-noversioncheck.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-gfortran zlib-devel
|
|
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
@ -77,7 +75,6 @@ compression algorithm.
|
|
|
|
|
%setup -q -n cfitsio
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
# Fixing cfitsio.pc.in
|
|
|
|
|
sed -e 's|includedir=@includedir@|includedir=@includedir@/cfitsio|' -i cfitsio.pc.in
|
|
|
|
|
sed -e 's|Libs: -L${libdir} -lcfitsio @LIBS@|Libs: -L${libdir} -lcfitsio|' -i cfitsio.pc.in
|
|
|
|
@ -145,6 +142,10 @@ cp -p f{,un}pack %{buildroot}%{_bindir}/
|
|
|
|
|
%{_bindir}/funpack
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Mar 10 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 3.330-1
|
|
|
|
|
- New upstream version
|
|
|
|
|
- Reverted the patch removing run time check
|
|
|
|
|
|
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.310-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|