SHA256
1
0
forked from pool/gsl
OBS User unknown 2007-02-07 18:34:23 +00:00 committed by Git OBS Bridge
parent cc759ccb37
commit f9a966466b
2 changed files with 19 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 7 14:05:18 CET 2007 - garloff@suse.de
- -l2h and BuildRequire latex2html for formulas in manual (#242160).
-------------------------------------------------------------------
Fri Nov 24 00:39:14 CET 2006 - garloff@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package gsl (Version 1.8)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@ -11,10 +11,10 @@
# norootforbuild
Name: gsl
BuildRequires: blas
BuildRequires: blas latex2html
Version: 1.8
Release: 21
License: GNU General Public License (GPL), Other License(s), see package
Release: 27
License: GNU General Public License (GPL)
Group: Development/Libraries/C and C++
#Provides:
Autoreqprov: on
@ -112,7 +112,7 @@ Authors:
#%patch6 -p1
%build
%ifarch %ix86 x86_64
%ifarch i386 i486 i586 i686 x86_64
# We could add -msse2 -mpfmath=sse here ...
CFLAGS="$RPM_OPT_FLAGS -O3 -finline-limit=720 --param max-inline-insns-auto=160 -funroll-loops -fno-strict-aliasing -funit-at-a-time -ftree-vectorize -momit-leaf-frame-pointer" \
./configure --enable-shared --with-gnu-ld \
@ -124,8 +124,13 @@ CFLAGS="$RPM_OPT_FLAGS -O3 -finline-limit=720 --param max-inline-insns-auto=160
%endif
make %{?jobs:-j%jobs}
make check
cd doc
texi2html -menu -split_chapter -glossary gsl-ref.texi
# latex2html (dvips) is braindead in its rejection of '.' in a dir name
cd ..
mv %{name}-%{version} %{name}
cd %{name}/doc
texi2html -l2h -menu -split_chapter -glossary gsl-ref.texi
cd ../..
mv %{name} %{name}-%{version}
%install
make install DESTDIR=$RPM_BUILD_ROOT
@ -158,6 +163,8 @@ rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/gsl-%{version}
%changelog -n gsl
* Wed Feb 07 2007 - garloff@suse.de
- -l2h and BuildRequire latex2html for formulas in manual (#242160).
* Fri Nov 24 2006 - garloff@suse.de
- -momit-leaf-frame-pointer was only enabled on x86_64 and i386;
however, it should have been enabled on all ix86. Fixed.