]> git.pld-linux.org Git - packages/gftp.git/blobdiff - gftp.spec
- release 3, Epoch 1 (for allow upgrade from RH 7).
[packages/gftp.git] / gftp.spec
index 7ea7fdd3684b851f128c64fdf039ef0c98c8e40f..e697d72bd53396573c1ce56513ae2c2e4a081392 100644 (file)
--- a/gftp.spec
+++ b/gftp.spec
@@ -1,87 +1,75 @@
 Summary:       Multithreaded FTP client for X Window
 Summary(pl):   Wielow±tkowy klient FTP dla X Window
 Name:          gftp
-Version:       1.12    
-Release:       4
+Version:       2.0.7b
+Release:       3
+Epoch:         1
 Group:         X11/Applications/Networking
+Group(de):     X11/Applikationen/Netzwerkwesen
 Group(pl):     X11/Aplikacje/Sieciowe
-Copyright:     GPL
-Source0:       http://www.newwave.net/~masneyb/%{name}-%{version}.tar.gz
-Source1:       gftp.desktop
-Source2:       gftp.wmconfig
-Patch0:                gftp-opt.patch
-Patch1:                gftp-pld.patch
-URL:           http://www.newwave.net/~masneyb/
-Requires:      gtk+ = 1.2.1
-Buildroot:      /tmp/%{name}-%{version}-root
+License:       GPL
+Source0:       http://gftp.seul.org/%{name}-%{version}.tar.gz
+Patch0:                %{name}-pld.patch
+URL:           http://gftp.seul.org/
+BuildRequires: gtk+-devel >= 1.2.3
+BuildRequires: gettext-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
 
 %description
-gFTP is a multithreaded FTP client for X Window written using Gtk. It
-allows to have simultaneous downloads, resuming of interrupted file
-transfers, file transfer queues, a very nice connection manager and
+gFTP is a multithreaded FTP client for X Windows written using Gtk. It
+features simultaneous downloads, resuming of interrupted file
+transfers, file transfer queues, downloading of entire directories,
+ftp proxy support, remote directory caching, passive and non-passive
+file transfers, drag-n-drop support, bookmarks menu, stop button, and
 many more features.
 
 %description -l pl
-gFTP jest wielow±tkowym klientem FTP dla X Window, napisanym przy u¿yciu Gtk.
-Pozwala na jednoczesne ¶ci±ganie wielu plików, wznawianie przerwanych 
-transferów, kolejkowanie przesy³anych plików, posiada bardzo przyjemnego 
-zarz±dcê po³±czeñ i wiele innych mo¿liwo¶ci.
+gFTP jest wielow±tkowym klientem FTP dla X Window wykorzystuj±cym
+bibliotekê gtk+. Pozwala na jednoczesne ¶ci±ganie wielu plików,
+wznawianie przerwanych transferów, kolejkowanie przesy³anych plików,
+¶ci±ganie zawarto¶ci katalogów, mo¿liwo¶æ pracy z wykorzystaniem ftp
+proxy, ¶ci±gnie plików w trybie passiv i non-passive, drag-n-drop,
+zarz±dzanie po³±czeniami i wiele innych mo¿liwo¶ci.
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
-make OPTFLAGS="$RPM_OPT_FLAGS -Wall" \
-       PREFIX="/usr/X11R6"
+gettextize --copy --force
+%configure
+%{__make} 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/X11R6/{bin,share/{gftp,gnome/apps/Internet}} \
-       $RPM_BUILD_ROOT/etc/X11/wmconfig
 
-make install PREFIX=$RPM_BUILD_ROOT/usr/X11R6 
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       Utilitiesdir=%{_applnkdir}/Network/FTP
 
-install %{SOURCE1} $RPM_BUILD_ROOT/usr/X11R6/share/gnome/apps/Internet
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/X11/wmconfig/gftp
+gzip -9nf README TODO THANKS docs/USERS-GUIDE ChangeLog
 
-gzip -9nf README TODO CHANGELOG
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc README.gz TODO.gz CHANGELOG.gz
-
-%attr(755,root,root) /usr/X11R6/bin/gftp
-/usr/X11R6/share/gnome/apps/Internet/gftp.desktop
-/usr/X11R6/share/gftp
+%doc *.gz docs/*.gz
 
-%config(missingok) /etc/X11/wmconfig/gftp
+%attr(755,root,root) %{_bindir}/gftp
 
-%changelog
-* Mon Mar 29 1999 Piotr Czerwiñski <pius@pld.org.pl>
-  [1.12-4]
-- added wmconfig file,
-- added gftp-pld.patch,
-- fixed Source description,
-- changed Group to X11/Applications/Networking,
-- changed Buildroot to /tmp/%%{name}-%%{version}-root,
-- added "Requires: gtk+ = 1.2.1",
-- added pl translation,
-- added -q %setup parameter,
-- changed PREFIX to /usr/X11R6,
-- fixed passing RPM_OPT_FLAGS (gftp-opt.patch),
-- simplifications in %install,
-- added gzipping documentation,
-- added full %defattr description in %files,
-- moved %changelog at the end of spec,
-- minor changes.
+%dir %{_datadir}/gftp
+%{_datadir}/gftp/*.xpm
+%{_datadir}/gftp/COPYING
+%config %{_datadir}/gftp/gftprc
+%config %{_datadir}/gftp/bookmarks
 
-* Tue Feb 16 1999 Michael Fulbright <drmike@redhat.com>
-- version 1.12
+%{_datadir}/pixmaps/gftp.png
+%{_mandir}/man1/*
 
-* Wed Feb 10 1999 Michael Fulbright <drmike@redhat.com>
-- first attempt at spec file
+%{_applnkdir}/Network/FTP/gftp.desktop
This page took 0.03403 seconds and 4 git commands to generate.