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