]> git.pld-linux.org Git - packages/fftw.git/blob - fftw.spec
89198f58ce20a3eb44d0616975d06932b4e0748d
[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:        5
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         --enable-type-prefix \
65         --%{!?debug:disable}%{?debug:enable}-debug
66
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install DESTDIR=$RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %post devel
78 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
79
80 %postun devel
81 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so.*.*
89
90 %files devel
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/lib*.la
93 %attr(755,root,root) %{_libdir}/lib*.so
94 %{_includedir}/*
95 %{_infodir}/fftw.info*
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/lib*.a
This page took 0.043839 seconds and 2 git commands to generate.