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