1 Summary: Fast Fourier Transform C++ Header Class for FFTW3 Library
2 Summary(pl.UTF-8): Biblioteka klas C++ z funkcjami szybkiej transformaty Fouriera
8 Source0: http://www.math.ualberta.ca/imaging/fftw++/%{name}-%{version}.tar.gz
9 # Source0-md5: 334630830d055016cd4079349c166cbc
10 Source1: http://www.math.ualberta.ca/~bowman/Array.h
11 URL: http://www.math.ualberta.ca/imaging/fftw++/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: fftw3-devel
15 BuildRequires: libstdc++-devel
16 BuildRequires: libtool
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 FFTW++ is a C++ header class for version 3 of the highly optimized
21 FFTW Fast Fourier Transform library.
23 %description -l pl.UTF-8
24 FFTW++ jest biblioteką klas napisaną w C++ dla wersji 3 biblioteki
25 szybkiej transformaty Fouriera FFTW.
28 Summary: Development files for fftw++
29 Summary(pl.UTF-8): Pliki programistyczne do fftw++
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
33 Requires: libstdc++-devel
36 This package contains the files you need to develop programs using the
37 FFTW++ (Fast Fourier Transform library).
39 %description devel -l pl.UTF-8
40 Ten pakiet zawiera pliki potrzebne do tworzenia programów używających
41 biblioteki FFTW++ (wykonującej szybką transformatę Fouriera).
44 Summary: Static fftw++ library
45 Summary(pl.UTF-8): Statyczna biblioteka fftw++
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{version}-%{release}
50 Static fftw++ library.
52 %description static -l pl.UTF-8
53 Statyczna biblioteka fftw++.
56 Summary: Example files for fftw++
57 Summary(pl.UTF-8): Przykłady programistyczne do fftw++
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
62 Examples how to use fftw++.
64 %description examples -l pl.UTF-8
71 libtool --mode=compile --tag CXX %{__cxx} %{rpmcxxflags} -fPIC -o fftw++.lo -c fftw++.cc
72 libtool --mode=link --tag CXX %{__cxx} -o libfftw++.la -rpath %{_libdir} fftw++.lo -lfftw3
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/fftw++,%{_examplesdir}/%{name}-%{version}}
78 libtool --mode=install install libfftw++.la $RPM_BUILD_ROOT%{_libdir}
80 install fftw++.h $RPM_BUILD_ROOT%{_includedir}/fftw++
81 install %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/fftw++
82 install example*.* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
91 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libfftw++.so.*.*.*
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libfftw++.so
98 %{_libdir}/libfftw++.la
102 %defattr(644,root,root,755)
103 %{_libdir}/libfftw++.a
106 %defattr(644,root,root,755)
107 %{_examplesdir}/%{name}-%{version}