]> git.pld-linux.org Git - packages/lapack.git/blame - lapack.spec
- updated to 3.3.1 (manpages too)
[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
70328b5c
JB
4Version: 3.3.1
5%define man_ver 3.3.1
320f14ae 6Release: 1
61effd37 7License: freely distributable
4d771884 8Group: Libraries
a1923521 9Source0: http://www.netlib.org/lapack/%{name}-%{version}.tgz
70328b5c 10# Source0-md5: d0d533ec9a5b74933c2a1e84eedc58b4
c42e604c 11Source1: http://www.netlib.org/lapack/manpages-%{man_ver}.tgz
70328b5c 12# Source1-md5: 0f88dbcf41bb53ef98890ee834da913e
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
448f9206 128# directory INSTALL conflicts with file INSTALL needed by automake
c42e604c
JB
129mv -f INSTALL INSTALLSRC
130# copy selected routines; use INT_ETIME versions of second
131cp -f INSTALLSRC/{ilaver,slamch,dlamch,second_INT_ETIME,dsecnd_INT_ETIME}.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
c42e604c 141%{__make}
3c513ef3 142
143%install
144rm -rf $RPM_BUILD_ROOT
64123b99 145
584ffaf6
JB
146%{__make} install \
147 DESTDIR=$RPM_BUILD_ROOT
448f9206 148
ed70c195 149# present both in blas and lapack
c42e604c 150%{__rm} manpages/man/manl/{lsame,xerbla,xerbla_array}.l
ed70c195 151
3d16712d 152install -d $RPM_BUILD_ROOT%{_mandir}/man3
ad555879 153for d in manpages/man/manl/*.l manpages/blas/man/manl/*.l ; do
3d16712d
JB
154 install $d $RPM_BUILD_ROOT%{_mandir}/man3/`basename $d .l`.3
155done
448f9206 156
e956dfe5 157echo "%defattr(644,root,root,755)" > blasmans.list
ad555879 158find manpages/blas/man/manl -name "*.l" -printf "%{_mandir}/man3/%%f\n" | sed 's/\.l/.3*/' >> blasmans.list
e956dfe5 159echo "%defattr(644,root,root,755)" > mans.list
ad555879 160find manpages/man/manl -name "*.l" -printf "%{_mandir}/man3/%%f\n" | sed 's/\.l/.3*/' >> mans.list
448f9206 161
6ec8881e 162%clean
5f8b7996 163rm -rf $RPM_BUILD_ROOT
6ec8881e 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.*.*.*
e956dfe5 175%attr(755,root,root) %ghost %{_libdir}/liblapack.so.2
f1593bb3 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
70328b5c 181%{_pkgconfigdir}/lapack.pc
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
70328b5c 196%{_pkgconfigdir}/blas.pc
f1593bb3 197
198%files -n blas-static
199%defattr(644,root,root,755)
200%{_libdir}/libblas.a
This page took 0.641043 seconds and 4 git commands to generate.