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