From 04ed187573503ba5fdbf00f541e9b39806833e2f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 15 Apr 2024 10:26:11 +0200 Subject: [PATCH] package created using the webbuild interface [release 8.2.2-1mamba;Sun Apr 14 2024] --- README.md | 2 ++ wcslib.spec | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 wcslib.spec diff --git a/README.md b/README.md index 8beb1a0..c3c55ea 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # wcslib +A C library that implements the 'World Coordinate System' (WCS) standard in FITS. + diff --git a/wcslib.spec b/wcslib.spec new file mode 100644 index 0000000..8356a3c --- /dev/null +++ b/wcslib.spec @@ -0,0 +1,92 @@ +Name: wcslib +Version: 8.2.2 +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 +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 +* Sun Apr 14 2024 Silvan Calarco 8.2.2-1mamba +- package created using the webbuild interface