automatic update by autodist [release 4.4.0-1mamba;Tue Mar 26 2024]
This commit is contained in:
parent
0d8f9e09bd
commit
737eed2a91
@ -1,9 +0,0 @@
|
||||
diff -Nru cfitsio.patch//cfitsio.pc.in cfitsio/cfitsio.pc.in
|
||||
--- cfitsio.patch//cfitsio.pc.in 2011-03-02 22:56:18.000000000 +0100
|
||||
+++ cfitsio/cfitsio.pc.in 2011-03-26 15:47:46.818755096 +0100
|
||||
@@ -8,4 +8,4 @@
|
||||
Version: 3.27
|
||||
Libs: -L${libdir} -lcfitsio @LIBS@
|
||||
Libs.private: -lm
|
||||
-Cflags: -I${includedir}
|
||||
+Cflags: -I${includedir}/cfitsio
|
@ -1,22 +0,0 @@
|
||||
diff -Nru cfitsio.orig/configure cfitsio/configure
|
||||
--- cfitsio.orig/configure 2013-03-20 21:02:48.000000000 +0100
|
||||
+++ cfitsio/configure 2013-04-15 16:02:10.868839677 +0200
|
||||
@@ -3932,7 +3932,8 @@
|
||||
SHLIB_SUFFIX=".sl"
|
||||
;;
|
||||
lnx)
|
||||
- SHLIB_LD=":"
|
||||
+ SHLIB_LD="cc -shared -Wl,-soname,libcfitsio.so.0"
|
||||
+ SHLIB_SUFFIX=".so.0"
|
||||
;;
|
||||
osf)
|
||||
SHLIB_LD="ld -shared -expect_unresolved '*'"
|
||||
@@ -3953,7 +3954,7 @@
|
||||
# Darwin uses gcc (=cc), but needs different flags (see above)
|
||||
if test "x$EXT" != xdarwin && test "x$EXT" != xcygwin && test "x$EXT" != xmingw32; then
|
||||
if test "x$GCC" = xyes; then
|
||||
- SHLIB_LD="$CC -shared"
|
||||
+ SHLIB_LD="$CC -shared -Wl,-soname,libcfitsio.so.0"
|
||||
lhea_shlib_cflags='-fPIC'
|
||||
fi
|
||||
fi
|
@ -2,7 +2,7 @@
|
||||
|
||||
Name: libcfitsio
|
||||
Epoch: 1
|
||||
Version: 4.3.1
|
||||
Version: 4.4.0
|
||||
Release: 1mamba
|
||||
Summary: A FITS File Subroutine Library
|
||||
Group: System/Libraries
|
||||
@ -11,8 +11,6 @@ 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
|
||||
Patch0: %{name}-3.340-sharedlibs.patch
|
||||
Patch1: %{name}-3.270-pkgconfig.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -48,8 +46,6 @@ This package contains the tools provided with %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n cfitsio-%{version}
|
||||
#%patch0 -p1
|
||||
#%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -72,7 +68,7 @@ This package contains the tools provided with %{name}.
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcfitsio.so.*
|
||||
%doc License.txt
|
||||
%doc licenses/NASA_Open_Source_Agreement_1.3.txt
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
@ -81,13 +77,15 @@ This package contains the tools provided with %{name}.
|
||||
%{_libdir}/libcfitsio.a
|
||||
%{_libdir}/libcfitsio.so
|
||||
%{_libdir}/pkgconfig/cfitsio.pc
|
||||
%doc README
|
||||
|
||||
%files -n cfitsio
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
|
||||
%changelog
|
||||
* Tue Mar 26 2024 Automatic Build System <autodist@openmamba.org> 4.4.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Feb 12 2024 Automatic Build System <autodist@openmamba.org> 4.3.1-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user