|
|
@ -1,11 +1,11 @@
|
|
|
|
Name: cfitsio
|
|
|
|
Name: cfitsio
|
|
|
|
Version: 3.350
|
|
|
|
Version: 3.360
|
|
|
|
Release: 2%{?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: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: http://heasarc.gsfc.nasa.gov/fitsio/
|
|
|
|
URL: http://heasarc.gsfc.nasa.gov/fitsio/
|
|
|
|
Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3350.tar.gz
|
|
|
|
Source0: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3360.tar.gz
|
|
|
|
# Unbundles zlib
|
|
|
|
# Unbundles zlib
|
|
|
|
Patch0: cfitsio-zlib.patch
|
|
|
|
Patch0: cfitsio-zlib.patch
|
|
|
|
# Remove soname version check
|
|
|
|
# Remove soname version check
|
|
|
@ -81,18 +81,18 @@ compression algorithm.
|
|
|
|
%patch2 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
|
|
|
|
|
|
|
|
# remove bundled zlib
|
|
|
|
# remove bundled zlib
|
|
|
|
|
|
|
|
# not all the files inside zlib belong to zlib
|
|
|
|
|
|
|
|
pushd zlib
|
|
|
|
rm adler32.c crc32.c deflate.c infback.c inffast.c inflate.c inflate.h \
|
|
|
|
rm adler32.c crc32.c deflate.c infback.c inffast.c inflate.c inflate.h \
|
|
|
|
inftrees.c inftrees.h zlib.h deflate.h trees.c trees.h uncompr.c zconf.h \
|
|
|
|
inftrees.c inftrees.h zlib.h deflate.h trees.c trees.h uncompr.c zconf.h \
|
|
|
|
zutil.c zutil.h
|
|
|
|
zutil.c zutil.h crc32.h inffast.h inffixed.h
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
export FC=f95
|
|
|
|
|
|
|
|
export CC=gcc # fixes -O*, -g
|
|
|
|
|
|
|
|
%configure --enable-reentrant
|
|
|
|
%configure --enable-reentrant
|
|
|
|
make shared %{?_smp_mflags}
|
|
|
|
make shared %{?_smp_mflags}
|
|
|
|
make fpack %{?_smp_mflags}
|
|
|
|
make fpack %{?_smp_mflags}
|
|
|
|
make funpack %{?_smp_mflags}
|
|
|
|
make funpack %{?_smp_mflags}
|
|
|
|
unset FC
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make testprog
|
|
|
|
make testprog
|
|
|
@ -108,18 +108,18 @@ make LIBDIR=%{_libdir} INCLUDEDIR=%{_includedir}/%{name} \
|
|
|
|
CFITSIO_LIB=%{buildroot}%{_libdir} \
|
|
|
|
CFITSIO_LIB=%{buildroot}%{_libdir} \
|
|
|
|
CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} \
|
|
|
|
CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} \
|
|
|
|
install
|
|
|
|
install
|
|
|
|
# make is not installing properly the shared libs
|
|
|
|
|
|
|
|
cp -d libcfitsio.so.* %{buildroot}%{_libdir}
|
|
|
|
|
|
|
|
chmod 755 %{buildroot}%{_libdir}/libcfitsio.so.*
|
|
|
|
|
|
|
|
cp -p f{,un}pack %{buildroot}%{_bindir}
|
|
|
|
cp -p f{,un}pack %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chmod 755 %{buildroot}%{_libdir}/libcfitsio.so.*
|
|
|
|
chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|
|
|
chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc README License.txt changes.txt
|
|
|
|
%doc README License.txt docs/changes.txt
|
|
|
|
%{_libdir}/libcfitsio.so.*
|
|
|
|
%{_libdir}/libcfitsio.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
@ -132,14 +132,17 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
|
|
|
|
|
|
|
|
%files docs
|
|
|
|
%files docs
|
|
|
|
%doc fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps License.txt
|
|
|
|
%doc docs/fitsio.doc docs/fitsio.pdf docs/cfitsio.doc docs/cfitsio.pdf License.txt
|
|
|
|
|
|
|
|
|
|
|
|
%files -n fpack
|
|
|
|
%files -n fpack
|
|
|
|
%doc fpackguide.pdf License.txt
|
|
|
|
%doc docs/fpackguide.pdf License.txt
|
|
|
|
%{_bindir}/fpack
|
|
|
|
%{_bindir}/fpack
|
|
|
|
%{_bindir}/funpack
|
|
|
|
%{_bindir}/funpack
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Dec 09 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 3.360-1
|
|
|
|
|
|
|
|
- New upstream (3.360)
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.350-2
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.350-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|