]>
Commit | Line | Data |
---|---|---|
7de82846 JB |
1 | # |
2 | # Conditional build: | |
cbad49cd JB |
3 | %bcond_without fftwl # "long" subpackages |
4 | %bcond_without fftwq # "quad" subpackages | |
5 | %bcond_without gomp # OpenMP support | |
7de82846 | 6 | # |
f2b41f11 | 7 | Summary: Fast Fourier Transform library |
b8f7299a ER |
8 | Summary(pl.UTF-8): Biblioteka z funkcjami szybkiej transformaty Fouriera |
9 | Summary(pt_BR.UTF-8): biblioteca fast fourier transform | |
8dd64783 | 10 | Name: fftw3 |
4cd96029 | 11 | Version: 3.3.3 |
a7dbdaed | 12 | Release: 2 |
2e6b9bdb | 13 | License: GPL v2+ |
8dd64783 JB |
14 | Group: Libraries |
15 | Source0: ftp://ftp.fftw.org/pub/fftw/fftw-%{version}.tar.gz | |
4cd96029 | 16 | # Source0-md5: 0a05ca9c7b3bfddc8278e7c40791a1c2 |
8dd64783 | 17 | Patch0: %{name}-info.patch |
a7dbdaed | 18 | Patch1: texinfo5.patch |
8dd64783 JB |
19 | URL: http://www.fftw.org/ |
20 | BuildRequires: autoconf | |
21 | BuildRequires: automake | |
cbad49cd | 22 | BuildRequires: gcc-fortran |
7de82846 JB |
23 | %ifarch alpha ppc s390 s390x sparc sparcv9 |
24 | %if %{with fftwl} | |
335eed51 PS |
25 | # for 128-bit long double support |
26 | BuildRequires: gcc-fortran >= 5:4.1.0-1 | |
27 | BuildRequires: glibc >= 6:2.4-1 | |
7de82846 JB |
28 | %endif |
29 | %endif | |
cbad49cd JB |
30 | %if %{with fftwq} |
31 | BuildRequires: gcc >= 6:4.6.0 | |
32 | BuildRequires: libquadmath-devel | |
33 | %endif | |
34 | %if %{with gomp} | |
35 | BuildRequires: gcc >= 6:4.2.0 | |
36 | BuildRequires: libgomp-devel | |
37 | %endif | |
8dd64783 | 38 | BuildRequires: libtool |
bf578b06 | 39 | BuildRequires: texinfo |
f24101b7 | 40 | Requires: %{name}-common = %{version}-%{release} |
8dd64783 JB |
41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
cbad49cd JB |
43 | %define builds single double %{?with_fftwl:long-double} %{?with_fftwq:quad-precision} |
44 | ||
8dd64783 JB |
45 | %description |
46 | FFTW is a collection of fast C routines for computing the Discrete | |
47 | Fourier Transform in one or more dimensions. It includes complex, | |
48 | real, and parallel transforms, and can handle arbitrary array sizes | |
49 | efficiently. This RPM package includes the double precision FFTW | |
50 | uniprocessor and threads libraries. | |
51 | ||
b4a355b4 | 52 | %description -l pl.UTF-8 |
8dd64783 | 53 | FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych |
b4a355b4 JR |
54 | transformat Fouriera w jednym lub więcej wymiarach. Zawiera również |
55 | zespolone, rzeczywiste oraz równoległe transformaty i potrafi wydajnie | |
56 | radzić sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM | |
57 | zawiera wersje FFTW o podwójnej precyzji dla architektur | |
58 | jednoprocesorowych oraz z obsługą wątków. | |
59 | ||
60 | %description -l pt_BR.UTF-8 | |
61 | FFTW é uma coleção de rotinas rápidas em C para computar a Discrete | |
62 | Fourier Transform em uma ou mais dimensões. Incluindo transformações | |
63 | complexas, reais e paralelas, também pode manipular vetores de tamanho | |
64 | arbitrário eficientemente. Esse pacote RPM inclui bibliotecas FFTW com | |
65 | suporte a threads, normal e dupla precisão (Os arquivos de precisão | |
8dd64783 JB |
66 | normal tem um prefixo "s"). |
67 | ||
68 | %package devel | |
f2b41f11 | 69 | Summary: Development files for fftw |
b8f7299a ER |
70 | Summary(pl.UTF-8): Pliki programistyczne do fftw |
71 | Summary(pt_BR.UTF-8): Headers e documentação do pacote FFTW | |
8dd64783 | 72 | Group: Development/Libraries |
f24101b7 JB |
73 | Requires: %{name} = %{version}-%{release} |
74 | Requires: %{name}-common-devel = %{version}-%{release} | |
cbad49cd | 75 | %{?with_gomp:Requires: libgomp-devel} |
8dd64783 JB |
76 | |
77 | %description devel | |
f2b41f11 JB |
78 | This package contains the files you need to develop programs using the |
79 | FFTW (fast fourier transform library). | |
8dd64783 | 80 | |
b4a355b4 JR |
81 | %description devel -l pl.UTF-8 |
82 | Ten pakiet zawiera pliki potrzebne do tworzenia programów używających | |
83 | biblioteki FFTW (wykonującej szybką transformatę Fouriera). | |
8dd64783 | 84 | |
b4a355b4 JR |
85 | %description devel -l pt_BR.UTF-8 |
86 | Este pacote contém documentação e headers adicionais para desenvolver | |
0210e72d | 87 | programas usando a FFTW. |
8dd64783 JB |
88 | |
89 | %package static | |
90 | Summary: Static fftw libraries | |
b8f7299a ER |
91 | Summary(pl.UTF-8): Statyczne biblioteki fftw |
92 | Summary(pt_BR.UTF-8): Bibliotecas estáticas do pacote FFTW | |
8dd64783 | 93 | Group: Development/Libraries |
f24101b7 | 94 | Requires: %{name}-devel = %{version}-%{release} |
8dd64783 JB |
95 | |
96 | %description static | |
97 | Static fftw libraries. | |
98 | ||
b4a355b4 | 99 | %description static -l pl.UTF-8 |
8dd64783 JB |
100 | Statyczne biblioteki fftw. |
101 | ||
b4a355b4 JR |
102 | %description static -l pt_BR.UTF-8 |
103 | Este pacote contém as bibliotecas estáticas do pacote FFTW. | |
8dd64783 | 104 | |
f2b41f11 JB |
105 | %package single |
106 | Summary: Fast Fourier Transform library - single precision | |
b8f7299a | 107 | Summary(pl.UTF-8): Biblioteka z funkcjami szybkiej transformaty Fouriera - pojedynczej precyzji |
f2b41f11 | 108 | Group: Libraries |
f24101b7 | 109 | Requires: %{name}-common = %{version}-%{release} |
f2b41f11 JB |
110 | |
111 | %description single | |
112 | FFTW is a collection of fast C routines for computing the Discrete | |
113 | Fourier Transform in one or more dimensions. It includes complex, | |
114 | real, and parallel transforms, and can handle arbitrary array sizes | |
115 | efficiently. This RPM package includes the single precision FFTW | |
116 | uniprocessor and threads libraries. | |
117 | ||
b4a355b4 | 118 | %description single -l pl.UTF-8 |
f2b41f11 | 119 | FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych |
b4a355b4 JR |
120 | transformat Fouriera w jednym lub więcej wymiarach. Zawiera również |
121 | zespolone, rzeczywiste oraz równoległe transformaty i potrafi wydajnie | |
122 | radzić sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM | |
f2b41f11 | 123 | zawiera wersje FFTW o pojedynczej precyzji dla architektur |
b4a355b4 | 124 | jednoprocesorowych oraz z obsługą wątków. |
f2b41f11 JB |
125 | |
126 | %package single-devel | |
127 | Summary: Development files for single precision fftw | |
b8f7299a | 128 | Summary(pl.UTF-8): Pliki programistyczne do fftw pojedynczej precyzji |
f2b41f11 | 129 | Group: Development/Libraries |
f24101b7 JB |
130 | Requires: %{name}-common-devel = %{version}-%{release} |
131 | Requires: %{name}-single = %{version}-%{release} | |
cbad49cd | 132 | %{?with_gomp:Requires: libgomp-devel} |
f2b41f11 JB |
133 | |
134 | %description single-devel | |
135 | This package contains the files you need to develop programs using the | |
136 | single precision FFTW (fast fourier transform library). | |
137 | ||
b4a355b4 JR |
138 | %description single-devel -l pl.UTF-8 |
139 | Ten pakiet zawiera pliki potrzebne do tworzenia programów używających | |
cbad49cd JB |
140 | biblioteki FFTW (wykonującej szybką transformatę Fouriera) pojedynczej |
141 | precyzji. | |
f2b41f11 JB |
142 | |
143 | %package single-static | |
144 | Summary: Static fftw single precision libraries | |
b8f7299a | 145 | Summary(pl.UTF-8): Statyczne biblioteki fftw pojedynczej precyzji |
f2b41f11 | 146 | Group: Development/Libraries |
f24101b7 | 147 | Requires: %{name}-single-devel = %{version}-%{release} |
f2b41f11 JB |
148 | |
149 | %description single-static | |
150 | Static fftw single precision libraries. | |
151 | ||
b4a355b4 | 152 | %description single-static -l pl.UTF-8 |
f2b41f11 JB |
153 | Statyczne biblioteki fftw pojedynczej precyzji. |
154 | ||
155 | %package long | |
156 | Summary: Fast Fourier Transform library - long double precision | |
b8f7299a | 157 | Summary(pl.UTF-8): Biblioteka z funkcjami szybkiej transformaty Fouriera - rozszerzonej precyzji |
f2b41f11 | 158 | Group: Libraries |
f24101b7 | 159 | Requires: %{name}-common = %{version}-%{release} |
f2b41f11 JB |
160 | |
161 | %description long | |
162 | FFTW is a collection of fast C routines for computing the Discrete | |
163 | Fourier Transform in one or more dimensions. It includes complex, | |
164 | real, and parallel transforms, and can handle arbitrary array sizes | |
165 | efficiently. This RPM package includes the long double precision FFTW | |
166 | uniprocessor and threads libraries. | |
167 | ||
b4a355b4 | 168 | %description long -l pl.UTF-8 |
f2b41f11 | 169 | FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych |
b4a355b4 JR |
170 | transformat Fouriera w jednym lub więcej wymiarach. Zawiera również |
171 | zespolone, rzeczywiste oraz równoległe transformaty i potrafi wydajnie | |
172 | radzić sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM | |
f2b41f11 | 173 | zawiera wersje FFTW o rozszerzonej precyzji dla architektur |
b4a355b4 | 174 | jednoprocesorowych oraz z obsługą wątków. |
f2b41f11 JB |
175 | |
176 | %package long-devel | |
177 | Summary: Development files for long double precision fftw | |
b8f7299a | 178 | Summary(pl.UTF-8): Pliki programistyczne do fftw rozszerzonej precyzji |
f2b41f11 | 179 | Group: Development/Libraries |
f24101b7 JB |
180 | Requires: %{name}-common-devel = %{version}-%{release} |
181 | Requires: %{name}-long = %{version}-%{release} | |
cbad49cd | 182 | %{?with_gomp:Requires: libgomp-devel} |
f2b41f11 JB |
183 | |
184 | %description long-devel | |
185 | This package contains the files you need to develop programs using the | |
186 | long double precision FFTW (fast fourier transform library). | |
187 | ||
b4a355b4 JR |
188 | %description long-devel -l pl.UTF-8 |
189 | Ten pakiet zawiera pliki potrzebne do tworzenia programów używających | |
cbad49cd JB |
190 | biblioteki FFTW (wykonującej szybką transformatę Fouriera) |
191 | rozszerzonej precyzji. | |
f2b41f11 JB |
192 | |
193 | %package long-static | |
194 | Summary: Static fftw long double precision libraries | |
b8f7299a | 195 | Summary(pl.UTF-8): Statyczne biblioteki fftw rozszerzonej precyzji |
f2b41f11 | 196 | Group: Development/Libraries |
f24101b7 | 197 | Requires: %{name}-long-devel = %{version}-%{release} |
f2b41f11 JB |
198 | |
199 | %description long-static | |
200 | Static fftw long double precision libraries. | |
201 | ||
b4a355b4 | 202 | %description long-static -l pl.UTF-8 |
f2b41f11 JB |
203 | Statyczne biblioteki fftw rozszerzonej precyzji. |
204 | ||
cbad49cd JB |
205 | %package quad |
206 | Summary: Fast Fourier Transform library - quad precision | |
207 | Summary(pl.UTF-8): Biblioteka z funkcjami szybkiej transformaty Fouriera - poczwórnej precyzji | |
208 | Group: Libraries | |
209 | Requires: %{name}-common = %{version}-%{release} | |
210 | ||
211 | %description quad | |
212 | FFTW is a collection of fast C routines for computing the Discrete | |
213 | Fourier Transform in one or more dimensions. It includes complex, | |
214 | real, and parallel transforms, and can handle arbitrary array sizes | |
215 | efficiently. This RPM package includes the quad precision FFTW | |
216 | uniprocessor and threads libraries. | |
217 | ||
218 | %description quad -l pl.UTF-8 | |
219 | FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych | |
220 | transformat Fouriera w jednym lub więcej wymiarach. Zawiera również | |
221 | zespolone, rzeczywiste oraz równoległe transformaty i potrafi wydajnie | |
222 | radzić sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM | |
223 | zawiera wersje FFTW o poczwórnej precyzji dla architektur | |
224 | jednoprocesorowych oraz z obsługą wątków. | |
225 | ||
226 | %package quad-devel | |
227 | Summary: Development files for quad precision fftw | |
228 | Summary(pl.UTF-8): Pliki programistyczne do fftw poczwórnej precyzji | |
229 | Group: Development/Libraries | |
230 | Requires: %{name}-common-devel = %{version}-%{release} | |
231 | Requires: %{name}-quad = %{version}-%{release} | |
232 | %{?with_gomp:Requires: libgomp-devel} | |
233 | Requires: libquadmath-devel | |
234 | ||
235 | %description quad-devel | |
236 | This package contains the files you need to develop programs using the | |
237 | quad precision FFTW (fast fourier transform library). | |
238 | ||
239 | %description quad-devel -l pl.UTF-8 | |
240 | Ten pakiet zawiera pliki potrzebne do tworzenia programów używających | |
241 | biblioteki FFTW (wykonującej szybką transformatę Fouriera) poczwórnej | |
242 | precyzji. | |
243 | ||
244 | %package quad-static | |
245 | Summary: Static fftw quad precision libraries | |
246 | Summary(pl.UTF-8): Statyczne biblioteki fftw poczwórnej precyzji | |
247 | Group: Development/Libraries | |
248 | Requires: %{name}-quad-devel = %{version}-%{release} | |
249 | ||
250 | %description quad-static | |
251 | Static fftw quad precision libraries. | |
252 | ||
253 | %description quad-static -l pl.UTF-8 | |
254 | Statyczne biblioteki fftw poczwórnej precyzji. | |
255 | ||
f2b41f11 JB |
256 | %package common |
257 | Summary: Files common for all versions of fftw libraries | |
b8f7299a | 258 | Summary(pl.UTF-8): Pliki wspólne dla wszystkich wersji bibliotek fftw |
f2b41f11 JB |
259 | Group: Libraries |
260 | ||
261 | %description common | |
262 | Files common for all versions of fftw libraries (basic documentation, | |
263 | fftw-wisdom-to-conf utility). | |
264 | ||
b4a355b4 JR |
265 | %description common -l pl.UTF-8 |
266 | Pliki wspólne dla wszystkich wersji bibliotek fftw (podstawowa | |
267 | dokumentacja, narzędzie fftw-wisdom-to-conf). | |
f2b41f11 JB |
268 | |
269 | %package common-devel | |
270 | Summary: Development files common for all versions of fftw libraries | |
b8f7299a | 271 | Summary(pl.UTF-8): Pliki programistyczne wspólne dla wszystkich wersji bibliotek fftw |
f2b41f11 | 272 | Group: Development/Libraries |
f24101b7 | 273 | Requires: %{name}-common = %{version}-%{release} |
f2b41f11 JB |
274 | |
275 | %description common-devel | |
276 | Development files common for all versions of fftw libraries (header | |
277 | files, development documentation). | |
278 | ||
b4a355b4 JR |
279 | %description common-devel -l pl.UTF-8 |
280 | Pliki programistyczne wspólne dla wszystkich wersji bibliotek fftw | |
281 | (pliki nagłówkowe, dokumentacja programisty). | |
f2b41f11 | 282 | |
8dd64783 JB |
283 | %prep |
284 | %setup -q -n fftw-%{version} | |
f2b41f11 | 285 | %patch0 -p1 |
a7dbdaed | 286 | %patch1 -p1 |
8dd64783 JB |
287 | |
288 | %build | |
289 | %{__libtoolize} | |
376d0cb4 | 290 | %{__aclocal} -I m4 |
8dd64783 JB |
291 | %{__autoconf} |
292 | %{__automake} | |
f2b41f11 | 293 | |
f2b41f11 | 294 | # MMX/SSE/etc. seem to be safe because of runtime CPU detection |
cbad49cd | 295 | for ver in %{builds}; do |
8dd64783 JB |
296 | OPTS="" |
297 | # k7,SSE,3dnow,altivec only for single | |
298 | if [ "$ver" = "single" ]; then | |
cbad49cd | 299 | %ifarch i686 pentium3 pentium4 |
f2b41f11 | 300 | OPTS="--enable-sse" |
8dd64783 | 301 | %endif |
f2b41f11 | 302 | %ifarch athlon |
376d0cb4 | 303 | OPTS="--enable-sse" # no "--enable-k7" - conflicts with shared, SEGV on athlons |
8dd64783 JB |
304 | %endif |
305 | %ifarch ppc | |
f2b41f11 | 306 | OPTS="--enable-altivec" |
5194fc97 | 307 | %endif |
5861ac73 | 308 | %ifnarch i686 k6 athlon ppc |
5194fc97 | 309 | : # keep sh happy about syntax |
8dd64783 | 310 | %endif |
8dd64783 | 311 | fi |
cbad49cd | 312 | %ifarch i686 pentium4 |
8dd64783 | 313 | # SSE2 only for double |
cbad49cd JB |
314 | if [ "$ver" = "double" -o "$ver" = "single" ]; then |
315 | OPTS="--enable-sse2 --enable-avx" | |
fb995851 | 316 | fi |
8dd64783 | 317 | %endif |
2e6b9bdb JB |
318 | install -d build-${ver} |
319 | cd build-${ver} | |
320 | ../%configure \ | |
cbad49cd | 321 | --enable-openmp \ |
8dd64783 JB |
322 | --enable-shared \ |
323 | --enable-threads \ | |
324 | --enable-$ver \ | |
325 | $OPTS \ | |
326 | --%{!?debug:dis}%{?debug:en}able-debug | |
327 | ||
328 | %{__make} | |
f2b41f11 | 329 | cd .. |
8dd64783 JB |
330 | done |
331 | ||
8dd64783 JB |
332 | %install |
333 | rm -rf $RPM_BUILD_ROOT | |
e6d90cf1 | 334 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/fftw |
8dd64783 | 335 | |
cbad49cd JB |
336 | for b in %{builds} ; do |
337 | %{__make} install -C build-${b} \ | |
338 | DESTDIR=$RPM_BUILD_ROOT | |
339 | done | |
8dd64783 JB |
340 | |
341 | %clean | |
342 | rm -rf $RPM_BUILD_ROOT | |
343 | ||
344 | %post -p /sbin/ldconfig | |
345 | %postun -p /sbin/ldconfig | |
346 | ||
2fd5163a | 347 | %post single -p /sbin/ldconfig |
348 | %postun single -p /sbin/ldconfig | |
349 | ||
350 | %post long -p /sbin/ldconfig | |
351 | %postun long -p /sbin/ldconfig | |
352 | ||
a46795d7 | 353 | %post common-devel -p /sbin/postshell |
677edac6 | 354 | -/usr/sbin/fix-info-dir -c %{_infodir} |
8dd64783 | 355 | |
a46795d7 | 356 | %postun common-devel -p /sbin/postshell |
677edac6 | 357 | -/usr/sbin/fix-info-dir -c %{_infodir} |
8dd64783 JB |
358 | |
359 | %files | |
360 | %defattr(644,root,root,755) | |
f2b41f11 JB |
361 | %attr(755,root,root) %{_bindir}/fftw-wisdom |
362 | %attr(755,root,root) %{_libdir}/libfftw3.so.*.*.* | |
2e6b9bdb | 363 | %attr(755,root,root) %ghost %{_libdir}/libfftw3.so.3 |
f2b41f11 | 364 | %attr(755,root,root) %{_libdir}/libfftw3_threads.so.*.*.* |
2e6b9bdb | 365 | %attr(755,root,root) %ghost %{_libdir}/libfftw3_threads.so.3 |
cbad49cd JB |
366 | %if %{with gomp} |
367 | %attr(755,root,root) %{_libdir}/libfftw3_omp.so.*.*.* | |
368 | %attr(755,root,root) %ghost %{_libdir}/libfftw3_omp.so.3 | |
369 | %endif | |
f2b41f11 | 370 | %{_mandir}/man1/fftw-wisdom.1* |
8dd64783 JB |
371 | |
372 | %files devel | |
373 | %defattr(644,root,root,755) | |
f2b41f11 JB |
374 | %attr(755,root,root) %{_libdir}/libfftw3.so |
375 | %attr(755,root,root) %{_libdir}/libfftw3_threads.so | |
376 | %{_libdir}/libfftw3.la | |
377 | %{_libdir}/libfftw3_threads.la | |
cbad49cd JB |
378 | %if %{with gomp} |
379 | %attr(755,root,root) %{_libdir}/libfftw3_omp.so | |
380 | %{_libdir}/libfftw3_omp.la | |
381 | %endif | |
f2b41f11 | 382 | %{_pkgconfigdir}/fftw3.pc |
8dd64783 JB |
383 | |
384 | %files static | |
385 | %defattr(644,root,root,755) | |
f2b41f11 JB |
386 | %{_libdir}/libfftw3.a |
387 | %{_libdir}/libfftw3_threads.a | |
cbad49cd JB |
388 | %if %{with gomp} |
389 | %{_libdir}/libfftw3_omp.a | |
390 | %endif | |
f2b41f11 JB |
391 | |
392 | %files single | |
393 | %defattr(644,root,root,755) | |
394 | %attr(755,root,root) %{_bindir}/fftwf-wisdom | |
395 | %attr(755,root,root) %{_libdir}/libfftw3f.so.*.*.* | |
2e6b9bdb | 396 | %attr(755,root,root) %ghost %{_libdir}/libfftw3f.so.3 |
f2b41f11 | 397 | %attr(755,root,root) %{_libdir}/libfftw3f_threads.so.*.*.* |
2e6b9bdb | 398 | %attr(755,root,root) %ghost %{_libdir}/libfftw3f_threads.so.3 |
cbad49cd JB |
399 | %if %{with gomp} |
400 | %attr(755,root,root) %{_libdir}/libfftw3f_omp.so.*.*.* | |
401 | %attr(755,root,root) %ghost %{_libdir}/libfftw3f_omp.so.3 | |
402 | %endif | |
f2b41f11 JB |
403 | %{_mandir}/man1/fftwf-wisdom.1* |
404 | ||
405 | %files single-devel | |
406 | %defattr(644,root,root,755) | |
407 | %attr(755,root,root) %{_libdir}/libfftw3f.so | |
408 | %attr(755,root,root) %{_libdir}/libfftw3f_threads.so | |
409 | %{_libdir}/libfftw3f.la | |
410 | %{_libdir}/libfftw3f_threads.la | |
cbad49cd JB |
411 | %if %{with gomp} |
412 | %attr(755,root,root) %{_libdir}/libfftw3f_omp.so | |
413 | %{_libdir}/libfftw3f_omp.la | |
414 | %endif | |
f2b41f11 JB |
415 | %{_pkgconfigdir}/fftw3f.pc |
416 | ||
417 | %files single-static | |
418 | %defattr(644,root,root,755) | |
419 | %{_libdir}/libfftw3f.a | |
420 | %{_libdir}/libfftw3f_threads.a | |
cbad49cd JB |
421 | %if %{with gomp} |
422 | %{_libdir}/libfftw3f_omp.a | |
423 | %endif | |
f2b41f11 | 424 | |
7de82846 | 425 | %if %{with fftwl} |
f2b41f11 JB |
426 | %files long |
427 | %defattr(644,root,root,755) | |
428 | %attr(755,root,root) %{_bindir}/fftwl-wisdom | |
429 | %attr(755,root,root) %{_libdir}/libfftw3l.so.*.*.* | |
2e6b9bdb | 430 | %attr(755,root,root) %ghost %{_libdir}/libfftw3l.so.3 |
f2b41f11 | 431 | %attr(755,root,root) %{_libdir}/libfftw3l_threads.so.*.*.* |
2e6b9bdb | 432 | %attr(755,root,root) %ghost %{_libdir}/libfftw3l_threads.so.3 |
cbad49cd JB |
433 | %if %{with gomp} |
434 | %attr(755,root,root) %{_libdir}/libfftw3l_omp.so.*.*.* | |
435 | %attr(755,root,root) %ghost %{_libdir}/libfftw3l_omp.so.3 | |
436 | %endif | |
f2b41f11 JB |
437 | %{_mandir}/man1/fftwl-wisdom.1* |
438 | ||
439 | %files long-devel | |
440 | %defattr(644,root,root,755) | |
441 | %attr(755,root,root) %{_libdir}/libfftw3l.so | |
442 | %attr(755,root,root) %{_libdir}/libfftw3l_threads.so | |
443 | %{_libdir}/libfftw3l.la | |
444 | %{_libdir}/libfftw3l_threads.la | |
cbad49cd JB |
445 | %if %{with gomp} |
446 | %attr(755,root,root) %{_libdir}/libfftw3l_omp.so | |
447 | %{_libdir}/libfftw3l_omp.la | |
448 | %endif | |
bc04b565 | 449 | %{_includedir}/fftw3l.f03 |
f2b41f11 JB |
450 | %{_pkgconfigdir}/fftw3l.pc |
451 | ||
452 | %files long-static | |
453 | %defattr(644,root,root,755) | |
454 | %{_libdir}/libfftw3l.a | |
455 | %{_libdir}/libfftw3l_threads.a | |
cbad49cd JB |
456 | %if %{with gomp} |
457 | %{_libdir}/libfftw3l_omp.a | |
458 | %endif | |
459 | %endif | |
460 | ||
461 | %if %{with fftwq} | |
462 | %files quad | |
463 | %defattr(644,root,root,755) | |
464 | %attr(755,root,root) %{_bindir}/fftwq-wisdom | |
465 | %attr(755,root,root) %{_libdir}/libfftw3q.so.*.*.* | |
466 | %attr(755,root,root) %ghost %{_libdir}/libfftw3q.so.3 | |
467 | %attr(755,root,root) %{_libdir}/libfftw3q_threads.so.*.*.* | |
468 | %attr(755,root,root) %ghost %{_libdir}/libfftw3q_threads.so.3 | |
469 | %if %{with gomp} | |
470 | %attr(755,root,root) %{_libdir}/libfftw3q_omp.so.*.*.* | |
471 | %attr(755,root,root) %ghost %{_libdir}/libfftw3q_omp.so.3 | |
472 | %endif | |
473 | %{_mandir}/man1/fftwq-wisdom.1* | |
474 | ||
475 | %files quad-devel | |
476 | %defattr(644,root,root,755) | |
477 | %attr(755,root,root) %{_libdir}/libfftw3q.so | |
478 | %attr(755,root,root) %{_libdir}/libfftw3q_threads.so | |
479 | %{_libdir}/libfftw3q.la | |
480 | %{_libdir}/libfftw3q_threads.la | |
481 | %if %{with gomp} | |
482 | %attr(755,root,root) %{_libdir}/libfftw3q_omp.so | |
483 | %{_libdir}/libfftw3q_omp.la | |
484 | %endif | |
bc04b565 | 485 | %{_includedir}/fftw3q.f03 |
cbad49cd JB |
486 | %{_pkgconfigdir}/fftw3q.pc |
487 | ||
488 | %files quad-static | |
489 | %defattr(644,root,root,755) | |
490 | %{_libdir}/libfftw3q.a | |
491 | %{_libdir}/libfftw3q_threads.a | |
492 | %if %{with gomp} | |
493 | %{_libdir}/libfftw3q_omp.a | |
494 | %endif | |
7de82846 | 495 | %endif |
f2b41f11 JB |
496 | |
497 | %files common | |
498 | %defattr(644,root,root,755) | |
499 | %doc AUTHORS COPYRIGHT ChangeLog NEWS README TODO | |
e6d90cf1 | 500 | %dir %{_sysconfdir}/fftw |
f2b41f11 JB |
501 | %attr(755,root,root) %{_bindir}/fftw-wisdom-to-conf |
502 | %{_mandir}/man1/fftw-wisdom-to-conf.1* | |
503 | ||
504 | %files common-devel | |
505 | %defattr(644,root,root,755) | |
506 | %doc doc/html doc/FAQ/fftw-faq.html | |
2e6b9bdb | 507 | %{_includedir}/fftw3.f |
cbad49cd | 508 | %{_includedir}/fftw3.f03 |
2e6b9bdb | 509 | %{_includedir}/fftw3.h |
f2b41f11 | 510 | %{_infodir}/fftw3.info* |