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
Version: 3.140
Release: 2%{?dist}
Version: 3.210
Release: 1%{?dist}
Summary: Library for manipulating FITS data files
Group: Development/Libraries
License: GPLv2+
URL: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3140.tar.gz
Patch: cfitsio.patch
Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3210.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-gfortran
@ -50,7 +49,6 @@ Stand-alone documentation for cfitsio.
%prep
%setup -q -n cfitsio
%patch -p1
%build
FC=f95
@ -63,9 +61,6 @@ unset FC
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
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
make testprog
@ -81,6 +76,7 @@ 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
@ -111,6 +107,9 @@ rm -rf %{buildroot}
%doc fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps
%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
- Bump to include proper tarball.

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

Loading…
Cancel
Save