wcslib/wcslib.spec

96 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: wcslib
Version: 8.3
Release: 1mamba
Summary: A C library that implements the 'World Coordinate System' (WCS) standard in FITS
Group: Applications/Scientific
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.atnf.csiro.au/people/Mark.Calabretta/WCS/
Source: http://www.atnf.csiro.au/people/mcalabre/WCS/wcslib-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: gcc-fortran
BuildRequires: glibc-devel
BuildRequires: libcfitsio-devel
BuildRequires: libquadmath-devel
## AUTOBUILDREQ-END
Requires: libwcs = %{?epoch:%epoch:}%{version}-%{release}
%description
A C library that implements the 'World Coordinate System' (WCS) standard in FITS.
%package -n libwcs
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n libwcs
This package contains shared libraries for %{name}.
%package -n libwcs-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libwcs = %{?epoch:%epoch:}%{version}-%{release}
%description -n libwcs-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libwcs -p /sbin/ldconfig
%postun -n libwcs -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/HPXcvt
%{_bindir}/fitshdr
%{_bindir}/sundazel
%{_bindir}/tofits
%{_bindir}/wcsware
%{_mandir}/man1/HPXcvt.1*
%{_mandir}/man1/fitshdr.1*
%{_mandir}/man1/sundazel.1*
%{_mandir}/man1/tofits.1*
%{_mandir}/man1/wcsware.1*
%files -n libwcs
%defattr(-,root,root)
%{_libdir}/libwcs.so.*
%doc COPYING COPYING.LESSER THANKS
%files -n libwcs-devel
%defattr(-,root,root)
%{_includedir}/wcslib
%dir %{_includedir}/wcslib-%{version}
%{_includedir}/wcslib-%{version}/*
%{_libdir}/libwcs-%{version}.a
%{_libdir}/libwcs.a
%{_libdir}/libwcs.so
%{_libdir}/pkgconfig/wcslib.pc
%{_docdir}/wcslib
%dir %{_docdir}/wcslib-%{version}
%{_docdir}/wcslib-%{version}/*
%doc CHANGES README
%changelog
* Wed May 15 2024 Automatic Build System <autodist@openmamba.org> 8.3-1mamba
- automatic version update by autodist
* Sun Apr 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 8.2.2-1mamba
- package created using the webbuild interface