3 %bcond_without single # without single precision library
5 Summary: Fast Fourier transform library
6 Summary(pl): Biblioteka z funkcjami szybkiej transformaty Fouriera
7 Summary(pt_BR): Biblioteca fast Fourier transform
13 Source0: ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz
14 # Source0-md5: 8d16a84f3ca02a785ef9eb36249ba433
15 Patch0: %{name}-info.patch
16 Icon: fftw-logo-thumb.gif
17 URL: http://www.fftw.org/
18 BuildRequires: autoconf
19 BuildRequires: automake
21 BuildRequires: libtool
22 BuildRequires: texinfo
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 FFTW is a collection of fast C routines for computing the Discrete
27 Fourier Transform in one or more dimensions. It includes complex,
28 real, and parallel transforms, and can handle arbitrary array sizes
29 efficiently. This RPM package includes the double precision FFTW
30 uniprocessor and threads libraries.
33 FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych
34 transformat Fouriera w jednym lub wiêcej wymiarach. Zawiera równie¿
35 zespolone, rzeczywiste oraz równoleg³e transformaty i potrafi wydajnie
36 radziæ sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM
37 zawiera wersje FFTW o podwójnej precyzji dla architektur
38 jednoprocesorowych oraz z obs³ug± w±tków.
41 FFTW é uma coleção de rotinas rápidas em C para computar a Discrete
42 Fourier Transform em uma ou mais dimensões. Incluindo transformações
43 complexas, reais e paralelas, também pode manipular vetores de tamanho
44 arbitrário eficientemente. Esse pacote RPM inclui bibliotecas FFTW com
45 suporte a threads, normal e dupla precisão (Os arquivos de precisão
46 normal tem um prefixo "s").
49 Summary: Headers, libraries & docs for fftw
50 Summary(pl): Nag³ówki, biblioteki oraz dokumentacja do fftw
51 Summary(pt_BR): headers, bibliotecas e documentação do pacote FFTW
52 Group: Development/Libraries
53 Requires: %{name} = %{version}
56 This package contains the additional header files, documentation and
57 7ibraries you need to develop programs using the FFTW (fast Fourier
60 %description devel -l pl
61 Ten pakiet zawiera dodatkowe pliki nag³ówkowe, dokumentacjê oraz
62 biblioteki niezbêdne do tworzenia programów u¿ywaj±cych biblioteki
63 FFTW (fast Fourier transform library).
65 %description devel -l pt_BR
66 Este pacote contém documentação, headers e bibliotecas adicionais para
67 desenvolver programas usando a FFTW.
70 Summary: Static fftw libraries
71 Summary(pl): Statyczne biblioteki fftw
72 Summary(pt_BR): bibliotecas estáticas do pacote FFTW
73 Group: Development/Libraries
74 Requires: %{name}-devel = %{version}
77 Static fftw libraries.
79 %description static -l pl
80 Statyczne biblioteki fftw.
82 %description static -l pt_BR
83 Este pacote contém as bibliotecas estáticas do pacote FFTW.
90 # This is important to do sfftw (Single precision library)
92 cp -r ../%{name}-%{version} ../single
101 --enable-i386-hacks \
106 --enable-type-prefix \
107 --%{!?debug:dis}%{?debug:en}able-debug
120 --enable-i386-hacks \
124 --%{!?debug:dis}%{?debug:en}able-debug
125 # --enable-type-prefix \
130 rm -rf $RPM_BUILD_ROOT
135 DESTDIR=$RPM_BUILD_ROOT
140 DESTDIR=$RPM_BUILD_ROOT
142 %post -p /sbin/ldconfig
143 %postun -p /sbin/ldconfig
146 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
149 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
152 rm -rf $RPM_BUILD_ROOT
155 %defattr(644,root,root,755)
156 %attr(755,root,root) %{_libdir}/lib*.so.*.*
159 %defattr(644,root,root,755)
161 %attr(755,root,root) %{_libdir}/lib*.so
163 %{_infodir}/fftw.info*
166 %defattr(644,root,root,755)