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