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