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