Accepting request 628844 from home:jengelh:branches:science

- Use pkg-config instead of hardcoding the cfitsio path.
- Wrap descriptions consistently.
- Fix RPM group of shared library subpackage.

OBS-URL: https://build.opensuse.org/request/show/628844
OBS-URL: https://build.opensuse.org/package/show/science/gnuastro?expand=0&rev=2
This commit is contained in:
Andreas Stieger 2018-08-13 07:11:04 +00:00 committed by Git OBS Bridge
parent 9cbc1c04a4
commit 0f34eb0b9d
2 changed files with 17 additions and 8 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Aug 12 20:27:42 UTC 2018 - jengelh@inai.de
- Use pkg-config instead of hardcoding the cfitsio path.
- Wrap descriptions consistently.
- Fix RPM group of shared library subpackage.
-------------------------------------------------------------------
Sat Aug 11 11:24:50 UTC 2018 - astieger@suse.com

View File

@ -42,16 +42,17 @@ Requires(preun): %{install_info_prereq}
Recommends: %{name}-doc
%description
The GNU Astronomy Utilities (Gnuastro) contains various programs and library functions
for the manipulation and analysis of astronomical data.
The GNU Astronomy Utilities (Gnuastro) contains various programs and
library functions for the manipulation and analysis of astronomical
data.
%package -n libgnuastro%{sover}
Summary: Libraries for GNU Astronomy Utilities
Group: Productivity/Scientific/Astronomy
Summary: Libraries for the GNU Astronomy Utilities
Group: System/Libraries
%description -n libgnuastro%{sover}
Libraries for the manipulation and analysis of astronomical data,
part of the GNU Astronomy Utilities (Gnuastro)
part of the GNU Astronomy Utilities (Gnuastro).
%package devel
Summary: Development files for gnuastro
@ -59,7 +60,8 @@ Group: Development/Libraries/C and C++
Requires: libgnuastro%{sover} = %{version}
%description devel
Development files required for development with GNU Astronomy Utilities (Gnuastro)
Development files required for development with GNU Astronomy
Utilities (Gnuastro).
%package doc
Summary: Documentation for the GNU Astromomy Utilities
@ -67,7 +69,7 @@ Group: Documentation/Other
BuildArch: noarch
%description doc
Additional documentation for the GNU Astromomy Utilities
Additional documentation for the GNU Astromomy Utilities.
%prep
%setup -q
@ -76,7 +78,7 @@ Additional documentation for the GNU Astromomy Utilities
%configure \
--docdir=%{_docdir}/%{name} \
--disable-static \
CPPFLAGS=-I/usr/include/cfitsio
CPPFLAGS="$(pkg-config cfitsio --cflags)"
make %{?_smp_mflags}
%install