|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
Name: cfitsio
|
|
|
|
|
Version: 3.240
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 3.250
|
|
|
|
|
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/cfitsio3240.tar.gz
|
|
|
|
|
Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3250.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Patch0: cfitsio.patch
|
|
|
|
|
Patch1: cfitsio-pkgconfig.patch
|
|
|
|
@ -64,9 +64,8 @@ export CC=gcc # fixes -O*, -g
|
|
|
|
|
make shared %{?_smp_mflags}
|
|
|
|
|
unset FC
|
|
|
|
|
# Manually fix pkgconfig .pc file (BZ 436539)
|
|
|
|
|
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
|
|
|
|
|
sed 's|${prefix}/include|${prefix}/include/%{name}|' cfitsio.pc >cfitsio.pc.new
|
|
|
|
|
mv cfitsio.pc.new cfitsio.pc
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make testprog
|
|
|
|
@ -112,6 +111,9 @@ rm -rf %{buildroot}
|
|
|
|
|
%doc fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jul 4 2010 Matthew Truch <matt at truch.net> - 3.250-1
|
|
|
|
|
- Upstream 2.250 release.
|
|
|
|
|
|
|
|
|
|
* Wed Jun 30 2010 Karsten Hopp <karsten@redhat.com> 3.240-4
|
|
|
|
|
- add s390(x) as bigendian machines
|
|
|
|
|
|
|
|
|
|