]> git.pld-linux.org Git - packages/fftw.git/blob - fftw.spec
- release 8.
[packages/fftw.git] / fftw.spec
1 Summary:        Fast Fourier transform library
2 Summary(pl):    biblioteka z funkacjami szybkiej transformaty Fouriera
3 Name:           fftw
4 Version:        2.1.3
5 Release:        8
6 License:        GPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Group(pt_BR):   Bibliotecas
13 Group(ru):      âÉÂÌÉÏÔÅËÉ
14 Group(uk):      â¦Â̦ÏÔÅËÉ
15 Source0:        ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-info.patch
17 Icon:           fftw-logo-thumb.gif
18 URL:            http://www.fftw.org/
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 FFTW is a collection of fast C routines for computing the Discrete
23 Fourier Transform in one or more dimensions. It includes complex,
24 real, and parallel transforms, and can handle arbitrary array sizes
25 efficiently. This RPM package includes both the double- and
26 single-precision FFTW uniprocessor and threads libraries.
27
28 %description -l pl
29 FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych
30 transformacji Fouriera w jedym lub wiêcej wymiarach. Zawiera równie¿
31 z³o¿one, rzeczywiste oraz równoleg³e transformacje i potrafi wydajnie
32 radziæ sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM
33 zawiera zarówno uniprocesor FFTW o pojedynczej i podwójnej precyzji
34 jak i biblioteki w±tków.
35
36 %package devel
37 Summary:        headers, libraries, & docs for fftw
38 Group:          Development/Libraries
39 Group(de):      Entwicklung/Libraries
40 Group(es):      Desarrollo/Bibliotecas
41 Group(fr):      Development/Librairies
42 Group(pl):      Programowanie/Biblioteki
43 Group(pt_BR):   Desenvolvimento/Bibliotecas
44 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
45 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
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 %package static
54 Summary:        Static fftw libraries
55 Group:          Development/Libraries
56 Group(de):      Entwicklung/Libraries
57 Group(es):      Desarrollo/Bibliotecas
58 Group(fr):      Development/Librairies
59 Group(pl):      Programowanie/Biblioteki
60 Group(pt_BR):   Desenvolvimento/Bibliotecas
61 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
62 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
63 Requires:       %{name}-devel = %{version}
64
65 %description static
66 Static fftw libraries.
67
68 %prep
69 %setup -q
70 %patch -p1
71
72 %build
73 %configure2_13 \
74 %ifarch %{ix86}
75         --enable-i386-hacks \
76 %endif
77         --enable-shared \
78         --enable-threads \
79         --%{!?debug:disable}%{?debug:enable}-debug
80
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install DESTDIR=$RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %post devel
92 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
93
94 %postun devel
95 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %files
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/lib*.so.*.*
103
104 %files devel
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/lib*.la
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %{_includedir}/*
109 %{_infodir}/fftw.info*
110
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/lib*.a
This page took 0.062364 seconds and 3 git commands to generate.