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