]> git.pld-linux.org Git - packages/fftw.git/commitdiff
- simplified, rel.3
authorfreetz <freetz@pld-linux.org>
Sun, 26 Jun 2005 16:18:58 +0000 (16:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fftw.spec -> 1.57

fftw.spec

index 1a3b6e78049e5b8d69db79b026d574a1f8e75e17..f5484736d17c9b9b3bbb52941395ba15ce72e970 100644 (file)
--- a/fftw.spec
+++ b/fftw.spec
@@ -7,7 +7,7 @@ Summary(pl):    Biblioteka z funkcjami szybkiej transformaty Fouriera
 Summary(pt_BR):        Biblioteca fast Fourier transform
 Name:          fftw
 Version:       2.1.5
-Release:       2
+Release:       3
 License:       GPL
 Group:         Libraries
 Source0:       ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz
@@ -86,17 +86,12 @@ Este pacote cont
 %patch -p1
 
 %build
-# This is important to do sfftw (Single precision library)
-%if %{with single}
-
-tar xzf %{SOURCE0}
-mv %{name}-%{version}/ single/
-cd single
-
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
+
+%if %{with single}
 %configure \
 %ifarch %{ix86}
         --enable-i386-hacks \
@@ -108,14 +103,10 @@ cd single
         --%{!?debug:dis}%{?debug:en}able-debug
 
 %{__make}
-
-cd -
+%{__make} install \
+       DESTDIR=$(pwd)/single
 %endif
 
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
 %configure \
 %ifarch %{ix86}
        --enable-i386-hacks \
@@ -123,19 +114,13 @@ cd -
        --enable-shared \
        --enable-threads \
        --%{!?debug:dis}%{?debug:en}able-debug
-#        --enable-type-prefix \
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%if %{with single}
-cd single
-%{__make} install \
-        DESTDIR=$RPM_BUILD_ROOT
-cd -
-%endif
+%{?with_single:cp -ar single $RPM_BUILD_ROOT}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
This page took 0.054924 seconds and 4 git commands to generate.