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