]> git.pld-linux.org Git - packages/fftw++.git/blame - fftw++.spec
- up to 1.03
[packages/fftw++.git] / fftw++.spec
CommitLineData
77e12e1d 1Summary: Fast Fourier Transform C++ Header Class for FFTW3 Library
ac6bc60e 2Summary(pl.UTF-8): Biblioteka klas C++ z funkcjami szybkiej transformaty Fouriera
77e12e1d 3Name: fftw++
7aad1cef 4Version: 1.03
77e12e1d 5Release: 0.1
6License: GPL
7Group: Libraries
8Source0: http://www.math.ualberta.ca/imaging/fftw++/%{name}-%{version}.tar.gz
7aad1cef 9# Source0-md5: 334630830d055016cd4079349c166cbc
77b67993 10Source1: http://www.math.ualberta.ca/~bowman/Array.h
77e12e1d 11URL: http://www.math.ualberta.ca/imaging/fftw++/
12BuildRequires: autoconf
13BuildRequires: automake
dbf21b80 14BuildRequires: fftw3-devel
77b67993 15BuildRequires: libstdc++-devel
dbf21b80 16BuildRequires: libtool
77e12e1d 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
77b67993 20FFTW++ is a C++ header class for version 3 of the highly optimized
dbf21b80 21FFTW Fast Fourier Transform library.
77e12e1d 22
508c1b65
JR
23%description -l pl.UTF-8
24FFTW++ jest biblioteką klas napisaną w C++ dla wersji 3 biblioteki
77b67993 25szybkiej transformaty Fouriera FFTW.
77e12e1d 26
27%package devel
28Summary: Development files for fftw++
ac6bc60e 29Summary(pl.UTF-8): Pliki programistyczne do fftw++
77e12e1d 30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
dbf21b80
JB
32Requires: fftw3-devel
33Requires: libstdc++-devel
77e12e1d 34
77e12e1d 35%description devel
36This package contains the files you need to develop programs using the
dbf21b80 37FFTW++ (Fast Fourier Transform library).
77e12e1d 38
508c1b65
JR
39%description devel -l pl.UTF-8
40Ten pakiet zawiera pliki potrzebne do tworzenia programów używających
41biblioteki FFTW++ (wykonującej szybką transformatę Fouriera).
77e12e1d 42
dbf21b80
JB
43%package static
44Summary: Static fftw++ library
ac6bc60e 45Summary(pl.UTF-8): Statyczna biblioteka fftw++
dbf21b80
JB
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
48
49%description static
50Static fftw++ library.
51
508c1b65 52%description static -l pl.UTF-8
dbf21b80
JB
53Statyczna biblioteka fftw++.
54
77b67993
JB
55%package examples
56Summary: Example files for fftw++
ac6bc60e 57Summary(pl.UTF-8): Przykłady programistyczne do fftw++
77b67993 58Group: Development/Libraries
dbf21b80 59Requires: %{name}-devel = %{version}-%{release}
77e12e1d 60
61%description examples
77b67993 62Examples how to use fftw++.
77e12e1d 63
508c1b65
JR
64%description examples -l pl.UTF-8
65Przykłady do fftw++.
77e12e1d 66
67%prep
77b67993 68%setup -q
77e12e1d 69
dbf21b80
JB
70%build
71libtool --mode=compile --tag CXX %{__cxx} %{rpmcxxflags} -fPIC -o fftw++.lo -c fftw++.cc
72libtool --mode=link --tag CXX %{__cxx} -o libfftw++.la -rpath %{_libdir} fftw++.lo -lfftw3
73
77e12e1d 74%install
75rm -rf $RPM_BUILD_ROOT
dbf21b80
JB
76install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/fftw++,%{_examplesdir}/%{name}-%{version}}
77
78libtool --mode=install install libfftw++.la $RPM_BUILD_ROOT%{_libdir}
77e12e1d 79
dbf21b80 80install fftw++.h $RPM_BUILD_ROOT%{_includedir}/fftw++
77e12e1d 81install %{SOURCE1} $RPM_BUILD_ROOT%{_includedir}/fftw++
dbf21b80 82install example*.* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
77e12e1d 83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
dbf21b80
JB
87%post -p /sbin/ldconfig
88%postun -p /sbin/ldconfig
89
77e12e1d 90%files
91%defattr(644,root,root,755)
dbf21b80
JB
92%doc README
93%attr(755,root,root) %{_libdir}/libfftw++.so.*.*.*
77e12e1d 94
95%files devel
96%defattr(644,root,root,755)
dbf21b80
JB
97%attr(755,root,root) %{_libdir}/libfftw++.so
98%{_libdir}/libfftw++.la
77e12e1d 99%{_includedir}/fftw++
100
dbf21b80
JB
101%files static
102%defattr(644,root,root,755)
103%{_libdir}/libfftw++.a
104
77e12e1d 105%files examples
106%defattr(644,root,root,755)
77b67993 107%{_examplesdir}/%{name}-%{version}
This page took 0.078105 seconds and 4 git commands to generate.