]> git.pld-linux.org Git - packages/lapack.git/blame - lapack.spec
- dropped pre-cvs changelog
[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
320f14ae 4Version: 3.3.0
c42e604c 5%define man_ver 3.2.0
320f14ae 6Release: 1
61effd37 7License: freely distributable
4d771884 8Group: Libraries
a1923521 9Source0: http://www.netlib.org/lapack/%{name}-%{version}.tgz
320f14ae 10# Source0-md5: 84213fca70936cc5f1b59a7b1bf71697
c42e604c
JB
11Source1: http://www.netlib.org/lapack/manpages-%{man_ver}.tgz
12# Source1-md5: 145007cab915504caec382289462a166
448f9206 13Patch0: %{name}-automake_support.patch
8a7beb04 14Patch1: blas-nan.patch
3c513ef3 15URL: http://www.netlib.org/lapack/
6ec8881e
JB
16BuildRequires: autoconf
17BuildRequires: automake
a1923521 18BuildRequires: gcc-fortran
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
e956dfe5
JB
49Summary: LAPACK development files
50Summary(pl.UTF-8): Pliki programistyczne 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
e956dfe5 57LAPACK development files.
f1593bb3 58
eb8f2cff 59%description devel -l pl.UTF-8
e956dfe5 60Pliki programistyczne 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
4d771884 77Group: 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
e956dfe5
JB
100Summary: BLAS development files
101Summary(pl.UTF-8): Pliki programistyczne BLAS
f1593bb3 102Group: Development/Libraries
584ffaf6 103Requires: blas = %{version}-%{release}
1d0d5108 104Obsoletes: blas-man
f1593bb3 105
106%description -n blas-devel
e956dfe5 107BLAS development files.
f1593bb3 108
eb8f2cff 109%description -n blas-devel -l pl.UTF-8
e956dfe5 110Pliki programistyczne 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
a1923521 125%setup -q -a1
448f9206 126%patch0 -p1
8a7beb04 127%patch1 -p1
c42e604c 128mv -f lapack-%{man_ver}/manpages .
448f9206 129# directory INSTALL conflicts with file INSTALL needed by automake
c42e604c
JB
130mv -f INSTALL INSTALLSRC
131# copy selected routines; use INT_ETIME versions of second
132cp -f INSTALLSRC/{ilaver,slamch,dlamch,second_INT_ETIME,dsecnd_INT_ETIME}.f SRC
3c513ef3 133
134%build
ed70c195 135%{__libtoolize}
b3e8fdec 136%{__aclocal}
137%{__autoheader}
c3e4ee63 138%{__autoconf}
ed70c195 139%{__automake}
ea4aa0a4 140%configure
ed70c195 141
c42e604c 142%{__make}
3c513ef3 143
144%install
145rm -rf $RPM_BUILD_ROOT
64123b99 146
584ffaf6
JB
147%{__make} install \
148 DESTDIR=$RPM_BUILD_ROOT
448f9206 149
ed70c195 150# present both in blas and lapack
c42e604c 151%{__rm} manpages/man/manl/{lsame,xerbla,xerbla_array}.l
ed70c195 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
e956dfe5 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
e956dfe5 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.*.*.*
e956dfe5 176%attr(755,root,root) %ghost %{_libdir}/liblapack.so.2
f1593bb3 177
1d0d5108 178%files devel -f mans.list
f1593bb3 179%defattr(644,root,root,755)
64123b99
JB
180%attr(755,root,root) %{_libdir}/liblapack.so
181%{_libdir}/liblapack.la
f1593bb3 182
183%files static
184%defattr(644,root,root,755)
185%{_libdir}/liblapack.a
3c513ef3 186
ea4aa0a4 187%files -n blas
3c513ef3 188%defattr(644,root,root,755)
d51e15b2 189%attr(755,root,root) %{_libdir}/libblas.so.*.*.*
e956dfe5 190%attr(755,root,root) %ghost %{_libdir}/libblas.so.2
f1593bb3 191
1d0d5108 192%files -n blas-devel -f blasmans.list
f1593bb3 193%defattr(644,root,root,755)
64123b99
JB
194%attr(755,root,root) %{_libdir}/libblas.so
195%{_libdir}/libblas.la
f1593bb3 196
197%files -n blas-static
198%defattr(644,root,root,755)
199%{_libdir}/libblas.a
This page took 2.271957 seconds and 4 git commands to generate.