From cf338763a72bdd8edd320f0ea9939f35e8a0a23c Mon Sep 17 00:00:00 2001 From: dobrek Date: Fri, 14 Dec 2001 16:02:24 +0000 Subject: [PATCH] -Not started yet. Changed files: clapack.spec -> 1.1 --- clapack.spec | 230 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 230 insertions(+) create mode 100644 clapack.spec diff --git a/clapack.spec b/clapack.spec new file mode 100644 index 0000000..df67f78 --- /dev/null +++ b/clapack.spec @@ -0,0 +1,230 @@ +Summary: The CLAPACK libraries for numerical linear algebra +Summary(pl): Biblioteki numeryczne CLAPACK do algebry liniowej +Name: clapack +Version: 3.0 +Release: 3 +License: Freely distributable +Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ +Source0: http://www.netlib.org/clapack/%{name}.tgz +Patch0: %{name}-automake_support.patch +URL: http://www.netlib.org/clapack/ +BuildRequires: gcc-g77 +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: ed +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +Requires: blas + +%description +LAPACK (Linear Algebra PACKage) is a standard library for numerical +linear algebra. LAPACK 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 +not general sparse matrices. Similar functionality is provided for +real and complex matrices in both single and double precision. LAPACK +is coded in Fortran77. + +%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. + +%package devel +Summary: LAPACK header files +Summary(pl): Pliki nag³ówkowe LAPACK +Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ +Requires: %{name} = %{version} +Obsoletes: lapack-man + +%description devel +LAPACK header files. + +%description devel -l pl +Pliki nag³ówkowe LAPACK. + +%package static +Summary: Static LAPACK libraries +Summary(pl): Biblioteki statyczne LAPACK +Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ +Requires: %{name}-devel = %{version} + +%description static +Static LAPACK libraries. + +%description -l pl static +Biblioteki statyczne LAPACK. + +%package -n blas +Summary: The BLAS (Basic Linear Algebra Subprograms) library for Linux +Summary(pl): Biblioteka BLAS (Basic Linear Algebra Subprograms) dla Linuksa +Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies +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 +77. + +%description -n blas -l pl +BLAS (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 +Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ +Requires: blas = %{version} +Obsoletes: blas-man + +%description -n blas-devel +BLAS header files. + +%description -n blas-devel -l pl +Pliki nag³ówkowe BLAS. + +%package -n blas-static +Summary: Static BLAS libraries +Summary(pl): Biblioteki statyczne BLAS +Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ +Requires: blas-devel = %{version} + +%description -n blas-static +Static BLAS libraries. + +%description -n blas-static -l pl +Biblioteki statyczne BLAS. + +%prep +%setup -q -a1 -n CLAPACK +#%patch0 -p1 +# directory INSTALL conflicts with file INSTALL needed by automake +mv -f INSTALL install +>INSTALL +>AUTHORS +>ChangeLog +>NEWS +>COPYING +#>config.h.in + +%build +rm -f ltmain.sh +libtoolize --copy --force +aclocal +autoheader +automake --add-missing +autoconf +%configure +%{__make} + +%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 + +%files +%defattr(644,root,root,755) +%doc README* +%attr(755,root,root) %{_libdir}/liblapack.so.*.*.* + +%files devel -f mans.list +%defattr(644,root,root,755) +%{_libdir}/liblapack.so + +%files static +%defattr(644,root,root,755) +%{_libdir}/liblapack.a + +%files -n blas +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libblas.so.*.*.* + +%files -n blas-devel -f blasmans.list +%defattr(644,root,root,755) +%{_libdir}/libblas.so + +%files -n blas-static +%defattr(644,root,root,755) +%{_libdir}/libblas.a -- 2.44.0