]> git.pld-linux.org Git - packages/fftw.git/blame - fftw.spec
- translated kloczkish into english
[packages/fftw.git] / fftw.spec
CommitLineData
6033f21d 1Summary: fast fourier transform library
2Name: fftw
db97658a 3Version: 2.1.3
4Release: 1
6033f21d 5Copyright: GPL
6033f21d 6Group: Libraries
db97658a 7Source: ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz
e12e3374 8Patch: fftw-info.patch
652001a2 9Icon: fftw-logo-thumb.gif
db97658a 10URL: http://www.fftw.org/
f3cb8f58 11Prereq: /usr/sbin/fix-info-dir
6033f21d 12BuildRoot: /tmp/%{name}-%{version}-root
b3cc5c64 13
14%description
15FFTW is a collection of fast C routines for computing the Discrete Fourier
6033f21d 16Transform in one or more dimensions. It includes complex, real, and
17parallel transforms, and can handle arbitrary array sizes efficiently. This
18RPM package includes both the double- and single-precision FFTW uniprocessor
19and threads libraries.
20
b3cc5c64 21%package devel
6033f21d 22Summary: headers, libraries, & docs for fftw
23Group: Development/Libraries
24Requires: %{name} = %{version}
25
b3cc5c64 26%description devel
27This package contains the additional header files, documentation, and
6033f21d 28libraries you need to develop programs using the FFTW fast fourier transform
29library.
30
31%package static
32Summary: Static fftw libraries
33Group: Development/Libraries
34Requires: %{name}-devel = %{version}
35
36%description static
37Static fftw libraries.
b3cc5c64 38
39%prep
6033f21d 40%setup -q
e12e3374 41%patch -p1
b3cc5c64 42
6033f21d 43%build
44LDFLAGS="-s"; export LDFLAGS
45%configure \
46%ifarch i386 i486 i586 i686
47 --enable-i386-hacks \
b3cc5c64 48%endif
6033f21d 49 --enable-shared \
50 --enable-type-prefix \
51 --enable-threads
b3cc5c64 52
b3cc5c64 53make
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
6033f21d 58make install DESTDIR=$RPM_BUILD_ROOT
b3cc5c64 59
e12e3374 60strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
b3cc5c64 61
e12e3374 62gzip -9nf $RPM_BUILD_ROOT%{_infodir}/fftw.info*
63
13c18cd3 64%post devel
f3cb8f58 65/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
e12e3374 66
1687a13a 67%postun devel
f3cb8f58 68/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
b72b5db3 69
b3cc5c64 70%clean
71rm -rf $RPM_BUILD_ROOT
72
6033f21d 73%files
74%attr(755,root,root) %{_libdir}/lib*.so.*.*
75
76%files devel
77%defattr(644,root,root,755)
78%attr(755,root,root) %{_libdir}/lib*.la
79%attr(755,root,root) %{_libdir}/lib*.so
80%{_includedir}/*
81%{_infodir}/fftw.info*
82
83%files static
84%defattr(644,root,root,755)
85%{_libdir}/lib*.a
This page took 0.056087 seconds and 4 git commands to generate.