Accepting request 32769 from devel:libraries:c_c++

Copy from devel:libraries:c_c++/lapack based on submit request 32769 from user coolo

OBS-URL: https://build.opensuse.org/request/show/32769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lapack?expand=0&rev=10
This commit is contained in:
OBS User autobuild 2010-02-18 14:21:09 +00:00 committed by Git OBS Bridge
parent 4e016f2068
commit f545d398f2
2 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 9 18:56:59 CET 2010 - prusnak@suse.cz
- package man and blas-man as noarch
-------------------------------------------------------------------
Wed Jan 13 13:15:58 CET 2010 - rguenther@suse.de

View File

@ -22,7 +22,7 @@ Name: lapack
BuildRequires: gcc-fortran
Summary: Linear Algebra Package
Version: 3.2.1
Release: 2
Release: 3
License: Public Domain, Freeware
Group: Development/Libraries/Parallel
Source0: lapack-%{version}.tar.bz2
@ -76,6 +76,9 @@ Summary: Documentation for BLAS (Basic Linear Algebra Subprograms)
Group: Productivity/Scientific/Math
Provides: blasman = %{version}-%{release}
Obsoletes: blasman < %{version}
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description -n blas-man
The blas-man package contains documentation for BLAS (Basic Linear
@ -93,6 +96,9 @@ Summary: Manpages for LAPACK
Group: Development/Libraries/Parallel
Provides: lapack-manpages = %{version}-%{release}
Obsoletes: lapack-manpages < %{version}
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description man
Manpages for LAPACK
@ -212,9 +218,7 @@ done
for MANFILE in manpages/man/manl/*.l; do
CopyFile $MANFILE
done
echo "%defattr(-, root, root)" > blasmans
find manpages/blas/man/manl -type f -printf "%{_mandir}/man3/%f\n" | sed -e 's/.l$/.3.gz/' > blasmans
echo "%defattr(-, root, root)" > lapackmans
find manpages/blas/man/manl -type f -printf "%{_mandir}/man3/%f\n" | sed -e 's/.l$/.3.gz/' > blasmans
find manpages/man/manl -type f -printf "%{_mandir}/man3/%f\n" | sed -e 's/.l$/.3.gz/' > lapackmans
%post -n libblas3 -p /sbin/ldconfig