]> git.pld-linux.org Git - packages/lapack.git/blob - lapack.spec
- BuildRequires: autoconf, automake, libtool, ed
[packages/lapack.git] / lapack.spec
1 Summary:        The LAPACK libraries for numerical linear algebra
2 Summary(pl):    Biblioteki numeryczne LAPACK do algebry liniowej
3 Name:           lapack
4 Version:        3.0
5 Release:        3
6 License:        Freely distributable
7 Group:          Development/Libraries
8 Group(de):      Entwicklung/Libraries
9 Group(es):      Desarrollo/Bibliotecas
10 Group(fr):      Development/Librairies
11 Group(pl):      Programowanie/Biblioteki
12 Group(pt_BR):   Desenvolvimento/Bibliotecas
13 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
14 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
15 Source0:        http://www.netlib.org/lapack/%{name}.tgz
16 Source1:        http://www.netlib.org/lapack/manpages.tgz
17 #Source2:       Makefile.blas
18 #Source3:       Makefile.lapack
19 Patch0:         %{name}-automake_support.patch
20 URL:            http://www.netlib.org/lapack/
21 BuildRequires:  gcc-g77
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  libtool
25 BuildRequires:  ed
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Requires:       blas
28
29 %description
30 LAPACK (Linear Algebra PACKage) is a standard library for numerical
31 linear algebra. LAPACK provides routines for solving systems of
32 simultaneous linear equations, least-squares solutions of linear
33 systems of equations, eigenvalue problems, and singular value
34 problems. Associated matrix factorizations (LU, Cholesky, QR, SVD,
35 Schur, and generalized Schur) and related computations (i.e.,
36 reordering of Schur factorizations and estimating condition numbers)
37 are also included. LAPACK can handle dense and banded matrices, but
38 not general sparse matrices. Similar functionality is provided for
39 real and complex matrices in both single and double precision. LAPACK
40 is coded in Fortran77.
41
42 %description -l pl
43 LAPACK (Linear Algebra PACKage) jest standardow± bibliotek± numeryczn±
44 do algebry liniowej. Dostarcza funkcje rozwi±zywania: uk³adów równañ
45 liniowych, uk³adów równañ metod± najmniejszych kwadratów, problemów
46 w³asnych. Zawiera algorytmy faktoryzacji macierzy (LU, Cholesky'ego,
47 QR, SVD, Schura, uogólnion± Schura) i zwi±zanych z tym obliczeñ (np.
48 przenumerowywanie w faktoryzacji Schura i estymacjê uwarunkowania).
49 LAPACK mo¿e obs³ugiwaæ macierze blokowe i pasmowe, ale nie rzadkie w
50 ogólnym przypadku. Zapewnia funkcjonalno¶æ dla macierzy rzeczywistych
51 i zespolonych, dla liczb pojedynczej i podwójnej precyzji. LAPACK jest
52 napisany w Fortranie 77.
53
54 %package devel
55 Summary:        LAPACK header files
56 Summary(pl):    Pliki nag³ówkowe LAPACK
57 Group:          Development/Libraries
58 Group(de):      Entwicklung/Libraries
59 Group(es):      Desarrollo/Bibliotecas
60 Group(fr):      Development/Librairies
61 Group(pl):      Programowanie/Biblioteki
62 Group(pt_BR):   Desenvolvimento/Bibliotecas
63 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
64 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
65 Requires:       %{name} = %{version}
66 Obsoletes:      lapack-man
67
68 %description devel
69 LAPACK header files.
70
71 %description devel -l pl
72 Pliki nag³ówkowe LAPACK.
73
74 %package static
75 Summary:        Static LAPACK libraries
76 Summary(pl):    Biblioteki statyczne LAPACK
77 Group:          Development/Libraries
78 Group(de):      Entwicklung/Libraries
79 Group(es):      Desarrollo/Bibliotecas
80 Group(fr):      Development/Librairies
81 Group(pl):      Programowanie/Biblioteki
82 Group(pt_BR):   Desenvolvimento/Bibliotecas
83 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
84 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
85 Requires:       %{name}-devel = %{version}
86
87 %description static
88 Static LAPACK libraries.
89
90 %description -l pl static
91 Biblioteki statyczne LAPACK.
92
93 %package -n blas
94 Summary:        The BLAS (Basic Linear Algebra Subprograms) library for Linux
95 Summary(pl):    Biblioteka BLAS (Basic Linear Algebra Subprograms) dla Linuksa
96 Group:          Development/Libraries
97 Group(de):      Entwicklung/Libraries
98 Group(es):      Desarrollo/Bibliotecas
99 Group(fr):      Development/Librairies
100 Group(pl):      Programowanie/Biblioteki
101 Group(pt_BR):   Desenvolvimento/Bibliotecas
102 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
103 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
104 Obsoletes:      lapack-blas
105
106 %description -n blas
107 BLAS (Basic Linear Algebra Subprograms) is a standard library for
108 numerical algebra. BLAS provides a number of basic algorithms for
109 linear algebra. BLAS is fast and well-tested, was written in FORTRAN
110 77.
111
112 %description -n blas -l pl
113 BLAS (Basic Linear Algebra Subprograms) jest standardow± bibliotek±
114 numeryczn± algebry. Dostarcza wiele podstawowych algorytmów dla
115 algebry liniowej. Jest szybka i dobrze przetestowana, zosta³a napisana
116 w Fortranie 77.
117
118 %package -n blas-devel
119 Summary:        BLAS header files
120 Summary(pl):    Pliki nag³ówkowe BLAS
121 Group:          Development/Libraries
122 Group(de):      Entwicklung/Libraries
123 Group(es):      Desarrollo/Bibliotecas
124 Group(fr):      Development/Librairies
125 Group(pl):      Programowanie/Biblioteki
126 Group(pt_BR):   Desenvolvimento/Bibliotecas
127 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
128 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
129 Requires:       blas = %{version}
130 Obsoletes:      blas-man
131
132 %description -n blas-devel
133 BLAS header files.
134
135 %description -n blas-devel -l pl
136 Pliki nag³ówkowe BLAS.
137
138 %package -n blas-static
139 Summary:        Static BLAS libraries
140 Summary(pl):    Biblioteki statyczne BLAS
141 Group:          Development/Libraries
142 Group(de):      Entwicklung/Libraries
143 Group(es):      Desarrollo/Bibliotecas
144 Group(fr):      Development/Librairies
145 Group(pl):      Programowanie/Biblioteki
146 Group(pt_BR):   Desenvolvimento/Bibliotecas
147 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
148 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
149 Requires:       blas-devel = %{version}
150
151 %description -n blas-static
152 Static BLAS libraries.
153
154 %description -n blas-static -l pl
155 Biblioteki statyczne BLAS.
156
157 %prep
158 %setup -q -a1 -n LAPACK
159 %patch0 -p1
160 # directory INSTALL conflicts with file INSTALL needed by automake
161 mv -f INSTALL install
162 >INSTALL
163 >AUTHORS
164 >ChangeLog
165 >NEWS
166 >COPYING
167 #>config.h.in
168
169 %build
170 rm -f ltmain.sh
171 libtoolize --copy --force
172 aclocal
173 autoheader
174 automake --add-missing
175 autoconf
176 %configure 
177 %{__make}
178
179 %install
180 rm -rf $RPM_BUILD_ROOT
181 #workaround libtool
182 ed SRC/liblapack.la <<EOF
183 s/relink_command=.*/relink_command=''/
184 w
185 q
186 EOF
187 %{__make} install DESTDIR=$RPM_BUILD_ROOT
188
189 install -d $RPM_BUILD_ROOT%{_mandir}/manl
190 gzip -9nf blas/man/manl/*.l man/manl/*.l
191 install blas/man/manl/* man/manl/* $RPM_BUILD_ROOT%{_mandir}/manl
192
193 echo "%defattr(644, root, root, 755)" > blasmans.list
194 find blas/man/manl -name "*.gz" -printf "%{_mandir}/manl/%%f\n" >> blasmans.list
195 echo "%defattr(644, root, root, 755)" > mans.list
196 find man/manl -name "*.gz" -printf "%{_mandir}/manl/%%f\n" >> mans.list
197
198 gzip -9nf README
199
200 %clean
201 rm -fr $RPM_BUILD_ROOT
202
203 %post           -p /sbin/ldconfig
204 %postun         -p /sbin/ldconfig
205
206 %post   -n blas -p /sbin/ldconfig
207 %postun -n blas -p /sbin/ldconfig
208
209 %files
210 %defattr(644,root,root,755)
211 %doc README*
212 %attr(755,root,root) %{_libdir}/liblapack.so.*.*.*
213
214 %files devel -f mans.list
215 %defattr(644,root,root,755)
216 %{_libdir}/liblapack.so
217
218 %files static
219 %defattr(644,root,root,755)
220 %{_libdir}/liblapack.a
221
222 %files -n blas 
223 %defattr(644,root,root,755)
224 %attr(755,root,root) %{_libdir}/libblas.so.*.*.*
225
226 %files -n blas-devel -f blasmans.list
227 %defattr(644,root,root,755)
228 %{_libdir}/libblas.so
229
230 %files -n blas-static
231 %defattr(644,root,root,755)
232 %{_libdir}/libblas.a
This page took 0.047444 seconds and 4 git commands to generate.