Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
wcslib
wcslib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wcslib.spec of Package wcslib
# # spec file for package wcslib # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define libver 5 Name: wcslib Version: 5.18 Release: 0 Summary: An implementation of the FITS WCS standard License: LGPL-3.0+ Group: Development/Libraries/C and C++ URL: http://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/ Source0: ftp://ftp.atnf.csiro.au/pub/software/wcslib/%{name}-%{version}.tar.bz2 BuildRequires: cfitsio-devel BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-fortran BuildRequires: pkgconfig %description WCSLIB is a C library, supplied with a full set of Fortran wrappers, that implements the "World Coordinate System" (WCS) standard in FITS (Flexible Image Transport System). It also includes a PGPLOT-based routine, PGSBOX, for drawing general curvilinear coordinate graticules and a number of utility programs. The FITS data format is widely used within the international astronomical community, from the radio to gamma-ray regimes, for data interchange and archive, and also increasingly as an online format. It is described in: * "Definition of The Flexible Image Transport System (FITS)", FITS Standard, Version 3.0, 2008 July 10. %package -n libwcs%{libver} Summary: An implementation of the FITS WCS standard Group: System/Libraries %description -n libwcs%{libver} WCSLIB is a C library, supplied with a full set of Fortran wrappers, that implements the "World Coordinate System" (WCS) standard in FITS (Flexible Image Transport System). It also includes a PGPLOT-based routine, PGSBOX, for drawing general curvilinear coordinate graticules and a number of utility programs. The FITS data format is widely used within the international astronomical community, from the radio to gamma-ray regimes, for data interchange and archive, and also increasingly as an online format. It is described in: * "Definition of The Flexible Image Transport System (FITS)", FITS Standard, Version 3.0, 2008 July 10. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: cfitsio-devel Requires: libwcs%{libver} = %{version} Recommends: %{name}-doc # libwcs-devel was last used in version 5.15 Provides: libwcs-devel = %{version} Obsoletes: libwcs-devel <= 5.15 %description devel This package contains libraries and header files for developing applications that use %{name}. %package doc Summary: Documentation for %{name} library Group: Documentation/Other # libwcs-doc was last used in version 5.15 Provides: libwcs-doc = %{version} Obsoletes: libwcs-doc <= 5.15 BuildArch: noarch %description doc This package contains documentation and help files for %{name} library. %package tools Summary: Tools for %{name} Group: Productivity/Scientific/Other Requires: libwcs%{libver} = %{version} # libwcs-tools was last used in version 5.15 Provides: libwcs-tools = %{version} Obsoletes: libwcs-tools <= 5.15 %description tools This package contains tools for working with files created or opened with %{name}. %prep %setup -q %build %configure --docdir=%{_docdir}/%{name} --without-pgplot # Sometimes %%{?_smp_mflags} make compilation fail, so don't use it make %install %make_install cp -a THANKS %{buildroot}%{_docdir}/%{name}/html/ # Remove static libraries rm -rf %{buildroot}%{_libdir}/*.a %fdupes -s %{buildroot}%{_docdir}/%{name}/html %check make check %post -n libwcs%{libver} -p /sbin/ldconfig %postun -n libwcs%{libver} -p /sbin/ldconfig %files -n libwcs%{libver} %doc CHANGES COPYING COPYING.LESSER %{_libdir}/libwcs.so.%{libver}* %files tools %{_bindir}/HPXcvt %{_bindir}/fitshdr %{_bindir}/wcsware %{_mandir}/man1/HPXcvt.1%{ext_man} %{_mandir}/man1/fitshdr.1%{ext_man} %{_mandir}/man1/wcsware.1%{ext_man} %files doc %doc %{_docdir}/%{name}/ %files devel %{_includedir}/wcslib %{_includedir}/wcslib-%{version}/ %{_libdir}/libwcs.so %{_libdir}/pkgconfig/wcslib.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor