]> git.pld-linux.org Git - packages/fftw.git/blob - fftw.spec
- changed all BuildRoot definitons
[packages/fftw.git] / fftw.spec
1 Summary:        fast fourier transform library
2 Name:           fftw
3 Version:        2.1.3
4 Release:        1
5 Copyright:      GPL
6 Group:          Libraries
7 Source:         ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz
8 Patch:          fftw-info.patch
9 Icon:           fftw-logo-thumb.gif
10 URL:            http://www.fftw.org/
11 Prereq:         /usr/sbin/fix-info-dir
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 FFTW is a collection of fast C routines for computing the Discrete Fourier
16 Transform in one or more dimensions. It includes complex, real, and
17 parallel transforms, and can handle arbitrary array sizes efficiently. This
18 RPM package includes both the double- and single-precision FFTW uniprocessor
19 and threads libraries.
20
21 %description -l pl
22 FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych transformacji
23 Fouriera w jedym lub wiêcej wymiarach. Zawiera równie¿ z³o¿one, rzeczywiste
24 oraz równoleg³e transformacje i potrafi wydajnie radziæ sobie z tablicami o
25 dowolnych rozmiarach. Ten pakiet RPM zawiera zarówno uniprocesor FFTW o
26 pojedynczej i podwójnej precyzji jak i biblioteki w±tków.
27
28 %package devel
29 Summary:        headers, libraries, & docs for fftw
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}
32
33 %description devel
34 This package contains the additional header files, documentation, and
35 libraries you need to develop programs using the FFTW fast fourier transform
36 library.
37
38 %package static
39 Summary:        Static fftw libraries
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}
42
43 %description static
44 Static fftw libraries.
45
46 %prep
47 %setup -q
48 %patch -p1
49
50 %build
51 LDFLAGS="-s"; export LDFLAGS
52 %configure \
53 %ifarch i386 i486 i586 i686
54         --enable-i386-hacks \
55 %endif
56         --enable-shared \
57         --enable-type-prefix \
58         --enable-threads
59
60 make
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 make install DESTDIR=$RPM_BUILD_ROOT
66
67 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
68
69 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/fftw.info*
70
71 %post devel
72 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
73
74 %postun devel
75 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %attr(755,root,root) %{_libdir}/lib*.so.*.*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/lib*.la
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %{_includedir}/*
88 %{_infodir}/fftw.info*
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/lib*.a
This page took 0.040955 seconds and 4 git commands to generate.