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