|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: cfitsio
|
|
|
|
|
Version: 3.210
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Library for manipulating FITS data files
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -8,6 +8,7 @@ License: GPLv2+
|
|
|
|
|
URL: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
|
|
|
|
|
Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3210.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Patch0: cfitsio.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-gfortran
|
|
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
@ -49,6 +50,7 @@ Stand-alone documentation for cfitsio.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n cfitsio
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
FC=f95
|
|
|
|
@ -76,7 +78,6 @@ mkdir -p %{buildroot}%{_includedir}/%{name}
|
|
|
|
|
make LIBDIR=%{_lib} INCLUDEDIR=include/%{name} CFITSIO_LIB=%{buildroot}%{_libdir} \
|
|
|
|
|
CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} install
|
|
|
|
|
pushd %{buildroot}%{_libdir}
|
|
|
|
|
mv libcfitsio.so libcfitsio.so.0
|
|
|
|
|
ln -s libcfitsio.so.0 libcfitsio.so
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
@ -107,6 +108,9 @@ rm -rf %{buildroot}
|
|
|
|
|
%doc fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Nov 2 2009 Matthew Truch <matt at truch.net> - 3.210-2
|
|
|
|
|
- Re-introduce library soname patch (accidentally removed it).
|
|
|
|
|
|
|
|
|
|
* Tue Oct 20 2009 Matthew Truch <matt at truch.net> - 3.210-1
|
|
|
|
|
- Update to upstream 3.210 release.
|
|
|
|
|
|
|
|
|
|