X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=fftw.spec;h=76a9d2c9a83a1e7628798fceb1f598250bee6023;hb=d212295f95eb42f679a312ec81bcf24156b510c7;hp=da77a1e27714c48e0f0513357c31312af41b486f;hpb=da94ae296f0938794c001760415b5f785f340dab;p=packages%2Ffftw.git diff --git a/fftw.spec b/fftw.spec index da77a1e..76a9d2c 100644 --- a/fftw.spec +++ b/fftw.spec @@ -1,13 +1,19 @@ -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 +Release: 7 License: GPL Group: Libraries +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: fftw-info.patch +Patch0: %{name}-info.patch Icon: fftw-logo-thumb.gif URL: http://www.fftw.org/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -30,8 +36,13 @@ jak i biblioteki 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 @@ -42,8 +53,13 @@ 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 @@ -54,14 +70,13 @@ 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} @@ -70,9 +85,8 @@ rm -rf $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 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1