]> git.pld-linux.org Git - packages/fftw.git/blob - fftw.spec
- typo, s/fourier/Fourier/
[packages/fftw.git] / fftw.spec
1 Summary:        Fast Fourier transform library
2 Summary(pl):    Biblioteka z funkcjami szybkiej transformaty Fouriera
3 Summary(pt_BR): Biblioteca fast Fourier transform
4 Name:           fftw
5 Version:        2.1.5
6 Release:        1
7 License:        GPL
8 Group:          Libraries
9 Source0:        ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz
10 # Source0-md5:  8d16a84f3ca02a785ef9eb36249ba433
11 Patch0:         %{name}-info.patch
12 Icon:           fftw-logo-thumb.gif
13 URL:            http://www.fftw.org/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 FFTW is a collection of fast C routines for computing the Discrete
21 Fourier Transform in one or more dimensions. It includes complex,
22 real, and parallel transforms, and can handle arbitrary array sizes
23 efficiently. This RPM package includes the double precision FFTW
24 uniprocessor and threads libraries.
25
26 %description -l pl
27 FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych
28 transformat Fouriera w jednym lub wiêcej wymiarach. Zawiera równie¿
29 zespolone, rzeczywiste oraz równoleg³e transformaty i potrafi wydajnie
30 radziæ sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM
31 zawiera wersje FFTW o podwójnej precyzji dla architektur
32 jednoprocesorowych oraz z obs³ug± w±tków.
33
34 %description -l pt_BR
35 FFTW é uma coleção de rotinas rápidas em C para computar a Discrete
36 Fourier Transform em uma ou mais dimensões. Incluindo transformações
37 complexas, reais e paralelas, também pode manipular vetores de tamanho
38 arbitrário eficientemente. Esse pacote RPM inclui bibliotecas FFTW com
39 suporte a threads, normal e dupla precisão (Os arquivos de precisão
40 normal tem um prefixo "s").
41
42 %package devel
43 Summary:        Headers, libraries & docs for fftw
44 Summary(pl):    Nag³ówki, biblioteki oraz dokumentacja do fftw
45 Summary(pt_BR): headers, bibliotecas e documentação do pacote FFTW
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}
48
49 %description devel
50 This package contains the additional header files, documentation and
51 libraries you need to develop programs using the FFTW (fast Fourier
52 transform library).
53
54 %description devel -l pl
55 Ten pakiet zawiera dodatkowe pliki nag³ówkowe, dokumetacjê oraz
56 biblioteki niezbêdne do tworzenia programów u¿ywaj±cych biblioteki
57 FFTW (fast Fourier transform library).
58
59 %description devel -l pt_BR
60 Este pacote contém documentação, headers e bibliotecas adicionais para
61 desenvolver programas usando a FFTW.
62
63 %package static
64 Summary:        Static fftw libraries
65 Summary(pl):    Statyczne biblioteki fftw
66 Summary(pt_BR): bibliotecas estáticas do pacote FFTW
67 Group:          Development/Libraries
68 Requires:       %{name}-devel = %{version}
69
70 %description static
71 Static fftw libraries.
72
73 %description static -l pl
74 Statyczne biblioteki fftw.
75
76 %description static -l pt_BR
77 Este pacote contém as bibliotecas estáticas do pacote FFTW.
78
79 %prep
80 %setup -q
81 %patch -p1
82
83 %build
84 %{__libtoolize}
85 %{__aclocal}
86 %{__autoconf}
87 %{__automake}
88 %configure \
89 %ifarch %{ix86}
90         --enable-i386-hacks \
91 %endif
92         --enable-shared \
93         --enable-threads \
94         --%{!?debug:dis}%{?debug:en}able-debug
95
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT
103
104 %post   -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
106
107 %post devel
108 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
109
110 %postun devel
111 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %files
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/lib*.so.*.*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %{_libdir}/lib*.la
123 %attr(755,root,root) %{_libdir}/lib*.so
124 %{_includedir}/*
125 %{_infodir}/fftw.info*
126
127 %files static
128 %defattr(644,root,root,755)
129 %{_libdir}/lib*.a
This page took 0.069549 seconds and 4 git commands to generate.