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