|
|
@ -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
|
|
|
|
Name: cfitsio
|
|
|
|
Version: 4.1.0
|
|
|
|
Version: 4.4.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Library for manipulating FITS data files
|
|
|
|
Summary: Library for manipulating FITS data files
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: CFITSIO
|
|
|
|
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
|
|
|
@ -75,11 +85,7 @@ compression algorithm.
|
|
|
|
amount of compression
|
|
|
|
amount of compression
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%autosetup -p1
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
|
|
|
%patch3 -p1 -b .ldflags
|
|
|
|
|
|
|
|
%patch4 -p1 -b .rpath
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --enable-reentrant -with-bzip2
|
|
|
|
%configure --enable-reentrant -with-bzip2
|
|
|
@ -93,13 +99,9 @@ cmp -s testprog.lis testprog.out
|
|
|
|
cmp -s testprog.fit testprog.std
|
|
|
|
cmp -s testprog.fit testprog.std
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
%make_install LIBDIR=%{_libdir} INCLUDEDIR=%{_includedir}/%{name} \
|
|
|
|
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.*
|
|
|
@ -109,28 +111,48 @@ chmod 755 %{buildroot}%{_bindir}/f{,un}pack
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc README License.txt docs/changes.txt
|
|
|
|
%doc README.md docs/changes.txt
|
|
|
|
%{_libdir}/libcfitsio.so.9*
|
|
|
|
%license licenses/NASA_Open_Source_Agreement_1.3.txt
|
|
|
|
|
|
|
|
%{_libdir}/libcfitsio.so.10*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%doc cookbook.*
|
|
|
|
%doc utilities/cookbook.*
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/libcfitsio.so
|
|
|
|
%{_libdir}/libcfitsio.so
|
|
|
|
%{_libdir}/pkgconfig/cfitsio.pc
|
|
|
|
%{_libdir}/pkgconfig/cfitsio.pc
|
|
|
|
|
|
|
|
|
|
|
|
%files static
|
|
|
|
%files static
|
|
|
|
%doc License.txt
|
|
|
|
%license licenses/NASA_Open_Source_Agreement_1.3.txt
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
%{_libdir}/libcfitsio.a
|
|
|
|
|
|
|
|
|
|
|
|
%files docs
|
|
|
|
%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
|
|
|
|
%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}/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
|
|
|
|
|
|
|
|
|
|
|
@ -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
|
|
|
|
* 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
|