]> git.pld-linux.org Git - packages/lapack.git/blame - lapack.spec
- updated for version 3.1.1
[packages/lapack.git] / lapack.spec
CommitLineData
1d0d5108 1Summary: The LAPACK libraries for numerical linear algebra
084ff819 2Summary(pl.UTF-8): Biblioteki numeryczne LAPACK do algebry liniowej
3c513ef3 3Name: lapack
4Version: 3.0
873af485 5Release: 19
61effd37 6License: freely distributable
3c513ef3 7Group: Development/Libraries
c5eb3977 8Source0: http://www.netlib.org/lapack/%{name}.tgz
0e301ae7 9# Source0-md5: a24f59304f87b78cdc7da2ae59c98664
c5eb3977 10Source1: http://www.netlib.org/lapack/manpages.tgz
0e301ae7 11# Source1-md5: 50efab6cd73a9429584f7f1537f1727f
448f9206 12Patch0: %{name}-automake_support.patch
ab74ae1b 13Patch1: %{name}-20010525.patch
873af485 14Patch2: %{name}-gcc420.patch
3c513ef3 15URL: http://www.netlib.org/lapack/
6ec8881e
JB
16BuildRequires: autoconf
17BuildRequires: automake
4863fd81 18BuildRequires: gcc-g77
584ffaf6
JB
19BuildRequires: libtool >= 2:1.5
20Requires: blas = %{version}-%{release}
64123b99 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3c513ef3 22
23%description
24LAPACK (Linear Algebra PACKage) is a standard library for numerical
25linear algebra. LAPACK provides routines for solving systems of
26simultaneous linear equations, least-squares solutions of linear
27systems of equations, eigenvalue problems, and singular value
28problems. Associated matrix factorizations (LU, Cholesky, QR, SVD,
29Schur, and generalized Schur) and related computations (i.e.,
30reordering of Schur factorizations and estimating condition numbers)
31are also included. LAPACK can handle dense and banded matrices, but
32not general sparse matrices. Similar functionality is provided for
33real and complex matrices in both single and double precision. LAPACK
6ec8881e
JB
34is coded in Fortran77.
35
eb8f2cff
JR
36%description -l pl.UTF-8
37LAPACK (Linear Algebra PACKage) jest standardową biblioteką numeryczną
38do algebry liniowej. Dostarcza funkcje rozwiązywania: układów równań
39liniowych, układów równań metodą najmniejszych kwadratów, problemów
40własnych. Zawiera algorytmy faktoryzacji macierzy (LU, Cholesky'ego,
41QR, SVD, Schura, uogólnioną Schura) i związanych z tym obliczeń (np.
42przenumerowywanie w faktoryzacji Schura i estymację uwarunkowania).
43LAPACK może obsługiwać macierze blokowe i pasmowe, ale nie rzadkie w
44ogólnym przypadku. Zapewnia funkcjonalność dla macierzy rzeczywistych
45i zespolonych, dla liczb pojedynczej i podwójnej precyzji. LAPACK jest
6ec8881e 46napisany w Fortranie 77.
3c513ef3 47
f1593bb3 48%package devel
6ec8881e 49Summary: LAPACK header files
084ff819 50Summary(pl.UTF-8): Pliki nagłówkowe LAPACK
f1593bb3 51Group: Development/Libraries
584ffaf6
JB
52Requires: %{name} = %{version}-%{release}
53Requires: blas-devel = %{version}-%{release}
1d0d5108 54Obsoletes: lapack-man
f1593bb3 55
56%description devel
6ec8881e 57LAPACK header files.
f1593bb3 58
eb8f2cff
JR
59%description devel -l pl.UTF-8
60Pliki nagłówkowe LAPACK.
f1593bb3 61
62%package static
6ec8881e 63Summary: Static LAPACK libraries
084ff819 64Summary(pl.UTF-8): Biblioteki statyczne LAPACK
f1593bb3 65Group: Development/Libraries
584ffaf6 66Requires: %{name}-devel = %{version}-%{release}
f1593bb3 67
68%description static
6ec8881e 69Static LAPACK libraries.
f1593bb3 70
eb8f2cff 71%description static -l pl.UTF-8
6ec8881e 72Biblioteki statyczne LAPACK.
f1593bb3 73
3c513ef3 74%package -n blas
6ec8881e 75Summary: The BLAS (Basic Linear Algebra Subprograms) library for Linux
084ff819 76Summary(pl.UTF-8): Biblioteka BLAS (Basic Linear Algebra Subprograms) dla Linuksa
3c513ef3 77Group: Development/Libraries
3c513ef3 78Obsoletes: lapack-blas
79
80%description -n blas
81BLAS (Basic Linear Algebra Subprograms) is a standard library for
82numerical algebra. BLAS provides a number of basic algorithms for
83linear algebra. BLAS is fast and well-tested, was written in FORTRAN
6ec8881e
JB
8477.
85
1599bb15
RW
86Warning: this is a reference implementation from Netlib. If possible,
87use version optimized for your architecture instead.
88
eb8f2cff
JR
89%description -n blas -l pl.UTF-8
90BLAS (Basic Linear Algebra Subprograms) jest standardową biblioteką
91numeryczną algebry. Dostarcza wiele podstawowych algorytmów dla
92algebry liniowej. Jest szybka i dobrze przetestowana, została napisana
6ec8881e 93w Fortranie 77.
3c513ef3 94
eb8f2cff
JR
95Ostrzeżenie: to jest implementacja przykładowa z repozytorium Netlib.
96Jeżeli to możliwe, należy używać zamiast niej wersji zoptymalizowanej
97pod daną architekturę.
1599bb15 98
f1593bb3 99%package -n blas-devel
6ec8881e 100Summary: BLAS header files
084ff819 101Summary(pl.UTF-8): Pliki nagłówkowe BLAS
f1593bb3 102Group: Development/Libraries
584ffaf6 103Requires: blas = %{version}-%{release}
1d0d5108 104Obsoletes: blas-man
f1593bb3 105
106%description -n blas-devel
6ec8881e 107BLAS header files.
f1593bb3 108
eb8f2cff
JR
109%description -n blas-devel -l pl.UTF-8
110Pliki nagłówkowe BLAS.
f1593bb3 111
112%package -n blas-static
6ec8881e 113Summary: Static BLAS libraries
084ff819 114Summary(pl.UTF-8): Biblioteki statyczne BLAS
f1593bb3 115Group: Development/Libraries
584ffaf6 116Requires: blas-devel = %{version}-%{release}
f1593bb3 117
118%description -n blas-static
6ec8881e 119Static BLAS libraries.
f1593bb3 120
eb8f2cff 121%description -n blas-static -l pl.UTF-8
6ec8881e 122Biblioteki statyczne BLAS.
f1593bb3 123
3c513ef3 124%prep
d51e15b2 125%setup -q -a1 -n LAPACK
448f9206 126%patch0 -p1
ab74ae1b 127%patch1 -p1
873af485 128%patch2 -p1
448f9206 129# directory INSTALL conflicts with file INSTALL needed by automake
130mv -f INSTALL install
3c513ef3 131
132%build
ed70c195 133%{__libtoolize}
b3e8fdec 134%{__aclocal}
135%{__autoheader}
c3e4ee63 136%{__autoconf}
ed70c195 137%{__automake}
ea4aa0a4 138%configure
ed70c195 139
584ffaf6
JB
140%{__make} \
141 LTTAG="--tag=F77"
3c513ef3 142
143%install
144rm -rf $RPM_BUILD_ROOT
64123b99 145
584ffaf6
JB
146%{__make} install \
147 DESTDIR=$RPM_BUILD_ROOT
448f9206 148
ed70c195
JB
149# present both in blas and lapack
150rm -f man/manl/{lsame,xerbla}.l
151
3d16712d
JB
152install -d $RPM_BUILD_ROOT%{_mandir}/man3
153for d in man/manl/*.l blas/man/manl/*.l ; do
154 install $d $RPM_BUILD_ROOT%{_mandir}/man3/`basename $d .l`.3
155done
448f9206 156
157echo "%defattr(644, root, root, 755)" > blasmans.list
3d16712d 158find blas/man/manl -name "*.l" -printf "%{_mandir}/man3/%%f\n" | sed 's/\.l/.3*/' >> blasmans.list
448f9206 159echo "%defattr(644, root, root, 755)" > mans.list
3d16712d 160find man/manl -name "*.l" -printf "%{_mandir}/man3/%%f\n" | sed 's/\.l/.3*/' >> mans.list
448f9206 161
6ec8881e
JB
162%clean
163rm -fr $RPM_BUILD_ROOT
164
ed70c195
JB
165%post -p /sbin/ldconfig
166%postun -p /sbin/ldconfig
1d0d5108 167
448f9206 168%post -n blas -p /sbin/ldconfig
169%postun -n blas -p /sbin/ldconfig
3c513ef3 170
3c513ef3 171%files
172%defattr(644,root,root,755)
ed70c195 173%doc README
f1593bb3 174%attr(755,root,root) %{_libdir}/liblapack.so.*.*.*
175
1d0d5108 176%files devel -f mans.list
f1593bb3 177%defattr(644,root,root,755)
64123b99
JB
178%attr(755,root,root) %{_libdir}/liblapack.so
179%{_libdir}/liblapack.la
f1593bb3 180
181%files static
182%defattr(644,root,root,755)
183%{_libdir}/liblapack.a
3c513ef3 184
ea4aa0a4 185%files -n blas
3c513ef3 186%defattr(644,root,root,755)
d51e15b2 187%attr(755,root,root) %{_libdir}/libblas.so.*.*.*
f1593bb3 188
1d0d5108 189%files -n blas-devel -f blasmans.list
f1593bb3 190%defattr(644,root,root,755)
64123b99
JB
191%attr(755,root,root) %{_libdir}/libblas.so
192%{_libdir}/libblas.la
f1593bb3 193
194%files -n blas-static
195%defattr(644,root,root,755)
196%{_libdir}/libblas.a
This page took 0.132852 seconds and 4 git commands to generate.