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