|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: cfitsio
|
|
|
|
|
Version: 3.130
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Library for manipulating FITS data files
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -55,6 +55,9 @@ 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
|
|
|
|
@ -95,6 +98,9 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Mar 10 2009 Matthew Truch <matt at truch.net> - 3.130-4
|
|
|
|
|
- Set correct version in pkgconfig .pc file.
|
|
|
|
|
|
|
|
|
|
* Sun Feb 22 2009 Matthew Truch <matt at truch.net> - 3.130-3
|
|
|
|
|
- Re-check testprogram output.
|
|
|
|
|
- Build for koji, rpm, gcc upgrade.
|
|
|
|
|