]> git.pld-linux.org Git - packages/lftp.git/blobdiff - lftp.spec
- unifited using %find_lang macro to scheme:
[packages/lftp.git] / lftp.spec
index 7f9a292819cf5d102b18579c76b3ca267224e44a..679a5ed0ee2f33649b9fc160312471ea00efdfb7 100644 (file)
--- a/lftp.spec
+++ b/lftp.spec
@@ -1,21 +1,23 @@
-Summary:     Commandline ftp client.
-Summary(pl): Zaawansowany klient ftp
-Name:        lftp
-Version:     1.2
-Release:     1
-Copyright:   GPL
-Group:       Applications/Networking
-Group(pl):   Aplikacje/Sieæ
-Source:      ftp://ftp.yars.free.net:/pub/software/unix/net/ftp/client/%{name}-%{version}.tar.gz
-Icon:        ftp.gif
-BuildRoot:   /tmp/%{name}-%{version}-root
+Summary:       Commandline ftp client
+Summary(pl):   Zaawansowany klient ftp
+Name:          lftp
+Version:       1.2.4
+Release:       4
+Group:         Networking/Utilities
+Group(pl):     Sieciowe/Narzêdzia
+Copyright:     GPL
+Source:                ftp://ftp.yars.free.net:/pub/software/unix/net/ftp/client/%{name}-%{version}.tar.gz
+Icon:          ftp.gif
+BuildPrereq:   ncurses-devel
+BuildPrereq:   readline-devel
+Buildroot:     /tmp/%{name}-%{version}-root
 
 %description
 LFTP is a shell-like command line ftp client. The main two advantages over
 other ftp clients are reliability and ability to perform tasks in
 background. It will reconnect and reget the file being transferred if the
 connection broke. You can start a transfer in background and continue
-browsing on the ftp site.  It does this all in one process. When you have
+browsing on the ftp site. It does this all in one process. When you have
 started background jobs and feel you are done, you can just exit lftp and it
 automatically moves to nohup mode and completes the transfers. It has also
 such nice features as reput and mirror.
@@ -31,52 +33,72 @@ Doskonale si
 %setup -q
 
 %build
-CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
+CXXFLAGS="$RPM_OPT_FLAGS" \
+./configure %{_target_platform} \
        --prefix=/usr
-make
+make 
 
 %install
 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 -9nf $RPM_BUILD_ROOT/usr/man/man1/*
+gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man1/* \
+       README NEWS 
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
-%defattr(644, root, root, 755)
-%doc README NEWS 
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc {README,NEWS}.gz
 %config(noreplace) %verify(not size mtime md5) /etc/lftp.conf
-%attr(755, root, root) /usr/bin/*
-%attr(755, root, root, 755) /usr/share/lftp
-%attr(644, root,  man) /usr/man/man1/*
-%lang(es) /usr/share/locale/es/LC_MESSAGES/lftp.mo
-%lang(it) /usr/share/locale/it/LC_MESSAGES/lftp.mo
-%lang(pl) /usr/share/locale/pl/LC_MESSAGES/lftp.mo
-%lang(pt) /usr/share/locale/pt*/LC_MESSAGES/lftp.mo
-%lang(ru) /usr/share/locale/ru/LC_MESSAGES/lftp.mo
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+%attr(755,root,root) %{_datadir}/lftp
 
 %changelog
-* Wed Dec  9 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.2-1]
-- added gzipping man pages,
-- added using LDFLAGS="-s" to ./configure enviroment,
-- added /usr/share/lftp to %files,
-- recompiled against libstdc++.so.2.9.0,
-- added /usr/share/locale/pl/LC_MESSAGES/lftp.mo to %files.
-
-* Mon Nov  2 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.0.1-2]
-- fixed passing $RPM_OPT_FLAGS,
-- added Group(pl).
+Revision 1.31  1999/07/12 23:06:05  kloczek
+- added using CVS keywords in %changelog (for automating them).
+
+* Sat May 29 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [1.2.4-4]
+- more rpm macros,
+- added rpm BuildPrereq rules.
+
+* Tue Apr 20 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [1.2.4-3]
+- changed Group to Networking/Utilities,
+- added resdline-devel to BuildPrereq,
+- removed %%requires_pkg (dependences for ncurses is generted automatycally).
+
+* Mon Apr 20 1999 Piotr Czerwiñski <pius@pld.org.pl>
+- recompiled on rpm 3,
+- added %requires_pkg macro and BuildPrereq,
+- replacements in %files.
+
+* Thu Mar 18 1999 Micha³ Kuratczyk <kura@pld.org.pl>
+  [1.2.4-2]
+- gzipping documentation (instead bzipping)
+
+* Tue Feb 23 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [1.2.4-1]
+- removed man group from man pages,
+- added "Requires: ncurses => 4.2-12" for prevent using lftp with proper
+  version ncurses,
 - removed "rm -rf $RPM_BUILD_ROOT" from %prep,
 - simplification in %files,
-  [1.0.1-1]
-- added %lang macros for /usr/share/locale/*/LC_MESSAGES/lftp.mo files,
-- added pl translation.- build against glibc-2.1,
+- 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,
 - translation modified for pl,
 - moved %changelog at the end of spec.
This page took 0.06115 seconds and 4 git commands to generate.