From ccaa8c17143a3bb3c64bac85dffd7dc3557eef4cc9247296043cd793ef5e0b57 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 16 May 2008 12:31:52 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lapack?expand=0&rev=4 --- make.patch => lapack-make.patch | 0 lapack.changes | 7 +++ lapack.spec | 104 +++++++++++++++++--------------- 3 files changed, 61 insertions(+), 50 deletions(-) rename make.patch => lapack-make.patch (100%) diff --git a/make.patch b/lapack-make.patch similarity index 100% rename from make.patch rename to lapack-make.patch diff --git a/lapack.changes b/lapack.changes index 2a0a3e4..8a079ae 100644 --- a/lapack.changes +++ b/lapack.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun May 11 14:21:24 CEST 2008 - lrupp@suse.de + +- use versioned requires/obsoletes +- %run_ldconfig is deprecated +- prefix the patch with the packagename + ------------------------------------------------------------------- Fri Apr 27 14:17:41 CEST 2007 - rguenther@suse.de diff --git a/lapack.spec b/lapack.spec index c20e2b0..171d03f 100644 --- a/lapack.spec +++ b/lapack.spec @@ -1,7 +1,7 @@ # # spec file for package lapack (Version 3.1.1) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 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. # @@ -10,18 +10,19 @@ # norootforbuild + Name: lapack BuildRequires: gcc-fortran Summary: Linear Algebra Package Version: 3.1.1 -Release: 1 +Release: 64 License: Public Domain, Freeware Group: Development/Libraries/Parallel Source0: lapack-%{version}.tar.bz2 -Patch: make.patch -URL: http://www.netlib.org/lapack/ -Requires: blas -Requires: liblapack3 +Patch: %{name}-make.patch +Url: http://www.netlib.org/lapack/ +Requires: blas = %{version} +Requires: liblapack3 = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -42,9 +43,10 @@ Authors: Jack Dongarra %package -n blas +License: Public Domain, Freeware Summary: Basic Linear Algebra Subprograms Group: Productivity/Scientific/Math -Requires: libblas3 +Requires: libblas3 >= %{version} %description -n blas BLAS (Basic Linear Algebra Subprograms) is a standard library for @@ -60,10 +62,11 @@ Authors: UTK %package -n blas-man -Summary: documentation for BLAS (Basic Linear Algebra Subprograms) +License: Public Domain, Freeware +Summary: Documentation for BLAS (Basic Linear Algebra Subprograms) Group: Productivity/Scientific/Math -Provides: blasman -Obsoletes: blasman +Provides: blasman = %{version}-%{release} +Obsoletes: blasman < %{version} %description -n blas-man The blas-man package contains documentation for BLAS (Basic Linear @@ -76,10 +79,11 @@ Authors: UTK %package man +License: Public Domain, Freeware Summary: Manpages for LAPACK Group: Development/Libraries/Parallel -Provides: lapack-manpages -Obsoletes: lapack-manpages +Provides: lapack-manpages = %{version}-%{release} +Obsoletes: lapack-manpages < %{version} %description man Manpages for LAPACK @@ -91,9 +95,9 @@ Authors: Lapack team %package -n liblapack3 +License: Public Domain, Freeware Summary: LAPACK Shared Library Group: Development/Libraries/Parallel -Autoreqprov: on %description -n liblapack3 LAPACK provides routines for solving systems of simultaneous linear @@ -113,9 +117,9 @@ Authors: Jack Dongarra %package -n libblas3 -Summary: BLAS Shared Library. +License: Public Domain, Freeware +Summary: BLAS Shared Library Group: Productivity/Scientific/Math -Autoreqprov: on %description -n libblas3 BLAS (Basic Linear Algebra Subprograms) is a standard library for @@ -191,17 +195,13 @@ find manpages/blas/man/manl -type f -printf "%{_mandir}/man3/%f\n" | sed -e 's/ echo "%defattr(-, root, root)" > lapackmans find manpages/man/manl -type f -printf "%{_mandir}/man3/%f\n" | sed -e 's/.l$/.3.gz/' > lapackmans -%post -n libblas3 -%run_ldconfig +%post -n libblas3 -p /sbin/ldconfig -%postun -n libblas3 -%run_ldconfig +%postun -n libblas3 -p /sbin/ldconfig -%post -n liblapack3 -%run_ldconfig +%post -n liblapack3 -p /sbin/ldconfig -%postun -n liblapack3 -%run_ldconfig +%postun -n liblapack3 -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT @@ -235,74 +235,78 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %changelog -* Fri Apr 27 2007 - rguenther@suse.de +* Sun May 11 2008 lrupp@suse.de +- use versioned requires/obsoletes +- %%run_ldconfig is deprecated +- prefix the patch with the packagename +* Fri Apr 27 2007 rguenther@suse.de - Update to version 3.1.1. [#265999] - Integrates 3.1.0 errata and missing blas routines. - Provides better gfortran SECOND integration. - Split shared libraries into their own versioned subpackage. -* Fri Jan 19 2007 - rguenther@suse.de +* Fri Jan 19 2007 rguenther@suse.de - Include fixes for the 3.1.0 errata. - Add missing CSROT, DROTM, DROTMG, DSDOT, SDSDOT, SROTM, SROTMG and ZDROT from blas distribution. [#228824] -* Thu Dec 14 2006 - rguenther@suse.de +* Thu Dec 14 2006 rguenther@suse.de - Restore missing so symlinks. -* Tue Nov 14 2006 - rguenther@suse.de +* Tue Nov 14 2006 rguenther@suse.de - Update to version 3.1.0. - Rename blasman to blas-man. - Rename lapack-manpages to lapack-man. -* Tue Oct 31 2006 - rguenther@suse.de +* Tue Oct 31 2006 rguenther@suse.de - Trim BuildRequires. - Build and package -fPIC static library variants. [#205310] - Fix installing of the libblas.so symlink. - Do not package the matrix testing setup library libtmglib. - Do not package useless README file. -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Sat Jan 14 2006 - kukuk@suse.de +* Sat Jan 14 2006 kukuk@suse.de - Add gmp-devel to nfb -* Fri Apr 22 2005 - meissner@suse.de +* Fri Apr 22 2005 meissner@suse.de - fixed all other instances of -fno-f2c, and g77 -> gfortran use. -* Thu Apr 21 2005 - meissner@suse.de +* Thu Apr 21 2005 meissner@suse.de - g77 -> gfortran, -fno-f2c is no more. -* Sat Jan 29 2005 - nashif@suse.de +* Sun Jan 30 2005 nashif@suse.de - Updated manpages (#48784) -* Thu Jan 20 2005 - ro@suse.de +* Thu Jan 20 2005 ro@suse.de - remove BuildPrereq, BuildRequires is generated -* Thu Mar 18 2004 - nashif@suse.de +* Thu Mar 18 2004 nashif@suse.de - Fixed permission for manpages (#36340) -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - add %%run_ldconfig -* Mon Feb 03 2003 - meissner@suse.de +* Mon Feb 03 2003 meissner@suse.de - Use $RPM_OPT_FLAGS, so it builds on ppc64. -* Mon Aug 26 2002 - nashif@suse.de +* Mon Aug 26 2002 nashif@suse.de - Fixed manpage conflict - correct library version -* Mon Jul 01 2002 - ro@suse.de +* Mon Jul 01 2002 ro@suse.de - use -fPIC for all shared objects - link liblapack with shared libblas (same reason) -* Thu May 02 2002 - sf@suse.de +* Thu May 02 2002 sf@suse.de - fixed %%{_lib}-problems for x86_64 -* Mon Sep 17 2001 - nashif@suse.de +* Mon Sep 17 2001 nashif@suse.de - Fixed bug #9925, adding blas to required packages. -* Tue May 08 2001 - nashif@suse.de +* Tue May 08 2001 nashif@suse.de - Fixed bug #6803 -* Thu Feb 08 2001 - sf@suse.de +* Thu Feb 08 2001 sf@suse.de - compile with '-01' for IA64 due to 'internal compiler error' in g77 -* Mon Nov 06 2000 - nashif@suse.de +* Mon Nov 06 2000 nashif@suse.de - Fixed bug of missing objects (#4028) -* Sat Apr 22 2000 - nashif@suse.de +* Sat Apr 22 2000 nashif@suse.de - Applied new patches - Modified group, url and files in spec -* Mon Feb 21 2000 - nashif@suse.de +* Mon Feb 21 2000 nashif@suse.de - Applied new patches -* Tue Jan 18 2000 - nashif@suse.de +* Wed Jan 19 2000 nashif@suse.de - Applied new patched - Moved manpages to /usr/share/man -* Thu Dec 23 1999 - nashif@suse.de +* Thu Dec 23 1999 nashif@suse.de - Update to latest version - Package split lapack + blas -* Thu Oct 07 1999 - nashif@suse.de +* Thu Oct 07 1999 nashif@suse.de - Package split: man pages + libraries -* Wed Sep 22 1999 - nashif@suse.de +* Wed Sep 22 1999 nashif@suse.de - New package: LAPACK Linear Algebra Package (LAPACK)