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