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