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