Update to upstream release (new features, thread safe library, bugfixes).

epel9
Matthew D Truch 15 years ago
parent d1ca359a42
commit 0f95a40bac

@ -1 +1 @@
cfitsio3140.tar.gz cfitsio3210.tar.gz

@ -1,13 +1,12 @@
Name: cfitsio Name: cfitsio
Version: 3.140 Version: 3.210
Release: 2%{?dist} Release: 1%{?dist}
Summary: Library for manipulating FITS data files Summary: Library for manipulating FITS data files
Group: Development/Libraries Group: Development/Libraries
License: GPLv2+ 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/cfitsio3140.tar.gz Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3210.tar.gz
Patch: cfitsio.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-gfortran BuildRequires: gcc-gfortran
@ -50,7 +49,6 @@ Stand-alone documentation for cfitsio.
%prep %prep
%setup -q -n cfitsio %setup -q -n cfitsio
%patch -p1
%build %build
FC=f95 FC=f95
@ -63,9 +61,6 @@ unset FC
sed 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|' cfitsio.pc >cfitsio.pc.new sed 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|' cfitsio.pc >cfitsio.pc.new
sed 's|${prefix}/include|${prefix}/include/%{name}|' cfitsio.pc.new >cfitsio.pc sed 's|${prefix}/include|${prefix}/include/%{name}|' cfitsio.pc.new >cfitsio.pc
rm -f cfitsio.pc.new rm -f cfitsio.pc.new
# Manually correct pkgconfig .pc file version
sed 's|3.006|%{version}|' cfitsio.pc >cfitsio.pc.new
mv cfitsio.pc.new cfitsio.pc
%check %check
make testprog make testprog
@ -81,6 +76,7 @@ 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
@ -111,6 +107,9 @@ rm -rf %{buildroot}
%doc fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps %doc fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps
%changelog %changelog
* Tue Oct 20 2009 Matthew Truch <matt at truch.net> - 3.210-1
- Update to upstream 3.210 release.
* Fri Jul 24 2009 Matthew Truch <matt at truch.net> - 3.140-2 * Fri Jul 24 2009 Matthew Truch <matt at truch.net> - 3.140-2
- Bump to include proper tarball. - Bump to include proper tarball.

@ -1 +1 @@
7467fdacb807ebeef7fe088f2b69d9ee cfitsio3140.tar.gz 30f7e968983f6f46162f12368b68c42a cfitsio3210.tar.gz

Loading…
Cancel
Save