X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=fftw.spec;h=76a9d2c9a83a1e7628798fceb1f598250bee6023;hb=d212295f95eb42f679a312ec81bcf24156b510c7;hp=d8da93c810c291934203d83ecd47b5e93c4d38b2;hpb=f094ebaf3c54ca007e7365aa8d0e39e40ac4c555;p=packages%2Ffftw.git diff --git a/fftw.spec b/fftw.spec index d8da93c..76a9d2c 100644 --- a/fftw.spec +++ b/fftw.spec @@ -1,43 +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.3 -Release: 1 -Copyright: GPL +Release: 7 +License: GPL Group: Libraries -Source: ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz -Patch: fftw-info.patch +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/ -Prereq: /usr/sbin/fix-info-dir -BuildRoot: /tmp/%{name}-%{version}-root +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. +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 @@ -48,36 +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.*.* - -gzip -9nf $RPM_BUILD_ROOT%{_infodir}/fftw.info* +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %post devel -/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun devel -/usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 +[ ! -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