Compare commits

..

No commits in common. 'epel9' and 'i10ce' have entirely different histories.
epel9 ... i10ce

@ -0,0 +1 @@
c308310db7541b5c43e5a3d06f1255344b505a2c SOURCES/cfitsio-4.4.0.tar.gz

19
.gitignore vendored

@ -1,18 +1 @@
cfitsio3250.tar.gz
/cfitsio3270.tar.gz
/cfitsio3280.tar.gz
/cfitsio3290.tar.gz
/beta_cfitsio3300.tar.gz
/cfitsio3310.tar.gz
/cfitsio3330.tar.gz
/cfitsio3340.tar.gz
/cfitsio3350.tar.gz
/cfitsio3360.tar.gz
/cfitsio3370.tar.gz
/cfitsio3420.tar.gz
/cfitsio3430.tar.gz
/cfitsio3450.tar.gz
/cfitsio-3.47.tar.gz
/cfitsio-3.49.tar.gz
/cfitsio-4.0.0.tar.gz
/cfitsio-4.1.0.tar.gz
SOURCES/cfitsio-4.4.0.tar.gz

@ -0,0 +1,12 @@
diff -Naur cfitsio-4.2.0/configure cfitsio-4.2.0.ldflags/configure
--- cfitsio-4.2.0/configure 2022-10-31 19:40:23.000000000 +0100
+++ cfitsio-4.2.0.ldflags/configure 2022-11-25 10:05:55.387220762 +0100
@@ -4670,7 +4670,7 @@
#-------------------------------------------------------------------------------
-LDFLAGS="$CFLAGS"
+# LDFLAGS="$CFLAGS"
LDFLAGS_BIN="$LDFLAGS"
if test "x$FC" = "xnone" ; then

@ -1,7 +1,7 @@
diff -up cfitsio-4.1.0/configure.rpath cfitsio-4.1.0/configure
--- cfitsio-4.1.0/configure.rpath 2022-08-23 21:21:35.166112312 -0600
+++ cfitsio-4.1.0/configure 2022-08-23 21:35:59.586014956 -0600
@@ -5036,7 +5036,7 @@ case $host in
diff -ur cfitsio-4.2.0/configure cfitsio-4.2.0.rpath/configure
--- cfitsio-4.2.0/configure 2022-11-25 10:08:23.942637069 +0100
+++ cfitsio-4.2.0.rpath/configure 2022-11-25 10:10:13.213414398 +0100
@@ -5062,7 +5062,7 @@
printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
# LDFLAGS used by utilities:

@ -1,9 +1,19 @@
## START: Set by rpmautospec
## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 2;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
Name: cfitsio
Version: 4.1.0
Release: 1%{?dist}
Version: 4.4.0
Release: %autorelease
Summary: Library for manipulating FITS data files
License: MIT
License: CFITSIO
URL: http://heasarc.gsfc.nasa.gov/fitsio/
Source0: http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-%{version}.tar.gz
# Remove soname version check
@ -75,11 +85,7 @@ compression algorithm.
amount of compression
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1 -b .ldflags
%patch4 -p1 -b .rpath
%autosetup -p1
%build
%configure --enable-reentrant -with-bzip2
@ -93,13 +99,9 @@ cmp -s testprog.lis testprog.out
cmp -s testprog.fit testprog.std
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_includedir}/%{name}
make LIBDIR=%{_libdir} INCLUDEDIR=%{_includedir}/%{name} \
%make_install LIBDIR=%{_libdir} INCLUDEDIR=%{_includedir}/%{name} \
CFITSIO_LIB=%{buildroot}%{_libdir} \
CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} \
install
CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name}
cp -p f{,un}pack %{buildroot}%{_bindir}
chmod 755 %{buildroot}%{_libdir}/libcfitsio.so.*
@ -109,28 +111,48 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
%ldconfig_scriptlets
%files
%doc README License.txt docs/changes.txt
%{_libdir}/libcfitsio.so.9*
%doc README.md docs/changes.txt
%license licenses/NASA_Open_Source_Agreement_1.3.txt
%{_libdir}/libcfitsio.so.10*
%files devel
%doc cookbook.*
%doc utilities/cookbook.*
%{_includedir}/%{name}
%{_libdir}/libcfitsio.so
%{_libdir}/pkgconfig/cfitsio.pc
%files static
%doc License.txt
%license licenses/NASA_Open_Source_Agreement_1.3.txt
%{_libdir}/libcfitsio.a
%files docs
%doc docs/fitsio.doc docs/fitsio.pdf docs/cfitsio.pdf License.txt
%doc docs/fitsio.pdf docs/cfitsio.pdf
%license licenses/NASA_Open_Source_Agreement_1.3.txt
%files -n fpack
%doc docs/fpackguide.pdf License.txt
%doc docs/fpackguide.pdf
%license licenses/NASA_Open_Source_Agreement_1.3.txt
%{_bindir}/fpack
%{_bindir}/funpack
%changelog
* Tue Dec 24 2024 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 4.4.0-2
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Tue Jul 11 2023 Sergio Pascual <sergiopr@fedoraproject.org> - 4.2.0-4
- Use SPDX License
- License name is CFITSIO
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jan 05 2023 Kalev Lember <klember@redhat.com> - 4.2.0-2
- Use make_install macro
* Fri Nov 25 2022 Sergio Pascual <sergiopr@fedoraproject.org> - 4.2.0-1
- New upstream version 4.2.0
* Wed Aug 24 2022 Orion Poplawski <orion@nwra.com> - 4.1.0-1
- Update to 4.1.0
@ -478,3 +500,4 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
* Sat Oct 29 2005 Matthew Truch <matt at truch.net> - 3.004-0.1.b
- Initial spec file for Fedora Extras.
## END: Generated by rpmautospec

@ -1,14 +0,0 @@
diff -up cfitsio-4.1.0/configure.ldflags cfitsio-4.1.0/configure
--- cfitsio-4.1.0/configure.ldflags 2022-08-23 21:19:59.893242099 -0600
+++ cfitsio-4.1.0/configure 2022-08-23 21:20:12.986361691 -0600
@@ -4644,8 +4644,8 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS con
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-LDFLAGS="$CFLAGS"
-LDFLAGS_BIN="$LDFLAGS"
+# LDFLAGS="$CFLAGS"
+LDFLAGS_BIN="$CFLAGS"
if test "x$FC" = "xnone" ; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: cfitsio: == Fortran compiler search has been overridden" >&5

@ -1,60 +0,0 @@
diff -ur cfitsio-3.47/Makefile.in cfitsio-3.47.zlib/Makefile.in
--- cfitsio-3.47/Makefile.in 2019-05-08 17:34:50.000000000 +0200
+++ cfitsio-3.47.zlib/Makefile.in 2019-08-01 15:52:57.829760351 +0200
@@ -68,9 +68,7 @@
pliocomp.c fits_hcompress.c fits_hdecompress.c \
simplerng.c @GSIFTP_SRC@
-ZLIB_SOURCES = zlib/adler32.c zlib/crc32.c zlib/deflate.c zlib/infback.c \
- zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c \
- zlib/uncompr.c zlib/zcompress.c zlib/zuncompress.c zlib/zutil.c
+ZLIB_SOURCES = zlib/zcompress.c zlib/zuncompress.c
SOURCES = ${CORE_SOURCES} ${ZLIB_SOURCES} @F77_WRAPPERS@
@@ -103,7 +101,7 @@
shared: lib${PACKAGE}${SHLIB_SUFFIX}
lib${PACKAGE}${SHLIB_SUFFIX}: ${OBJECTS}
- ${SHLIB_LD} ${LDFLAGS} -o ${CFITSIO_SHLIB} ${OBJECTS} -lm ${LIBS_CURL} ${LIBS}
+ ${SHLIB_LD} ${LDFLAGS} -o ${CFITSIO_SHLIB} ${OBJECTS} -lm -lz -lbz2 ${LIBS_CURL} ${LIBS}
@if [ "x${CFITSIO_SHLIB_SONAME}" != x ]; then \
ln -sf ${CFITSIO_SHLIB} ${CFITSIO_SHLIB_SONAME}; \
ln -sf ${CFITSIO_SHLIB_SONAME} $@; \
@@ -140,28 +138,28 @@
${CC} -c ${CFLAGS} ${CPPFLAGS} ${SSE_FLAGS} ${DEFS} $<
smem: smem.o lib${PACKAGE}.a ${OBJECTS}
- ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm
+ ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm -lz
testprog: testprog.o lib${PACKAGE}.a ${OBJECTS}
- ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm ${LIBS}
+ ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm -lz ${LIBS}
fpack: fpack.o fpackutil.o lib${PACKAGE}.a ${OBJECTS}
- ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o fpackutil.o -L. -l${PACKAGE} -lm ${LIBS}
+ ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o fpackutil.o -L. -l${PACKAGE} -lm -lz ${LIBS}
funpack: funpack.o fpackutil.o lib${PACKAGE}.a ${OBJECTS}
- ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o fpackutil.o -L. -l${PACKAGE} -lm ${LIBS}
+ ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o fpackutil.o -L. -l${PACKAGE} -lm -lz ${LIBS}
fitscopy: fitscopy.o lib${PACKAGE}.a ${OBJECTS}
- ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm ${LIBS}
+ ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm -lz ${LIBS}
speed: speed.o lib${PACKAGE}.a ${OBJECTS}
- ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm ${LIBS}
+ ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm -lz ${LIBS}
imcopy: imcopy.o lib${PACKAGE}.a ${OBJECTS}
- ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm ${LIBS}
+ ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm -lz ${LIBS}
cookbook: cookbook.o lib${PACKAGE}.a ${OBJECTS}
- ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm ${LIBS}
+ ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm -lz ${LIBS}
eval: # Rebuild eval_* files from flex/bison source
${FLEX} -t eval.l > eval_l.c1

@ -1 +0,0 @@
SHA512 (cfitsio-4.1.0.tar.gz) = bbbe10e890e74a30a9806dd2bbf711b3b1f15502b210b222d2d57cc083495c3b66b44927e4680f989045187fb7075f7187e2805ddcb4753ce53c68c3442cc813
Loading…
Cancel
Save