1 Summary: Fast Fourier Transform library
2 Summary(pl): Biblioteka z funkcjami szybkiej transformaty Fouriera
3 Summary(pt_BR): biblioteca fast fourier transform
9 Source0: ftp://ftp.fftw.org/pub/fftw/fftw-%{version}.tar.gz
10 # Source0-md5: 76cd21ecc9a7bed6343566c473c36477
11 Patch0: %{name}-info.patch
12 Patch1: %{name}-link.patch
13 Icon: fftw-logo-thumb.gif
14 URL: http://www.fftw.org/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: gcc-g77
18 BuildRequires: libtool
19 Requires: %{name}-common = %{version}
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 FFTW is a collection of fast C routines for computing the Discrete
24 Fourier Transform in one or more dimensions. It includes complex,
25 real, and parallel transforms, and can handle arbitrary array sizes
26 efficiently. This RPM package includes the double precision FFTW
27 uniprocessor and threads libraries.
30 FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych
31 transformat Fouriera w jednym lub wiêcej wymiarach. Zawiera równie¿
32 zespolone, rzeczywiste oraz równoleg³e transformaty i potrafi wydajnie
33 radziæ sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM
34 zawiera wersje FFTW o podwójnej precyzji dla architektur
35 jednoprocesorowych oraz z obs³ug± w±tków.
38 FFTW é uma coleção de rotinas rápidas em C para computar a Discrete
39 Fourier Transform em uma ou mais dimensões. Incluindo transformações
40 complexas, reais e paralelas, também pode manipular vetores de tamanho
41 arbitrário eficientemente. Esse pacote RPM inclui bibliotecas FFTW com
42 suporte a threads, normal e dupla precisão (Os arquivos de precisão
43 normal tem um prefixo "s").
46 Summary: Development files for fftw
47 Summary(pl): Pliki programistyczne do fftw
48 Summary(pt_BR): Headers e documentação do pacote FFTW
49 Group: Development/Libraries
50 Requires: %{name} = %{version}
51 Requires: %{name}-common-devel = %{version}
54 This package contains the files you need to develop programs using the
55 FFTW (fast fourier transform library).
57 %description devel -l pl
58 Ten pakiet zawiera pliki potrzebne do tworzenia programów u¿ywaj±cych
59 biblioteki FFTW (wykonuj±cej szybk± transformatê Fouriera).
61 %description devel -l pt_BR
62 Este pacote contém documentação e headers adicionais para desenvolver
63 programas usando a FFTW.
66 Summary: Static fftw libraries
67 Summary(pl): Statyczne biblioteki fftw
68 Summary(pt_BR): Bibliotecas estáticas do pacote FFTW
69 Group: Development/Libraries
70 Requires: %{name}-devel = %{version}
73 Static fftw libraries.
75 %description static -l pl
76 Statyczne biblioteki fftw.
78 %description static -l pt_BR
79 Este pacote contém as bibliotecas estáticas do pacote FFTW.
82 Summary: Fast Fourier Transform library - single precision
83 Summary(pl): Biblioteka z funkcjami szybkiej transformaty Fouriera - pojedynczej precyzji
85 Requires: %{name}-common = %{version}
88 FFTW is a collection of fast C routines for computing the Discrete
89 Fourier Transform in one or more dimensions. It includes complex,
90 real, and parallel transforms, and can handle arbitrary array sizes
91 efficiently. This RPM package includes the single precision FFTW
92 uniprocessor and threads libraries.
94 %description single -l pl
95 FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych
96 transformat Fouriera w jednym lub wiêcej wymiarach. Zawiera równie¿
97 zespolone, rzeczywiste oraz równoleg³e transformaty i potrafi wydajnie
98 radziæ sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM
99 zawiera wersje FFTW o pojedynczej precyzji dla architektur
100 jednoprocesorowych oraz z obs³ug± w±tków.
102 %package single-devel
103 Summary: Development files for single precision fftw
104 Summary(pl): Pliki programistyczne do fftw pojedynczej precyzji
105 Group: Development/Libraries
106 Requires: %{name}-common-devel = %{version}
107 Requires: %{name}-single = %{version}
109 %description single-devel
110 This package contains the files you need to develop programs using the
111 single precision FFTW (fast fourier transform library).
113 %description single-devel -l pl
114 Ten pakiet zawiera pliki potrzebne do tworzenia programów u¿ywaj±cych
115 biblioteki FFTW pojedynczej precyzji (wykonuj±cej szybk± transformatê
118 %package single-static
119 Summary: Static fftw single precision libraries
120 Summary(pl): Statyczne biblioteki fftw pojedynczej precyzji
121 Group: Development/Libraries
122 Requires: %{name}-single-devel = %{version}
124 %description single-static
125 Static fftw single precision libraries.
127 %description single-static -l pl
128 Statyczne biblioteki fftw pojedynczej precyzji.
131 Summary: Fast Fourier Transform library - long double precision
132 Summary(pl): Biblioteka z funkcjami szybkiej transformaty Fouriera - rozszerzonej precyzji
134 Requires: %{name}-common = %{version}
137 FFTW is a collection of fast C routines for computing the Discrete
138 Fourier Transform in one or more dimensions. It includes complex,
139 real, and parallel transforms, and can handle arbitrary array sizes
140 efficiently. This RPM package includes the long double precision FFTW
141 uniprocessor and threads libraries.
143 %description long -l pl
144 FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych
145 transformat Fouriera w jednym lub wiêcej wymiarach. Zawiera równie¿
146 zespolone, rzeczywiste oraz równoleg³e transformaty i potrafi wydajnie
147 radziæ sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM
148 zawiera wersje FFTW o rozszerzonej precyzji dla architektur
149 jednoprocesorowych oraz z obs³ug± w±tków.
152 Summary: Development files for long double precision fftw
153 Summary(pl): Pliki programistyczne do fftw rozszerzonej precyzji
154 Group: Development/Libraries
155 Requires: %{name}-common-devel = %{version}
156 Requires: %{name}-long = %{version}
158 %description long-devel
159 This package contains the files you need to develop programs using the
160 long double precision FFTW (fast fourier transform library).
162 %description long-devel -l pl
163 Ten pakiet zawiera pliki potrzebne do tworzenia programów u¿ywaj±cych
164 biblioteki FFTW rozszerzonej precyzji (wykonuj±cej szybk± transformatê
168 Summary: Static fftw long double precision libraries
169 Summary(pl): Statyczne biblioteki fftw rozszerzonej precyzji
170 Group: Development/Libraries
171 Requires: %{name}-long-devel = %{version}
173 %description long-static
174 Static fftw long double precision libraries.
176 %description long-static -l pl
177 Statyczne biblioteki fftw rozszerzonej precyzji.
180 Summary: Files common for all versions of fftw libraries
181 Summary(pl): Pliki wspólne dla wszystkich wersji bibliotek fftw
185 Files common for all versions of fftw libraries (basic documentation,
186 fftw-wisdom-to-conf utility).
188 %description common -l pl
189 Pliki wspólne dla wszystkich wersji bibliotek fftw (podstawowa
190 dokumentacja, narzêdzie fftw-wisdom-to-conf).
192 %package common-devel
193 Summary: Development files common for all versions of fftw libraries
194 Summary(pl): Pliki programistyczne wspólne dla wszystkich wersji bibliotek fftw
195 Group: Development/Libraries
196 Requires: %{name}-common
198 %description common-devel
199 Development files common for all versions of fftw libraries (header
200 files, development documentation).
202 %description common-devel -l pl
203 Pliki programistyczne wspólne dla wszystkich wersji bibliotek fftw
204 (pliki nag³ówkowe, dokumentacja programisty).
207 %setup -q -n fftw-%{version}
217 # prepare three trees (for single, double, long-double precision)
219 install -d single long-double
220 cp -a `cat files.list` single
221 cp -a `cat files.list` long-double
224 # MMX/SSE/etc. seem to be safe because of runtime CPU detection
225 for ver in single double long-double ; do
227 # k7,SSE,3dnow,altivec only for single
228 if [ "$ver" = "single" ]; then
230 OPTS="--enable-3dnow"
236 OPTS="--enable-sse" # "--enable-k7" disabled - causes SEGV on athlons
239 OPTS="--enable-altivec"
243 # SSE2 only for double
244 if [ "$ver" = "double" ]; then
254 --%{!?debug:dis}%{?debug:en}able-debug
262 rm -rf $RPM_BUILD_ROOT
265 DESTDIR=$RPM_BUILD_ROOT
267 %{__make} install -C single \
268 DESTDIR=$RPM_BUILD_ROOT
270 %{__make} install -C long-double\
271 DESTDIR=$RPM_BUILD_ROOT
274 rm -rf $RPM_BUILD_ROOT
276 %post -p /sbin/ldconfig
277 %postun -p /sbin/ldconfig
280 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
283 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_bindir}/fftw-wisdom
288 %attr(755,root,root) %{_libdir}/libfftw3.so.*.*.*
289 %attr(755,root,root) %{_libdir}/libfftw3_threads.so.*.*.*
290 %{_mandir}/man1/fftw-wisdom.1*
293 %defattr(644,root,root,755)
294 %attr(755,root,root) %{_libdir}/libfftw3.so
295 %attr(755,root,root) %{_libdir}/libfftw3_threads.so
296 %{_libdir}/libfftw3.la
297 %{_libdir}/libfftw3_threads.la
298 %{_pkgconfigdir}/fftw3.pc
301 %defattr(644,root,root,755)
302 %{_libdir}/libfftw3.a
303 %{_libdir}/libfftw3_threads.a
306 %defattr(644,root,root,755)
307 %attr(755,root,root) %{_bindir}/fftwf-wisdom
308 %attr(755,root,root) %{_libdir}/libfftw3f.so.*.*.*
309 %attr(755,root,root) %{_libdir}/libfftw3f_threads.so.*.*.*
310 %{_mandir}/man1/fftwf-wisdom.1*
313 %defattr(644,root,root,755)
314 %attr(755,root,root) %{_libdir}/libfftw3f.so
315 %attr(755,root,root) %{_libdir}/libfftw3f_threads.so
316 %{_libdir}/libfftw3f.la
317 %{_libdir}/libfftw3f_threads.la
318 %{_pkgconfigdir}/fftw3f.pc
321 %defattr(644,root,root,755)
322 %{_libdir}/libfftw3f.a
323 %{_libdir}/libfftw3f_threads.a
326 %defattr(644,root,root,755)
327 %attr(755,root,root) %{_bindir}/fftwl-wisdom
328 %attr(755,root,root) %{_libdir}/libfftw3l.so.*.*.*
329 %attr(755,root,root) %{_libdir}/libfftw3l_threads.so.*.*.*
330 %{_mandir}/man1/fftwl-wisdom.1*
333 %defattr(644,root,root,755)
334 %attr(755,root,root) %{_libdir}/libfftw3l.so
335 %attr(755,root,root) %{_libdir}/libfftw3l_threads.so
336 %{_libdir}/libfftw3l.la
337 %{_libdir}/libfftw3l_threads.la
338 %{_pkgconfigdir}/fftw3l.pc
341 %defattr(644,root,root,755)
342 %{_libdir}/libfftw3l.a
343 %{_libdir}/libfftw3l_threads.a
346 %defattr(644,root,root,755)
347 %doc AUTHORS COPYRIGHT ChangeLog NEWS README TODO
348 %attr(755,root,root) %{_bindir}/fftw-wisdom-to-conf
349 %{_mandir}/man1/fftw-wisdom-to-conf.1*
352 %defattr(644,root,root,755)
353 %doc doc/html doc/FAQ/fftw-faq.html
354 %{_includedir}/fftw3.*
355 %{_infodir}/fftw3.info*