]> git.pld-linux.org Git - packages/clapack.git/blobdiff - clapack.spec
- rel 3
[packages/clapack.git] / clapack.spec
index 9c9eae60578cf4f32fd2521f491fe77d01aecbf5..8e1eb6d86d457c425bb5ba88dbe5d6f3c4a4887d 100644 (file)
@@ -1,28 +1,21 @@
 Summary:       The CLAPACK libraries for numerical linear algebra
-Summary(pl):   Biblioteki numeryczne CLAPACK do algebry liniowej
+Summary(pl.UTF-8):     Biblioteki numeryczne CLAPACK do algebry liniowej
 Name:          clapack
 Version:       3.0
-Release:       1
-License:       Freely distributable
+Release:       4
+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
+# Source0-md5: 1b6d89b3352d0c678e50a03724458053
 #Source1:      http://www.netlib.org/clapack/manpages.tgz
 Patch0:                %{name}-automake_support.patch
-URL:           http://www.netlib.org/lapack/
-BuildRequires: gcc-g77
+URL:           http://www.netlib.org/clapack/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: libtool
-BuildRequires: ed
+BuildRequires: gcc-g77
+BuildRequires: libtool >= 1:1.4.2-9
+Requires:      cblas = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Requires:      cblas
 
 %description
 CLAPACK (Linear Algebra PACKage) is a standard library for numerical
@@ -37,67 +30,47 @@ not general sparse matrices. Similar functionality is provided for
 real and complex matrices in both single and double precision. CLAPACK
 is coded in Fortran77 and translated to C using f2c.
 
-%description -l pl
-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 urzyciu f2c.
+%description -l pl.UTF-8
+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. przenumerowanie 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
+przetłumaczony na C przy użyciu f2c.
 
 %package devel
 Summary:       CLAPACK header files
-Summary(pl):   Pliki nag³ówkowe CLAPACK
+Summary(pl.UTF-8):     Pliki nagłówkowe CLAPACK
 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}
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 CLAPACK header files.
 
-%description devel -l pl
-Pliki nag³ówkowe CLAPACK.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe CLAPACK.
 
 %package static
 Summary:       Static CLAPACK libraries
-Summary(pl):   Biblioteki statyczne CLAPACK
+Summary(pl.UTF-8):     Biblioteki statyczne CLAPACK
 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}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static CLAPACK libraries.
 
-%description -l pl static
+%description static -l pl.UTF-8
 Biblioteki statyczne CLAPACK.
 
 %package -n cblas
 Summary:       The CBLAS (Basic Linear Algebra Subprograms) library for Linux
-Summary(pl):   Biblioteka CBLAS (Basic Linear Algebra Subprograms) dla Linuksa
+Summary(pl.UTF-8):     Biblioteka CBLAS (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):     òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
 
 %description -n cblas
 CBLAS (Basic Linear Algebra Subprograms) is a standard library for
@@ -105,48 +78,34 @@ 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 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
+%description -n cblas -l pl.UTF-8
+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 cblas-devel
 Summary:       CBLAS header files
-Summary(pl):   Pliki nag³ówkowe CBLAS
+Summary(pl.UTF-8):     Pliki nagłówkowe CBLAS
 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}
+Requires:      cblas = %{version}-%{release}
 
 %description -n cblas-devel
 CBLAS header files.
 
-%description -n cblas-devel -l pl
-Pliki nag³ówkowe CBLAS.
+%description -n cblas-devel -l pl.UTF-8
+Pliki nagłówkowe CBLAS.
 
 %package -n cblas-static
 Summary:       Static CBLAS libraries
-Summary(pl):   Biblioteki statyczne CBLAS
+Summary(pl.UTF-8):     Biblioteki statyczne CBLAS
 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:      cblas-devel = %{version}
+Requires:      cblas-devel = %{version}-%{release}
 
 %description -n cblas-static
 Static CBLAS libraries.
 
-%description -n cblas-static -l pl
+%description -n cblas-static -l pl.UTF-8
 Biblioteki statyczne CBLAS.
 
 %prep
@@ -154,63 +113,58 @@ Biblioteki statyczne CBLAS.
 %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 
+rm -f ltmain.sh missing
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__automake}
+%{__autoconf}
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-#workaround libtool
-ed SRC/libclapack.la <<EOF
-s/relink_command=.*/relink_command=''/
-w
-q
-EOF
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install BLAS/WRAP/cblas.h $RPM_BUILD_ROOT%{_includedir}
 
 %clean
 rm -fr $RPM_BUILD_ROOT
 
-%post           -p /sbin/ldconfig
-%postun         -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
-%post   -n cblas -p /sbin/ldconfig
-%postun -n cblas -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}/libclapack.so.*.*.*
 
-%files devel 
+%files devel
 %defattr(644,root,root,755)
 %{_libdir}/libclapack.so
+%{_libdir}/libclapack.la
 %{_includedir}/clapack.h
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libclapack.a
 
-%files -n cblas 
+%files -n cblas
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libcblas.so.*.*.*
 
 %files -n cblas-devel
 %defattr(644,root,root,755)
 %{_libdir}/libcblas.so
+%{_libdir}/libcblas.la
+%{_includedir}/cblas.h
 
 %files -n cblas-static
 %defattr(644,root,root,755)
This page took 0.115127 seconds and 4 git commands to generate.