]> git.pld-linux.org Git - packages/fftw++.git/blob - fftw++.spec
- up to 1.03
[packages/fftw++.git] / fftw++.spec
1 Summary:        Fast Fourier Transform C++ Header Class for FFTW3 Library
2 Summary(pl.UTF-8):      Biblioteka klas C++ z funkcjami szybkiej transformaty Fouriera
3 Name:           fftw++
4 Version:        1.03
5 Release:        0.1
6 License:        GPL
7 Group:          Libraries
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)
18
19 %description
20 FFTW++ is a C++ header class for version 3 of the highly optimized
21 FFTW Fast Fourier Transform library. 
22
23 %description -l pl.UTF-8
24 FFTW++ jest biblioteką klas napisaną w C++ dla wersji 3 biblioteki
25 szybkiej transformaty Fouriera FFTW.
26
27 %package devel
28 Summary:        Development files for fftw++
29 Summary(pl.UTF-8):      Pliki programistyczne do fftw++
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32 Requires:       fftw3-devel
33 Requires:       libstdc++-devel
34
35 %description devel
36 This package contains the files you need to develop programs using the
37 FFTW++ (Fast Fourier Transform library).
38
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).
42
43 %package static
44 Summary:        Static fftw++ library
45 Summary(pl.UTF-8):      Statyczna biblioteka fftw++
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static fftw++ library.
51
52 %description static -l pl.UTF-8
53 Statyczna biblioteka fftw++.
54
55 %package examples
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}
60
61 %description examples
62 Examples how to use fftw++.
63
64 %description examples -l pl.UTF-8
65 Przykłady do fftw++.
66
67 %prep
68 %setup -q
69
70 %build
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
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/fftw++,%{_examplesdir}/%{name}-%{version}}
77
78 libtool --mode=install install libfftw++.la $RPM_BUILD_ROOT%{_libdir}
79
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}
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
91 %defattr(644,root,root,755)
92 %doc README
93 %attr(755,root,root) %{_libdir}/libfftw++.so.*.*.*
94
95 %files devel
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libfftw++.so
98 %{_libdir}/libfftw++.la
99 %{_includedir}/fftw++
100
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/libfftw++.a
104
105 %files examples
106 %defattr(644,root,root,755)
107 %{_examplesdir}/%{name}-%{version}
This page took 0.072971 seconds and 3 git commands to generate.