]> git.pld-linux.org Git - packages/fftw.git/blob - fftw.spec
- added using %%{__make} macro.
[packages/fftw.git] / fftw.spec
1 Summary:        fast fourier transform library
2 Name:           fftw
3 Version:        2.1.3
4 Release:        1
5 License:        GPL
6 Group:          Libraries
7 Group(fr):      Librairies
8 Group(pl):      Biblioteki
9 Source0:        ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz
10 Patch0:         fftw-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 both the double- and
20 single-precision FFTW uniprocessor and threads libraries.
21
22 %description -l pl
23 FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych
24 transformacji Fouriera w jedym lub wiêcej wymiarach. Zawiera równie¿
25 z³o¿one, rzeczywiste oraz równoleg³e transformacje i potrafi wydajnie
26 radziæ sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM
27 zawiera zarówno uniprocesor FFTW o pojedynczej i podwójnej precyzji
28 jak i biblioteki w±tków.
29
30 %package devel
31 Summary:        headers, libraries, & docs for fftw
32 Group:          Development/Libraries
33 Group(fr):      Development/Librairies
34 Group(pl):      Programowanie/Biblioteki
35 Requires:       %{name} = %{version}
36
37 %description devel
38 This package contains the additional header files, documentation, and
39 libraries you need to develop programs using the FFTW fast fourier
40 transform library.
41
42 %package static
43 Summary:        Static fftw libraries
44 Group:          Development/Libraries
45 Group(fr):      Development/Librairies
46 Group(pl):      Programowanie/Biblioteki
47 Requires:       %{name}-devel = %{version}
48
49 %description static
50 Static fftw libraries.
51
52 %prep
53 %setup -q
54 %patch -p1
55
56 %build
57 LDFLAGS="-s"; export LDFLAGS
58 %configure \
59 %ifarch i386 i486 i586 i686
60         --enable-i386-hacks \
61 %endif
62         --enable-shared \
63         --enable-type-prefix \
64         --enable-threads
65
66 make
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install DESTDIR=$RPM_BUILD_ROOT
72
73 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
74
75 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/fftw.info*
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.052428 seconds and 4 git commands to generate.