]> git.pld-linux.org Git - packages/lftp.git/commitdiff
- added using %configure macro,
authorkloczek <kloczek@pld-linux.org>
Tue, 29 Jun 1999 06:45:38 +0000 (06:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added DESTDIR style.

Changed files:
    lftp.spec -> 1.27

lftp.spec

index 27dad2f7cb6b40057c73a93a15b67a87c5adea38..a4c88a9aaa11c059d55ce9cf0a6803b84514e250 100644 (file)
--- a/lftp.spec
+++ b/lftp.spec
@@ -33,20 +33,18 @@ Doskonale si
 %setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-CXXFLAGS="$RPM_OPT_FLAGS" \
-./configure %{_target_platform} \
-       --prefix=/usr \
+gettextize --copy --force
+LDFLAGS="-s"; export LDFLAGS
+CXXFLAGS="$RPM_OPT_FLAGS"; export CXXFLAGS
+%configure \
        --with-modules
-make 
+make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc
 
-make install \
-       prefix=$RPM_BUILD_ROOT%{_prefix} \
-       mandir=$RPM_BUILD_ROOT%{_mandir}
+make install DESTDIR=$RPM_BUILD_ROOT
 
 install lftp.conf $RPM_BUILD_ROOT/etc
 
@@ -102,7 +100,6 @@ Revision 1.31  1999/07/12 23:06:05  kloczek
 - changed %lang to pt_BR on pt_BR lftp.mo.
 
 * Fri Jun 12 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-- moved %changelog at the end of spec.
-- build against glibc-2.1,
+- moved %changelog at the end of spec.- build against glibc-2.1,
 - translation modified for pl,
 - moved %changelog at the end of spec.
This page took 0.037826 seconds and 4 git commands to generate.