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
%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
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.
- 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.