|
|
@ -1,19 +1,9 @@
|
|
|
|
## 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
|
|
|
|
Name: cfitsio
|
|
|
|
Version: 4.4.0
|
|
|
|
Version: 4.1.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Library for manipulating FITS data files
|
|
|
|
Summary: Library for manipulating FITS data files
|
|
|
|
|
|
|
|
|
|
|
|
License: CFITSIO
|
|
|
|
License: MIT
|
|
|
|
URL: http://heasarc.gsfc.nasa.gov/fitsio/
|
|
|
|
URL: http://heasarc.gsfc.nasa.gov/fitsio/
|
|
|
|
Source0: http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-%{version}.tar.gz
|
|
|
|
Source0: http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-%{version}.tar.gz
|
|
|
|
# Remove soname version check
|
|
|
|
# Remove soname version check
|
|
|
@ -85,7 +75,11 @@ compression algorithm.
|
|
|
|
amount of compression
|
|
|
|
amount of compression
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
|
|
|
%patch3 -p1 -b .ldflags
|
|
|
|
|
|
|
|
%patch4 -p1 -b .rpath
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --enable-reentrant -with-bzip2
|
|
|
|
%configure --enable-reentrant -with-bzip2
|
|
|
@ -99,9 +93,13 @@ cmp -s testprog.lis testprog.out
|
|
|
|
cmp -s testprog.fit testprog.std
|
|
|
|
cmp -s testprog.fit testprog.std
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install LIBDIR=%{_libdir} INCLUDEDIR=%{_includedir}/%{name} \
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_libdir}
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_includedir}/%{name}
|
|
|
|
|
|
|
|
make LIBDIR=%{_libdir} INCLUDEDIR=%{_includedir}/%{name} \
|
|
|
|
CFITSIO_LIB=%{buildroot}%{_libdir} \
|
|
|
|
CFITSIO_LIB=%{buildroot}%{_libdir} \
|
|
|
|
CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name}
|
|
|
|
CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} \
|
|
|
|
|
|
|
|
install
|
|
|
|
cp -p f{,un}pack %{buildroot}%{_bindir}
|
|
|
|
cp -p f{,un}pack %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
|
|
|
|
chmod 755 %{buildroot}%{_libdir}/libcfitsio.so.*
|
|
|
|
chmod 755 %{buildroot}%{_libdir}/libcfitsio.so.*
|
|
|
@ -111,48 +109,28 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc README.md docs/changes.txt
|
|
|
|
%doc README License.txt docs/changes.txt
|
|
|
|
%license licenses/NASA_Open_Source_Agreement_1.3.txt
|
|
|
|
%{_libdir}/libcfitsio.so.9*
|
|
|
|
%{_libdir}/libcfitsio.so.10*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%doc utilities/cookbook.*
|
|
|
|
%doc cookbook.*
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/libcfitsio.so
|
|
|
|
%{_libdir}/libcfitsio.so
|
|
|
|
%{_libdir}/pkgconfig/cfitsio.pc
|
|
|
|
%{_libdir}/pkgconfig/cfitsio.pc
|
|
|
|
|
|
|
|
|
|
|
|
%files static
|
|
|
|
%files static
|
|
|
|
%license licenses/NASA_Open_Source_Agreement_1.3.txt
|
|
|
|
%doc License.txt
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
|
|
|
|
|
|
|
|
%files docs
|
|
|
|
%files docs
|
|
|
|
%doc docs/fitsio.pdf docs/cfitsio.pdf
|
|
|
|
%doc docs/fitsio.doc docs/fitsio.pdf docs/cfitsio.pdf License.txt
|
|
|
|
%license licenses/NASA_Open_Source_Agreement_1.3.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n fpack
|
|
|
|
%files -n fpack
|
|
|
|
%doc docs/fpackguide.pdf
|
|
|
|
%doc docs/fpackguide.pdf License.txt
|
|
|
|
%license licenses/NASA_Open_Source_Agreement_1.3.txt
|
|
|
|
|
|
|
|
%{_bindir}/fpack
|
|
|
|
%{_bindir}/fpack
|
|
|
|
%{_bindir}/funpack
|
|
|
|
%{_bindir}/funpack
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Wed Aug 24 2022 Orion Poplawski <orion@nwra.com> - 4.1.0-1
|
|
|
|
- Update to 4.1.0
|
|
|
|
- Update to 4.1.0
|
|
|
|
|
|
|
|
|
|
|
@ -356,7 +334,7 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|
|
|
- Update to upstream 3.240 release.
|
|
|
|
- Update to upstream 3.240 release.
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 2 2009 Matthew Truch <matt at truch.net> - 3.210-2
|
|
|
|
* Mon Nov 2 2009 Matthew Truch <matt at truch.net> - 3.210-2
|
|
|
|
- Re-introduce library soname patch (accidentally removed it).
|
|
|
|
- Re-introduce library soname patch (accidentally removed it).
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 20 2009 Matthew Truch <matt at truch.net> - 3.210-1
|
|
|
|
* Tue Oct 20 2009 Matthew Truch <matt at truch.net> - 3.210-1
|
|
|
|
- Update to upstream 3.210 release.
|
|
|
|
- Update to upstream 3.210 release.
|
|
|
@ -370,14 +348,14 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 17 2009 Matthew Truch <matt at truch.net> - 3.130-5
|
|
|
|
* Wed Jun 17 2009 Matthew Truch <matt at truch.net> - 3.130-5
|
|
|
|
- Separate -docs noarch subpackage as per BZ 492438.
|
|
|
|
- Separate -docs noarch subpackage as per BZ 492438.
|
|
|
|
- Explicitly set file attributes correctly.
|
|
|
|
- Explicitly set file attributes correctly.
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 10 2009 Matthew Truch <matt at truch.net> - 3.130-4
|
|
|
|
* Tue Mar 10 2009 Matthew Truch <matt at truch.net> - 3.130-4
|
|
|
|
- Set correct version in pkgconfig .pc file.
|
|
|
|
- Set correct version in pkgconfig .pc file.
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 22 2009 Matthew Truch <matt at truch.net> - 3.130-3
|
|
|
|
* Sun Feb 22 2009 Matthew Truch <matt at truch.net> - 3.130-3
|
|
|
|
- Re-check testprogram output.
|
|
|
|
- Re-check testprogram output.
|
|
|
|
- Build for koji, rpm, gcc upgrade.
|
|
|
|
- Build for koji, rpm, gcc upgrade.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 5 2009 Matthew Truch <matt at truch.net> - 3.130-2
|
|
|
|
* Thu Feb 5 2009 Matthew Truch <matt at truch.net> - 3.130-2
|
|
|
|
- Fix source file naming typo.
|
|
|
|
- Fix source file naming typo.
|
|
|
@ -386,7 +364,7 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|
|
|
- Update to 3.130 upstream.
|
|
|
|
- Update to 3.130 upstream.
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Sep 20 2008 Matthew Truch <matt at truch.net> - 3.100-2
|
|
|
|
* Sat Sep 20 2008 Matthew Truch <matt at truch.net> - 3.100-2
|
|
|
|
- Test library with included test-suite.
|
|
|
|
- Test library with included test-suite.
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 19 2008 Matthew Truch <matt at truch.net> - 3.100-1
|
|
|
|
* Fri Sep 19 2008 Matthew Truch <matt at truch.net> - 3.100-1
|
|
|
|
- Update to 3.100 upstream.
|
|
|
|
- Update to 3.100 upstream.
|
|
|
@ -415,8 +393,8 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 16 2007 Matthew Truch <matt at truch.net> - 3.030-2
|
|
|
|
* Fri Feb 16 2007 Matthew Truch <matt at truch.net> - 3.030-2
|
|
|
|
- Require pkgconfig for -devel.
|
|
|
|
- Require pkgconfig for -devel.
|
|
|
|
- export CC=gcc so we don't clobber $RPM_OPT_FLAGS, thereby
|
|
|
|
- export CC=gcc so we don't clobber $RPM_OPT_FLAGS, thereby
|
|
|
|
ruining any -debuginfo packages.
|
|
|
|
ruining any -debuginfo packages.
|
|
|
|
See RedHat Bugzilla 229041.
|
|
|
|
See RedHat Bugzilla 229041.
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 5 2007 Matthew Truch <matt at truch.net> - 3.030-1
|
|
|
|
* Fri Jan 5 2007 Matthew Truch <matt at truch.net> - 3.030-1
|
|
|
@ -439,9 +417,9 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|
|
|
- Include defattr() for devel package as well - bug 187366
|
|
|
|
- Include defattr() for devel package as well - bug 187366
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Mar 19 2006 Matthew Truch <matt at truch.net> - 3.006-4
|
|
|
|
* Sun Mar 19 2006 Matthew Truch <matt at truch.net> - 3.006-4
|
|
|
|
- Don't use macro {buildroot} in build, only in install as per
|
|
|
|
- Don't use macro {buildroot} in build, only in install as per
|
|
|
|
appended comments to Bugzilla bug 172042
|
|
|
|
appended comments to Bugzilla bug 172042
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 10 2006 Matthew Truch <matt at truch.net> - 3.006-3
|
|
|
|
* Fri Mar 10 2006 Matthew Truch <matt at truch.net> - 3.006-3
|
|
|
|
- Point to f95 instead of g95 as per bugzilla bug 185107
|
|
|
|
- Point to f95 instead of g95 as per bugzilla bug 185107
|
|
|
|
|
|
|
|
|
|
|
@ -500,4 +478,3 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|
|
|
* Sat Oct 29 2005 Matthew Truch <matt at truch.net> - 3.004-0.1.b
|
|
|
|
* Sat Oct 29 2005 Matthew Truch <matt at truch.net> - 3.004-0.1.b
|
|
|
|
- Initial spec file for Fedora Extras.
|
|
|
|
- Initial spec file for Fedora Extras.
|
|
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|