update to 4.1.0 [release 4.1.0-1mamba;Tue Apr 26 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 03:59:10 +01:00
parent 32c8937265
commit a8c9cdb282

View File

@ -2,23 +2,23 @@
Name: libcfitsio
Epoch: 1
Version: 3.450
Version: 4.1.0
Release: 1mamba
Summary: A FITS File Subroutine Library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
Source: ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio%{pkgver}.tar.gz
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
Patch0: %{name}-3.340-sharedlibs.patch
Patch1: %{name}-3.270-pkgconfig.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: pkg-config
BuildRequires: libcurl-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
@ -32,24 +32,35 @@ 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.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%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
%prep
%setup -q -n cfitsio
%setup -q -n cfitsio-%{version}
#%patch0 -p1
%patch1 -p1
#%patch1 -p1
%build
export CC=%{_host}-gcc
%configure \
--enable-reentrant \
--includedir=%{_includedir}/cfitsio
%make shared
%make utils
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_includedir}/cfitsio
%makeinstall
%clean
@ -68,13 +79,18 @@ install -d %{buildroot}%{_includedir}/cfitsio
%dir %{_includedir}/cfitsio
%{_includedir}/cfitsio/*.h
%{_libdir}/libcfitsio.a
#%{_libdir}/*.la
%{_libdir}/libcfitsio.so
%{_libdir}/pkgconfig/cfitsio.pc
%doc README
#%doc fitsio.doc fitsio.ps cfitsio.doc cfitsio.ps
%files -n cfitsio
%defattr(-,root,root)
%{_bindir}/*
%changelog
* Tue Apr 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.0-1mamba
- update to 4.1.0
* Sun May 13 2018 Automatic Build System <autodist@mambasoft.it> 3.450-1mamba
- automatic version update by autodist