|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: cfitsio
|
|
|
|
Name: cfitsio
|
|
|
|
Version: 3.100
|
|
|
|
Version: 3.100
|
|
|
|
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
|
|
|
@ -56,6 +56,12 @@ 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
make testprog
|
|
|
|
|
|
|
|
LD_LIBRARY_PATH=. ./testprog > testprog.lis
|
|
|
|
|
|
|
|
#cmp -s testprog.lis testprog.out #testprog.out is accidentally missing from 3.100 tarball.
|
|
|
|
|
|
|
|
cmp -s testprog.fit testprog.std
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}
|
|
|
|
mkdir -p %{buildroot}
|
|
|
@ -89,6 +95,9 @@ rm -rf %{buildroot}
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Sep 20 2008 Matthew Truch <matt at truch.net> - 3.100-2
|
|
|
|
|
|
|
|
- Test library with included test-suite.
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 19 2008 Matthew Truch <matt at truch.net> - 3.100-1
|
|
|
|
* Fri Sep 19 2008 Matthew Truch <matt at truch.net> - 3.100-1
|
|
|
|
- Update to 3.100 upstream.
|
|
|
|
- Update to 3.100 upstream.
|
|
|
|
Includes bugfixes and new compression scheme.
|
|
|
|
Includes bugfixes and new compression scheme.
|
|
|
|