X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=clapack.spec;h=32440eece6757c8155fa176569c7742ac01573c8;hb=refs%2Fheads%2FRA-branch;hp=df67f78111176e5bc6a4b797a4e3c9f60dbffb33;hpb=cf338763a72bdd8edd320f0ea9939f35e8a0a23c;p=packages%2Fclapack.git diff --git a/clapack.spec b/clapack.spec index df67f78..32440ee 100644 --- a/clapack.spec +++ b/clapack.spec @@ -2,7 +2,7 @@ Summary: The CLAPACK libraries for numerical linear algebra Summary(pl): Biblioteki numeryczne CLAPACK do algebry liniowej Name: clapack Version: 3.0 -Release: 3 +Release: 1 License: Freely distributable Group: Development/Libraries Group(de): Entwicklung/Libraries @@ -13,44 +13,46 @@ Group(pt_BR): Desenvolvimento/Bibliotecas Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ Source0: http://www.netlib.org/clapack/%{name}.tgz +#Source1: http://www.netlib.org/clapack/manpages.tgz Patch0: %{name}-automake_support.patch -URL: http://www.netlib.org/clapack/ -BuildRequires: gcc-g77 +URL: http://www.netlib.org/lapack/ BuildRequires: autoconf BuildRequires: automake -BuildRequires: libtool BuildRequires: ed +BuildRequires: gcc-g77 +BuildRequires: libtool BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -Requires: blas +Requires: cblas %description -LAPACK (Linear Algebra PACKage) is a standard library for numerical -linear algebra. LAPACK provides routines for solving systems of +CLAPACK (Linear Algebra PACKage) is a standard library for numerical +linear algebra. CLAPACK provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems. Associated matrix factorizations (LU, Cholesky, QR, SVD, Schur, and generalized Schur) and related computations (i.e., reordering of Schur factorizations and estimating condition numbers) -are also included. LAPACK can handle dense and banded matrices, but +are also included. CLAPACK can handle dense and banded matrices, but not general sparse matrices. Similar functionality is provided for -real and complex matrices in both single and double precision. LAPACK -is coded in Fortran77. +real and complex matrices in both single and double precision. CLAPACK +is coded in Fortran77 and translated to C using f2c. %description -l pl -LAPACK (Linear Algebra PACKage) jest standardow± bibliotek± numeryczn± -do algebry liniowej. Dostarcza funkcje rozwi±zywania: uk³adów równañ -liniowych, uk³adów równañ metod± najmniejszych kwadratów, problemów -w³asnych. Zawiera algorytmy faktoryzacji macierzy (LU, Cholesky'ego, -QR, SVD, Schura, uogólnion± Schura) i zwi±zanych z tym obliczeñ (np. -przenumerowywanie w faktoryzacji Schura i estymacjê uwarunkowania). -LAPACK mo¿e obs³ugiwaæ macierze blokowe i pasmowe, ale nie rzadkie w -ogólnym przypadku. Zapewnia funkcjonalno¶æ dla macierzy rzeczywistych -i zespolonych, dla liczb pojedynczej i podwójnej precyzji. LAPACK jest -napisany w Fortranie 77. +CLAPACK (Linear Algebra PACKage) jest standardow± bibliotek± +numeryczn± do algebry liniowej. Dostarcza funkcje rozwi±zywania: +uk³adów równañ liniowych, uk³adów równañ metod± najmniejszych +kwadratów, problemów w³asnych. Zawiera algorytmy faktoryzacji macierzy +(LU, Cholesky'ego, QR, SVD, Schura, uogólnion± Schura) i zwi±zanych z +tym obliczeñ (np. przenumerowywanie w faktoryzacji Schura i estymacjê +uwarunkowania). CLAPACK mo¿e obs³ugiwaæ macierze blokowe i pasmowe, +ale nie rzadkie w ogólnym przypadku. Zapewnia funkcjonalno¶æ dla +macierzy rzeczywistych i zespolonych, dla liczb pojedynczej i +podwójnej precyzji. CLAPACK jest napisany w Fortranie 77 i +przetlumaczony na C przy u¿yciu f2c. %package devel -Summary: LAPACK header files -Summary(pl): Pliki nag³ówkowe LAPACK +Summary: CLAPACK header files +Summary(pl): Pliki nag³ówkowe CLAPACK Group: Development/Libraries Group(de): Entwicklung/Libraries Group(es): Desarrollo/Bibliotecas @@ -60,17 +62,16 @@ Group(pt_BR): Desenvolvimento/Bibliotecas Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ Requires: %{name} = %{version} -Obsoletes: lapack-man %description devel -LAPACK header files. +CLAPACK header files. %description devel -l pl -Pliki nag³ówkowe LAPACK. +Pliki nag³ówkowe CLAPACK. %package static -Summary: Static LAPACK libraries -Summary(pl): Biblioteki statyczne LAPACK +Summary: Static CLAPACK libraries +Summary(pl): Biblioteki statyczne CLAPACK Group: Development/Libraries Group(de): Entwicklung/Libraries Group(es): Desarrollo/Bibliotecas @@ -82,14 +83,14 @@ Group(uk): Requires: %{name}-devel = %{version} %description static -Static LAPACK libraries. +Static CLAPACK libraries. -%description -l pl static -Biblioteki statyczne LAPACK. +%description static -l pl +Biblioteki statyczne CLAPACK. -%package -n blas -Summary: The BLAS (Basic Linear Algebra Subprograms) library for Linux -Summary(pl): Biblioteka BLAS (Basic Linear Algebra Subprograms) dla Linuksa +%package -n cblas +Summary: The CBLAS (Basic Linear Algebra Subprograms) library for Linux +Summary(pl): Biblioteka CBLAS (Basic Linear Algebra Subprograms) dla Linuksa Group: Development/Libraries Group(de): Entwicklung/Libraries Group(es): Desarrollo/Bibliotecas @@ -98,23 +99,22 @@ Group(pl): Programowanie/Biblioteki Group(pt_BR): Desenvolvimento/Bibliotecas Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ -Obsoletes: lapack-blas -%description -n blas -BLAS (Basic Linear Algebra Subprograms) is a standard library for -numerical algebra. BLAS provides a number of basic algorithms for -linear algebra. BLAS is fast and well-tested, was written in FORTRAN +%description -n cblas +CBLAS (Basic Linear Algebra Subprograms) is a standard library for +numerical algebra. CBLAS provides a number of basic algorithms for +linear algebra. CBLAS is fast and well-tested, was written in FORTRAN 77. -%description -n blas -l pl -BLAS (Basic Linear Algebra Subprograms) jest standardow± bibliotek± +%description -n cblas -l pl +CBLAS (Basic Linear Algebra Subprograms) jest standardow± bibliotek± numeryczn± algebry. Dostarcza wiele podstawowych algorytmów dla algebry liniowej. Jest szybka i dobrze przetestowana, zosta³a napisana w Fortranie 77. -%package -n blas-devel -Summary: BLAS header files -Summary(pl): Pliki nag³ówkowe BLAS +%package -n cblas-devel +Summary: CBLAS header files +Summary(pl): Pliki nag³ówkowe CBLAS Group: Development/Libraries Group(de): Entwicklung/Libraries Group(es): Desarrollo/Bibliotecas @@ -124,17 +124,16 @@ Group(pt_BR): Desenvolvimento/Bibliotecas Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ Requires: blas = %{version} -Obsoletes: blas-man -%description -n blas-devel -BLAS header files. +%description -n cblas-devel +CBLAS header files. -%description -n blas-devel -l pl -Pliki nag³ówkowe BLAS. +%description -n cblas-devel -l pl +Pliki nag³ówkowe CBLAS. -%package -n blas-static -Summary: Static BLAS libraries -Summary(pl): Biblioteki statyczne BLAS +%package -n cblas-static +Summary: Static CBLAS libraries +Summary(pl): Biblioteki statyczne CBLAS Group: Development/Libraries Group(de): Entwicklung/Libraries Group(es): Desarrollo/Bibliotecas @@ -143,17 +142,17 @@ Group(pl): Programowanie/Biblioteki Group(pt_BR): Desenvolvimento/Bibliotecas Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ -Requires: blas-devel = %{version} +Requires: cblas-devel = %{version} -%description -n blas-static -Static BLAS libraries. +%description -n cblas-static +Static CBLAS libraries. -%description -n blas-static -l pl -Biblioteki statyczne BLAS. +%description -n cblas-static -l pl +Biblioteki statyczne CBLAS. %prep -%setup -q -a1 -n CLAPACK -#%patch0 -p1 +%setup -q -n CLAPACK +%patch0 -p1 # directory INSTALL conflicts with file INSTALL needed by automake mv -f INSTALL install >INSTALL @@ -176,55 +175,44 @@ autoconf %install rm -rf $RPM_BUILD_ROOT #workaround libtool -ed SRC/liblapack.la < blasmans.list -find blas/man/manl -name "*.l" -printf "%{_mandir}/man3/%%f\n" | sed 's/\.l/.3*/' >> blasmans.list -echo "%defattr(644, root, root, 755)" > mans.list -find man/manl -name "*.l" -printf "%{_mandir}/man3/%%f\n" | sed 's/\.l/.3*/' >> mans.list - -gzip -9nf README - %clean rm -fr $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%post -n blas -p /sbin/ldconfig -%postun -n blas -p /sbin/ldconfig +%post -n cblas -p /sbin/ldconfig +%postun -n cblas -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc README* -%attr(755,root,root) %{_libdir}/liblapack.so.*.*.* +%attr(755,root,root) %{_libdir}/libclapack.so.*.*.* -%files devel -f mans.list +%files devel %defattr(644,root,root,755) -%{_libdir}/liblapack.so +%{_libdir}/libclapack.so +%{_includedir}/clapack.h %files static %defattr(644,root,root,755) -%{_libdir}/liblapack.a +%{_libdir}/libclapack.a -%files -n blas +%files -n cblas %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libblas.so.*.*.* +%attr(755,root,root) %{_libdir}/libcblas.so.*.*.* -%files -n blas-devel -f blasmans.list +%files -n cblas-devel %defattr(644,root,root,755) -%{_libdir}/libblas.so +%{_libdir}/libcblas.so -%files -n blas-static +%files -n cblas-static %defattr(644,root,root,755) -%{_libdir}/libblas.a +%{_libdir}/libcblas.a