X-Git-Url: http://git.pld-linux.org/?p=packages%2Ffftw.git;a=blobdiff_plain;f=fftw.spec;h=66e9bf461af69b15f3b6fcde6be1aa50f5b09bd3;hp=22c590636f029e7ffb554efbed2c80199df5d8bb;hb=f6e02e37f04cdc3f7817522a26576ff84d38ab90;hpb=e12e337457d85e61c6ba80b35228541d1e84427f diff --git a/fftw.spec b/fftw.spec index 22c5906..66e9bf4 100644 --- a/fftw.spec +++ b/fftw.spec @@ -1,36 +1,65 @@ -Summary: fast fourier transform library +Summary: Fast Fourier transform library +Summary(pl): biblioteka z funkacjami szybkiej transformaty Fouriera Name: fftw -Version: 2.1.2 -Release: 3 -Copyright: GPL -Icon: fftw-logo-thumb.gif +Version: 2.1.3 +Release: 8 +License: GPL Group: Libraries -Source: ftp://theory.lcs.mit.edu/pub/fftw/%{name}-%{version}.tar.gz -Patch: fftw-info.patch -Prereq: /sbin/install-info -URL: http://theory.lcs.mit.edu/~fftw/ -BuildRoot: /tmp/%{name}-%{version}-root +Group(de): Libraries +Group(es): Bibliotecas +Group(fr): Librairies +Group(pl): Biblioteki +Group(pt_BR): Bibliotecas +Group(ru): âÉÂÌÉÏÔÅËÉ +Group(uk): â¦Â̦ÏÔÅËÉ +Source0: ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz +Patch0: %{name}-info.patch +Icon: fftw-logo-thumb.gif +URL: http://www.fftw.org/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -FFTW is a collection of fast C routines for computing the Discrete Fourier -Transform in one or more dimensions. It includes complex, real, and -parallel transforms, and can handle arbitrary array sizes efficiently. This -RPM package includes both the double- and single-precision FFTW uniprocessor -and threads libraries. +FFTW is a collection of fast C routines for computing the Discrete +Fourier Transform in one or more dimensions. It includes complex, +real, and parallel transforms, and can handle arbitrary array sizes +efficiently. This RPM package includes both the double- and +single-precision FFTW uniprocessor and threads libraries. + +%description -l pl +FFTW jest zbiorem szybkich funkcji C do obliczania dyskretnych +transformacji Fouriera w jedym lub wiêcej wymiarach. Zawiera równie¿ +z³o¿one, rzeczywiste oraz równoleg³e transformacje i potrafi wydajnie +radziæ sobie z tablicami o dowolnych rozmiarach. Ten pakiet RPM +zawiera zarówno uniprocesor FFTW o pojedynczej i podwójnej precyzji +jak i biblioteki w±tków. %package devel Summary: headers, libraries, & docs for fftw Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ Requires: %{name} = %{version} %description devel This package contains the additional header files, documentation, and -libraries you need to develop programs using the FFTW fast fourier transform -library. +libraries you need to develop programs using the FFTW fast fourier +transform library. %package static Summary: Static fftw libraries Group: Development/Libraries +Group(de): Entwicklung/Libraries +Group(es): Desarrollo/Bibliotecas +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Group(pt_BR): Desenvolvimento/Bibliotecas +Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ Requires: %{name}-devel = %{version} %description static @@ -41,39 +70,35 @@ Static fftw libraries. %patch -p1 %build -LDFLAGS="-s"; export LDFLAGS -%configure \ -%ifarch i386 i486 i586 i686 +%configure2_13 \ +%ifarch %{ix86} --enable-i386-hacks \ %endif --enable-shared \ - --enable-type-prefix \ - --enable-threads + --enable-threads \ + --%{!?debug:disable}%{?debug:enable}-debug -make +%{__make} %install rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +%{__make} install DESTDIR=$RPM_BUILD_ROOT -strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig -gzip -9nf $RPM_BUILD_ROOT%{_infodir}/fftw.info* +%post devel +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 -%post -/sbin/install-info %{_infodir}/%{name}.info.gz /etc/info-dir >&2 - -%preun -if [ "$1" = "0" ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info.gz \ - /etc/info-dir >&2 -fi +%postun devel +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %clean rm -rf $RPM_BUILD_ROOT %files +%defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel