automatic version update by autodist [release 4.6.3-1mamba;Wed Oct 15 2025]
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
Name: libcfitsio
|
||||
Epoch: 1
|
||||
Version: 4.4.0
|
||||
Version: 4.6.3
|
||||
Release: 1mamba
|
||||
Summary: A FITS File Subroutine Library
|
||||
Group: System/Libraries
|
||||
@@ -11,7 +11,7 @@ Distribution: openmamba
|
||||
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
|
||||
License: GPL
|
||||
License: Custom
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libcurl-devel
|
||||
@@ -42,47 +42,45 @@ CFITSIO is a library of C and Fortran subroutines for reading and writing data f
|
||||
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-%{version}
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-reentrant \
|
||||
--includedir=%{_includedir}/cfitsio
|
||||
%cmake \
|
||||
-DUSE_PTHREADS=ON \
|
||||
-DTESTS=OFF \
|
||||
-DUTILS=ON
|
||||
|
||||
%make shared
|
||||
%make utils
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
%cmake_install
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcfitsio.so.*
|
||||
%doc licenses/NASA_Open_Source_Agreement_1.3.txt
|
||||
%doc licenses/License.txt
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/cfitsio
|
||||
%{_includedir}/cfitsio/*.h
|
||||
%{_libdir}/libcfitsio.a
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/libcfitsio.so
|
||||
%{_libdir}/pkgconfig/cfitsio.pc
|
||||
%dir %{_libdir}/cmake/cfitsio
|
||||
%{_libdir}/cmake/cfitsio/cfitsio*.cmake
|
||||
|
||||
%files -n cfitsio
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 15 2025 Automatic Build System <autodist@openmamba.org> 4.6.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Mar 26 2024 Automatic Build System <autodist@openmamba.org> 4.4.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user