Accepting request 55204 from devel:libraries:c_c++
Accepted submit request 55204 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/55204 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsl?expand=0&rev=14
This commit is contained in:
17
gsl.spec
17
gsl.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package gsl (Version 1.12)
|
||||
# spec file for package gsl (Version 1.14)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -21,7 +21,15 @@
|
||||
Name: gsl
|
||||
#BuildRequires: blas latex2html
|
||||
BuildRequires: blas
|
||||
Version: 1.12
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: pkg-config
|
||||
%else
|
||||
BuildRequires: pkgconfig
|
||||
%endif
|
||||
%if 0%{?fedora_version}
|
||||
Requires: info
|
||||
%endif
|
||||
Version: 1.14
|
||||
Release: 2
|
||||
License: GPLv3+
|
||||
# NOTE: The package has been update to 1.10+ after all issues with
|
||||
@@ -76,7 +84,9 @@ License: GPLv2+
|
||||
Summary: GNU Scientific Library - development files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: gsl = %{version} glibc-devel
|
||||
%if 0%{?suse_version}
|
||||
PreReq: %{install_info_prereq}
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
This package contains the headers, static libraries and some
|
||||
@@ -124,7 +134,7 @@ autoreconf -fi
|
||||
%build
|
||||
RPM_OPT_FLAGS=`echo "$RPM_OPT_FLAGS" | sed 's/-fstack-protector//'`
|
||||
CFLAGS="$RPM_OPT_FLAGS -O2 -fno-strict-aliasing" \
|
||||
%configure --disable-static --with-pic --enable-shared --with-gnu-ld
|
||||
%configure --disable-static --with-pic --enable-shared --with-gnu-ld --infodir=%{_infodir}
|
||||
make %{?jobs:-j%jobs}
|
||||
# latex2html (dvips) is braindead in its rejection of '.' in a dir name
|
||||
# the following fails right now, disable it:
|
||||
@@ -141,6 +151,7 @@ make check
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||
%{__rm} -f %{buildroot}%{_infodir}/dir
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
|
Reference in New Issue
Block a user