1
|
1 %define name gftp
|
|
2 %define version @VERSION@
|
|
3 %define release 1
|
|
4 %define serial 1
|
|
5 %define prefix @prefix@
|
|
6
|
|
7 Summary: Multithreaded FTP client for X Windows
|
|
8 Name: %{name}
|
|
9 Version: %{version}
|
|
10 Release: %{release}
|
|
11 Serial: %{serial}
|
|
12 Copyright: GPL
|
|
13 Group: Applications/Internet
|
|
14 Url: http://www.gftp.org/
|
|
15 Vendor: Brian Masney <masneyb@gftp.org>
|
|
16 Source: http://www.gftp.org/%{name}-%{version}.tar.gz
|
|
17 Packager: Brian Masney <masneyb@gftp.org>
|
|
18 BuildRoot: /var/tmp/%{name}-%{version}-root
|
|
19 Requires: gtk+ >= 1.2.3
|
|
20
|
|
21 %description
|
|
22 gFTP is a multithreaded FTP client for X Windows written using Gtk. It
|
|
23 features simultaneous downloads, resuming of interrupted file transfers, file
|
|
24 transfer queues, downloading of entire directories, ftp proxy support, remote
|
|
25 directory caching, passive and non-passive file transfers, drag-n-drop support,
|
|
26 bookmarks menu, stop button, and many more features.
|
|
27
|
|
28 %prep
|
|
29 %setup -q
|
|
30 CFLAGS=$RPM_OPT_FLAGS \
|
|
31 ./configure --prefix=%{prefix}
|
|
32
|
|
33 %build
|
|
34 make
|
|
35
|
|
36 %install
|
|
37 [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
38 make -e prefix=$RPM_BUILD_ROOT%{prefix} install
|
|
39
|
|
40 %clean
|
|
41 [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
42
|
|
43 %files
|
|
44 %defattr(-,root,root)
|
|
45 %doc ChangeLog COPYING README TODO docs/USERS-GUIDE
|
|
46 %{prefix}/bin/gftp
|
|
47 %{prefix}/bin/gftp-gtk
|
|
48 %{prefix}/bin/gftp-text
|
|
49 %{prefix}/share/gftp
|
759
|
50 %{prefix}/share/applications/gftp.desktop
|
1
|
51 %{prefix}/share/pixmaps/gftp.png
|
|
52 %{prefix}/man/*/gftp.*
|
|
53 %{prefix}/share/locale/*/LC_MESSAGES/gftp.mo
|
|
54
|