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