]> git.pld-linux.org Git - packages/clapack.git/blobdiff - clapack.spec
- f2c -> libf2c-devel
[packages/clapack.git] / clapack.spec
index 8f1c63cd6947e849c1dd2b455e236f734e3adbcd..78a2dac3a61fe9eb0f17a0b062fc1a68ad54ba4d 100644 (file)
@@ -1,21 +1,22 @@
 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
+Version:       3.2.1
+Release:       2
 License:       freely distributable
 Group:         Development/Libraries
-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/lapack/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: ed
+Source0:       http://www.netlib.org/clapack/%{name}-%{version}-CMAKE.tgz
+# Source0-md5: 4fd18eb33f3ff8c5d65a7d43913d661b
+Patch0:                %{name}-%{version}-fix_include_file.patch
+Patch1:                %{name}-%{version}-noblasf2c.patch
+Patch2:                %{name}-%{version}-hang.patch
+Patch3:                %{name}-%{version}-findblas-r6.patch
+URL:           http://www.netlib.org/clapack/
+BuildRequires: cmake
+BuildRequires: libf2c-devel
 BuildRequires: gcc-g77
-BuildRequires: libtool
+BuildRequires: libtool >= 1:1.4.2-9
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Requires:      cblas
 
 %description
 CLAPACK (Linear Algebra PACKage) is a standard library for numerical
@@ -30,124 +31,69 @@ 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
+%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
-przetlumaczony na C przy u¿yciu f2c.
+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
-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
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static CLAPACK libraries.
 
-%description static -l pl
+%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
-Group:         Development/Libraries
-
-%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 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 cblas-devel
-Summary:       CBLAS header files
-Summary(pl):   Pliki nag³ówkowe CBLAS
-Group:         Development/Libraries
-Requires:      blas = %{version}
-
-%description -n cblas-devel
-CBLAS header files.
-
-%description -n cblas-devel -l pl
-Pliki nag³ówkowe CBLAS.
-
-%package -n cblas-static
-Summary:       Static CBLAS libraries
-Summary(pl):   Biblioteki statyczne CBLAS
-Group:         Development/Libraries
-Requires:      cblas-devel = %{version}
-
-%description -n cblas-static
-Static CBLAS libraries.
-
-%description -n cblas-static -l pl
-Biblioteki statyczne CBLAS.
-
 %prep
-%setup -q -n CLAPACK
+%setup -q -n %{name}-%{version}-CMAKE
 %patch0 -p1
-# directory INSTALL conflicts with file INSTALL needed by automake
-mv -f INSTALL install
->INSTALL
->AUTHORS
->ChangeLog
->NEWS
->COPYING
-#>config.h.in
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
-rm -f ltmain.sh
-%{__libtoolize}
-aclocal
-autoheader
-automake --add-missing
-%{__autoconf}
-%configure
+install -d build
+cd build
+%cmake \
+       ..
+
 %{__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
 
-%clean
-rm -fr $RPM_BUILD_ROOT
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-%post           -p /sbin/ldconfig
-%postun         -p /sbin/ldconfig
+%clean
+rm -rf $RPM_BUILD_ROOT
 
-%post   -n cblas -p /sbin/ldconfig
-%postun -n cblas -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
@@ -157,20 +103,5 @@ rm -fr $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %{_libdir}/libclapack.so
-%{_includedir}/clapack.h
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/libclapack.a
-
-%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
-
-%files -n cblas-static
-%defattr(644,root,root,755)
-%{_libdir}/libcblas.a
+%{_includedir}/clapack
+%{_datadir}/cmake/Modules/clapack*.cmake
This page took 0.073349 seconds and 4 git commands to generate.