]> git.pld-linux.org Git - packages/fftw.git/blob - fftw.spec
- release 4: added Summary(pl).
[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:        4
6 License:        GPL
7 Group:          Libraries
8 Group(fr):      Librairies
9 Group(pl):      Biblioteki
10 Source0:        ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz
11 Patch0:         fftw-info.patch
12 Icon:           fftw-logo-thumb.gif
13 URL:            http://www.fftw.org/
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 both the double- and
21 single-precision FFTW uniprocessor and threads libraries.
22
23 %description -l pl
24 FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych
25 transformacji Fouriera w jedym lub wiêcej wymiarach. Zawiera równie¿
26 z³o¿one, rzeczywiste oraz równoleg³e transformacje i potrafi wydajnie
27 radziæ sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM
28 zawiera zarówno uniprocesor FFTW o pojedynczej i podwójnej precyzji
29 jak i biblioteki w±tków.
30
31 %package devel
32 Summary:        headers, libraries, & docs for fftw
33 Group:          Development/Libraries
34 Group(fr):      Development/Librairies
35 Group(pl):      Programowanie/Biblioteki
36 Requires:       %{name} = %{version}
37
38 %description devel
39 This package contains the additional header files, documentation, and
40 libraries you need to develop programs using the FFTW fast fourier
41 transform library.
42
43 %package static
44 Summary:        Static fftw libraries
45 Group:          Development/Libraries
46 Group(fr):      Development/Librairies
47 Group(pl):      Programowanie/Biblioteki
48 Requires:       %{name}-devel = %{version}
49
50 %description static
51 Static fftw libraries.
52
53 %prep
54 %setup -q
55 %patch -p1
56
57 %build
58 %configure \
59 %ifarch i386 i486 i586 i686
60         --enable-i386-hacks \
61 %endif
62         --enable-shared \
63         --enable-threads \
64         --disable-debug
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install DESTDIR=$RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %post devel
77 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
78
79 %postun devel
80 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/lib*.so.*.*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/lib*.la
92 %attr(755,root,root) %{_libdir}/lib*.so
93 %{_includedir}/*
94 %{_infodir}/fftw.info*
95
96 %files static
97 %defattr(644,root,root,755)
98 %{_libdir}/lib*.a
This page took 0.092502 seconds and 3 git commands to generate.