]> git.pld-linux.org Git - packages/fftw.git/blob - fftw.spec
- completly rewrited in PLD style (compiles now).
[packages/fftw.git] / fftw.spec
1 Summary:        fast fourier transform library
2 Name:           fftw
3 Version:        2.1.2
4 Release:        3
5 Copyright:      GPL
6 Icon:           fftw-logo-thumb.gif
7 Group:          Libraries
8 Source:         ftp://theory.lcs.mit.edu/pub/fftw/%{name}-%{version}.tar.gz
9 URL:            http://theory.lcs.mit.edu/~fftw
10 BuildRoot:      /tmp/%{name}-%{version}-root
11
12 %description
13 FFTW is a collection of fast C routines for computing the Discrete Fourier
14 Transform in one or more dimensions. It includes complex, real, and
15 parallel transforms, and can handle arbitrary array sizes efficiently. This
16 RPM package includes both the double- and single-precision FFTW uniprocessor
17 and threads libraries.
18
19 %package devel
20 Summary:        headers, libraries, & docs for fftw
21 Group:          Development/Libraries
22 Requires:       %{name} = %{version}
23
24 %description devel
25 This package contains the additional header files, documentation, and
26 libraries you need to develop programs using the FFTW fast fourier transform
27 library.
28
29 %package static
30 Summary:        Static fftw libraries
31 Group:          Development/Libraries
32 Requires:       %{name}-devel = %{version}
33
34 %description static
35 Static fftw libraries.
36
37 %prep
38 %setup -q
39
40 %build
41 LDFLAGS="-s"; export LDFLAGS
42 %configure \
43 %ifarch i386 i486 i586 i686
44         --enable-i386-hacks \
45 %endif
46         --enable-shared \
47         --enable-type-prefix \
48         --enable-threads
49
50
51 make
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 make install DESTDIR=$RPM_BUILD_ROOT
57
58 strip --strip-unneeded %{_libdir}/lib*.so.*.*
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %attr(755,root,root) %{_libdir}/lib*.so.*.*
65
66 %files devel
67 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_libdir}/lib*.la
69 %attr(755,root,root) %{_libdir}/lib*.so
70 %{_includedir}/*
71 %{_infodir}/fftw.info*
72
73 %files static
74 %defattr(644,root,root,755)
75 %{_libdir}/lib*.a
This page took 0.066939 seconds and 3 git commands to generate.