]> git.pld-linux.org Git - packages/lapack.git/blame - lapack.spec
- added building libraries using automake/autoconf
[packages/lapack.git] / lapack.spec
CommitLineData
3c513ef3 1Summary: The LAPACK libraries for numerical linear algebra.
2Name: lapack
3Version: 3.0
4Release: 4
5Copyright: Freely distributable
6Group: Development/Libraries
7Group(fr): Development/Librairies
8Group(pl): Programowanie/Biblioteki
9Source0: http://www.netlib.org/lapack/%{name}.tar.bz2
10Source1: http://www.netlib.org/lapack/manpages.tar.bz2
448f9206 11#Source2: Makefile.blas
12#Source3: Makefile.lapack
13Patch0: %{name}-automake_support.patch
3c513ef3 14URL: http://www.netlib.org/lapack/
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18LAPACK (Linear Algebra PACKage) is a standard library for numerical
19linear algebra. LAPACK provides routines for solving systems of
20simultaneous linear equations, least-squares solutions of linear
21systems of equations, eigenvalue problems, and singular value
22problems. Associated matrix factorizations (LU, Cholesky, QR, SVD,
23Schur, and generalized Schur) and related computations (i.e.,
24reordering of Schur factorizations and estimating condition numbers)
25are also included. LAPACK can handle dense and banded matrices, but
26not general sparse matrices. Similar functionality is provided for
27real and complex matrices in both single and double precision. LAPACK
28is coded in Fortran77 and is built with egcs.
29
30%package -n blas
31Summary: The BLAS (Basic Linear Algebra Subprograms) library for Linux.
32Group: Development/Libraries
33Group(fr): Development/Librairies
34Group(pl): Programowanie/Biblioteki
35Obsoletes: lapack-blas
36
37%description -n blas
38BLAS (Basic Linear Algebra Subprograms) is a standard library for
39numerical algebra. BLAS provides a number of basic algorithms for
40linear algebra. BLAS is fast and well-tested, was written in FORTRAN
4177 and build with egcs. BLAS manual pages are available in the
42blas-man package.
43
44%package -n blas-man
45Summary: Man pages for BLAS (Basic Linear Algebra Subprograms) routines.
46Group: Documentation
47Group(pl): Dokumentacja
48Obsoletes: lapack-blas-man
49
50%description -n blas-man
51The blas-man package contains documentation for BLAS (Basic Linear
52Algebra Subprograms) routines, in the form of man pages.
53
54%package man
55Summary: Documentation for the LAPACK numerical linear algebra libraries.
56Group: Documentation
57Group(pl): Dokumentacja
58
59%description man
60Documentation, in the form of man pages, for the LAPACK numerical
61linear algebra libraries.
62
63%prep
64%setup -q -n LAPACK
65%setup -q -D -T -a 1 -n LAPACK
448f9206 66%patch0 -p1
67# directory INSTALL conflicts with file INSTALL needed by automake
68mv -f INSTALL install
69>INSTALL
70>AUTHORS
71>ChangeLog
72>NEWS
73>COPYING
74>config.h.in
3c513ef3 75
76%build
448f9206 77aclocal
78autoheader
79automake --add-missing
80autoconf
81%configure
82%{__make}
3c513ef3 83
84%install
85rm -rf $RPM_BUILD_ROOT
448f9206 86%{__make} install DESTDIR=$RPM_BUILD_ROOT
87
88install -d $RPM_BUILD_ROOT%{_mandir}/manl
89gzip -9nf blas/man/manl/*.l man/manl/*.l
90install blas/man/manl/* man/manl/* $RPM_BUILD_ROOT%{_mandir}/manl
91
92echo "%defattr(644, root, root, 755)" > blasmans.list
93find blas/man/manl -name "*.gz" -printf "%{_mandir}/manl/%%f\n" >> blasmans.list
94echo "%defattr(644, root, root, 755)" > mans.list
95find man/manl -name "*.gz" -printf "%{_mandir}/manl/%%f\n" >> mans.list
96
97gzip -9nf README
98
99%post -p /sbin/ldconfig
100%postun -p /sbin/ldconfig
101%post -n blas -p /sbin/ldconfig
102%postun -n blas -p /sbin/ldconfig
3c513ef3 103
104%clean
105rm -fr $RPM_BUILD_ROOT
106
107%files
108%defattr(644,root,root,755)
448f9206 109%doc README*
110%attr(755,root,root) %{_libdir}/liblapack.*
3c513ef3 111
448f9206 112%files -n blas
3c513ef3 113%defattr(644,root,root,755)
114%{_libdir}/libblas.*
115
448f9206 116%files -n blas-man -f blasmans.list
3c513ef3 117%defattr(644,root,root,755)
118
448f9206 119%files man -f mans.list
3c513ef3 120%defattr(644,root,root,755)
This page took 0.065774 seconds and 4 git commands to generate.