]> git.pld-linux.org Git - packages/lftp.git/blobdiff - lftp.spec
- unifited using %find_lang macro to scheme:
[packages/lftp.git] / lftp.spec
index 6d354ec66fea1922d2f1fcc46395ada4a82653cf..679a5ed0ee2f33649b9fc160312471ea00efdfb7 100644 (file)
--- a/lftp.spec
+++ b/lftp.spec
@@ -2,7 +2,7 @@ Summary:        Commandline ftp client
 Summary(pl):   Zaawansowany klient ftp
 Name:          lftp
 Version:       1.2.4
-Release:       3
+Release:       4
 Group:         Networking/Utilities
 Group(pl):     Sieciowe/Narzêdzia
 Copyright:     GPL
@@ -33,8 +33,9 @@ Doskonale si
 %setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure %{_target} \
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
+CXXFLAGS="$RPM_OPT_FLAGS" \
+./configure %{_target_platform} \
        --prefix=/usr
 make 
 
@@ -42,34 +43,34 @@ make
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc
 
-make prefix=$RPM_BUILD_ROOT/usr install
+make install \
+       prefix=$RPM_BUILD_ROOT%{_prefix} \
+       mandir=$RPM_BUILD_ROOT%{_mandir}
 
 install lftp.conf $RPM_BUILD_ROOT/etc
 
 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/* \
        README NEWS 
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc {README,NEWS}.gz
-
-%attr(755,root,root) /usr/bin/*
+%config(noreplace) %verify(not size mtime md5) /etc/lftp.conf
+%attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
-
 %attr(755,root,root) %{_datadir}/lftp
 
-%lang(es)    %{_datadir}/locale/es/LC_MESSAGES/lftp.mo
-%lang(ru)    %{_datadir}/locale/ru/LC_MESSAGES/lftp.mo
-%lang(it)    %{_datadir}/locale/it/LC_MESSAGES/lftp.mo
-%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/lftp.mo
-%lang(pl)    %{_datadir}/locale/pl/LC_MESSAGES/lftp.mo
+%changelog
+Revision 1.31  1999/07/12 23:06:05  kloczek
+- added using CVS keywords in %changelog (for automating them).
 
-%config(noreplace) %verify(not size mtime md5) /etc/lftp.conf
+* Sat May 29 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
   [1.2.4-4]
-%changelog
 - more rpm macros,
 - added rpm BuildPrereq rules.
 
@@ -98,7 +99,6 @@ rm -rf $RPM_BUILD_ROOT
 - 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.15394 seconds and 4 git commands to generate.