2024-01-06 03:59:09 +01:00
|
|
|
%define pkgver %(echo %version | tr -d .)
|
|
|
|
|
|
|
|
Name: libcfitsio
|
|
|
|
Epoch: 1
|
2024-03-26 13:20:08 +01:00
|
|
|
Version: 4.4.0
|
2024-01-06 03:59:09 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A FITS File Subroutine Library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 03:59:10 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
|
|
|
|
Source: https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-%{version}.tar.gz
|
2024-01-06 03:59:09 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 03:59:10 +01:00
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-06 03:59:09 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
CFITSIO is a library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format. CFITSIO provides simple high-level routines for reading and writing FITS files that insulate the programmer from the internal complexities of the FITS format.
|
|
|
|
CFITSIO also provides many advanced features for manipulating and filtering the information in FITS files.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
CFITSIO is a library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format. CFITSIO provides simple high-level routines for reading and writing FITS files that insulate the programmer from the internal complexities of the FITS format.
|
|
|
|
CFITSIO also provides many advanced features for manipulating and filtering the information in FITS files.
|
2024-01-06 03:59:10 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 03:59:09 +01:00
|
|
|
|
2024-01-06 03:59:10 +01:00
|
|
|
%package -n cfitsio
|
|
|
|
Group: System/Tools
|
|
|
|
Summary: Tools provided with %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n cfitsio
|
|
|
|
CFITSIO is a library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format. CFITSIO provides simple high-level routines for reading and writing FITS files that insulate the programmer from the internal complexities of the FITS format.
|
|
|
|
CFITSIO also provides many advanced features for manipulating and filtering the information in FITS files.
|
|
|
|
This package contains the tools provided with %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
2024-01-06 03:59:09 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-06 03:59:10 +01:00
|
|
|
%setup -q -n cfitsio-%{version}
|
2024-01-06 03:59:09 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2024-01-06 03:59:10 +01:00
|
|
|
--enable-reentrant \
|
2024-01-06 03:59:09 +01:00
|
|
|
--includedir=%{_includedir}/cfitsio
|
|
|
|
|
|
|
|
%make shared
|
2024-01-06 03:59:10 +01:00
|
|
|
%make utils
|
2024-01-06 03:59:09 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libcfitsio.so.*
|
2024-03-26 13:20:08 +01:00
|
|
|
%doc licenses/NASA_Open_Source_Agreement_1.3.txt
|
2024-01-06 03:59:09 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:59:09 +01:00
|
|
|
%dir %{_includedir}/cfitsio
|
2024-01-06 03:59:09 +01:00
|
|
|
%{_includedir}/cfitsio/*.h
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
%{_libdir}/libcfitsio.so
|
|
|
|
%{_libdir}/pkgconfig/cfitsio.pc
|
2024-01-06 03:59:10 +01:00
|
|
|
|
|
|
|
%files -n cfitsio
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/*
|
2024-01-06 03:59:09 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-03-26 13:20:08 +01:00
|
|
|
* Tue Mar 26 2024 Automatic Build System <autodist@openmamba.org> 4.4.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-02-12 16:38:58 +01:00
|
|
|
* Mon Feb 12 2024 Automatic Build System <autodist@openmamba.org> 4.3.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 03:59:12 +01:00
|
|
|
* Tue Nov 07 2023 Automatic Build System <autodist@mambasoft.it> 4.3.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 03:59:10 +01:00
|
|
|
* Mon Apr 03 2023 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 03:59:10 +01:00
|
|
|
* Tue Apr 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-1mamba
|
|
|
|
- update to 4.1.0
|
|
|
|
|
2024-01-06 03:59:09 +01:00
|
|
|
* Sun May 13 2018 Automatic Build System <autodist@mambasoft.it> 3.450-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Apr 14 2018 Automatic Build System <autodist@mambasoft.it> 3.440-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:59:09 +01:00
|
|
|
* Fri Mar 02 2018 Automatic Build System <autodist@mambasoft.it> 3.430-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:59:09 +01:00
|
|
|
* Thu Sep 21 2017 Automatic Build System <autodist@mambasoft.it> 3.420-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:59:09 +01:00
|
|
|
* Sat Dec 03 2016 Automatic Build System <autodist@mambasoft.it> 3.410-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:59:09 +01:00
|
|
|
* Wed Nov 23 2016 Automatic Build System <autodist@mambasoft.it> 3.400-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:59:09 +01:00
|
|
|
* Tue Jun 07 2016 Automatic Build System <autodist@mambasoft.it> 3.390-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:59:09 +01:00
|
|
|
* Sat Aug 23 2014 Automatic Build System <autodist@mambasoft.it> 3.370-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 23 2013 Automatic Build System <autodist@mambasoft.it> 3.360-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jul 09 2013 Automatic Build System <autodist@mambasoft.it> 3.350-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:59:09 +01:00
|
|
|
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 3.340-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Sep 10 2012 Automatic Build System <autodist@mambasoft.it> 3.310-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.270-2mamba
|
|
|
|
- removed runtime requirement for gcc-fortran
|
|
|
|
|
|
|
|
* Sat Mar 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.270-1mamba
|
|
|
|
- update to 3.270
|
|
|
|
|
|
|
|
* Fri Mar 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.26-1mamba
|
|
|
|
- update to 3.26
|
|
|
|
|
|
|
|
* Sat Oct 18 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.100-2mamba
|
|
|
|
- removed forgotten -D -T setup options
|
|
|
|
|
|
|
|
* Mon Oct 13 2008 gil <puntogil@libero.it> 3.100-1mamba
|
|
|
|
- update to 3.100
|
|
|
|
|
|
|
|
* Fri Nov 23 2007 Aleph0 <aleph0@openmamba.org> 3.060-1mamba
|
|
|
|
- package created by autospec
|