1 # RPM spec file for FFTW.
2 # This file is used to build Redhat Package Manager packages for the
3 # FFTW library. Such packages make it easy to install and uninstall
4 # the library and related files from binaries or source.
6 # This spec file is for version 2.1.2 of FFTW, and will need to be
7 # modified for future releases. First, the string "2.1.2" should
8 # be replaced everywhere in this file with the new version number.
9 # Second, the shared library version numbers (in the %files list)
10 # will need to be updated. Any other changes in the installed files
11 # list, build commands, etcetera will of course also require changes.
13 # The icon associated with this package can be downloaded from:
14 # http://theory.lcs.mit.edu/~fftw/fftw-logo-thumb.gif
15 # and will need to be placed in the SOURCES directory to build the RPM.
18 Summary: fast fourier transform library
22 Icon: fftw-logo-thumb.gif
25 Source: ftp://theory.lcs.mit.edu/pub/fftw/fftw-2.1.2.tar.gz
26 URL: http://theory.lcs.mit.edu/~fftw
27 BuildRoot: /var/tmp/fftw-%{PACKAGE_VERSION}-root
30 FFTW is a collection of fast C routines for computing the Discrete Fourier
31 Transform in one or more dimensions. It includes complex, real, and
32 parallel transforms, and can handle arbitrary array sizes efficiently.
33 This RPM package includes both the double- and single-precision FFTW
34 uniprocessor and threads libraries.
36 Summary: headers, libraries, & docs for FFTW fast fourier transform library
37 Group: Development/Libraries
39 Requires: fftw = 2.1.2
41 This package contains the additional header files, documentation, and
42 libraries you need to develop programs using the FFTW fast fourier
49 ./configure --enable-shared --enable-type-prefix --enable-i386-hacks --enable-threads --prefix=%prefix
51 ./configure --enable-shared --enable-type-prefix --enable-threads --prefix=%prefix
59 rm -rf $RPM_BUILD_ROOT
61 make prefix=$RPM_BUILD_ROOT%{prefix} install
63 # hack to also compile/install single-precision version:
66 ./configure --enable-shared --enable-type-prefix --enable-threads --enable-float --prefix=%prefix --enable-i386-hacks
68 ./configure --enable-shared --enable-type-prefix --enable-threads --enable-float --prefix=%prefix
70 make prefix=$RPM_BUILD_ROOT%{prefix} install
73 /usr/lib/libdfftw.so.2.0.4
74 /usr/lib/libdfftw_threads.so.2.0.4
75 /usr/lib/libdrfftw.so.2.0.4
76 /usr/lib/libdrfftw_threads.so.2.0.4
77 /usr/lib/libsfftw.so.2.0.4
78 /usr/lib/libsfftw_threads.so.2.0.4
79 /usr/lib/libsrfftw.so.2.0.4
80 /usr/lib/libsrfftw_threads.so.2.0.4
81 /usr/lib/libdfftw.so.2
82 /usr/lib/libdfftw_threads.so.2
83 /usr/lib/libdrfftw.so.2
84 /usr/lib/libdrfftw_threads.so.2
85 /usr/lib/libsfftw.so.2
86 /usr/lib/libsfftw_threads.so.2
87 /usr/lib/libsrfftw.so.2
88 /usr/lib/libsrfftw_threads.so.2
97 /usr/include/dfftw_threads.h
99 /usr/include/drfftw_threads.h
101 /usr/include/sfftw_threads.h
102 /usr/include/srfftw.h
103 /usr/include/srfftw_threads.h
107 /usr/lib/libdfftw_threads.a
108 /usr/lib/libdfftw_threads.la
109 /usr/lib/libdfftw_threads.so
111 /usr/lib/libdrfftw.la
112 /usr/lib/libdrfftw.so
113 /usr/lib/libdrfftw_threads.a
114 /usr/lib/libdrfftw_threads.la
115 /usr/lib/libdrfftw_threads.so
119 /usr/lib/libsfftw_threads.a
120 /usr/lib/libsfftw_threads.la
121 /usr/lib/libsfftw_threads.so
123 /usr/lib/libsrfftw.la
124 /usr/lib/libsrfftw.so
125 /usr/lib/libsrfftw_threads.a
126 /usr/lib/libsrfftw_threads.la
127 /usr/lib/libsrfftw_threads.so
130 rm -rf $RPM_BUILD_ROOT
133 * Tue Aug 03 1999 Dax Kelson <dax@gurulabs.com>
134 - Set prefix to /usr so there is no need to futz with ldconfig