|
|
@ -1,12 +1,12 @@
|
|
|
|
Name: cfitsio
|
|
|
|
Name: cfitsio
|
|
|
|
Version: 3.020
|
|
|
|
Version: 3.020
|
|
|
|
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
|
|
|
|
License: GPL
|
|
|
|
License: GPL
|
|
|
|
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/cfitsio3006.tar.gz
|
|
|
|
Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3020.tar.gz
|
|
|
|
Patch: cfitsio.patch
|
|
|
|
Patch: cfitsio.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
@ -46,7 +46,10 @@ unset FC
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
mkdir -p %{buildroot}
|
|
|
|
mkdir -p %{buildroot}
|
|
|
|
make LIBDIR=%{_lib} INCLUDEDIR=include/%{name} CFITSIO_PREFIX=%{buildroot}%{_prefix} install
|
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_includedir}/%{name}
|
|
|
|
|
|
|
|
make LIBDIR=%{_lib} INCLUDEDIR=include/%{name} CFITSIO_LIB=%{buildroot}%{_libdir} \
|
|
|
|
|
|
|
|
CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} install
|
|
|
|
pushd %{buildroot}%{_libdir}
|
|
|
|
pushd %{buildroot}%{_libdir}
|
|
|
|
ln -s libcfitsio.so.0 libcfitsio.so
|
|
|
|
ln -s libcfitsio.so.0 libcfitsio.so
|
|
|
|
popd
|
|
|
|
popd
|
|
|
@ -68,8 +71,13 @@ rm -rf %{buildroot}
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
%{_libdir}/libcfitsio.so
|
|
|
|
%{_libdir}/libcfitsio.so
|
|
|
|
|
|
|
|
%{_libdir}/pkgconfig/cfitsio.pc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Dec 8 2006 Matthew Truch <matt at truch.net> - 3.020-2
|
|
|
|
|
|
|
|
- Modify spec file to install to correct directories.
|
|
|
|
|
|
|
|
- Package cfitsio.pc file in -devel package.
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 6 2006 Matthew Truch <matt at truch.net> - 3.020-1
|
|
|
|
* Wed Dec 6 2006 Matthew Truch <matt at truch.net> - 3.020-1
|
|
|
|
- Upgrade to revision 3.020 of cfitsio.
|
|
|
|
- Upgrade to revision 3.020 of cfitsio.
|
|
|
|
|
|
|
|
|
|
|
|