gftp/gftp.spec

Name: gftp
Summary: A multi-threaded FTP client for the X Window System
Version: 2.0.19
Release: 4
License: GPLv2+
Group: Applications/Internet
URL: http://gftp.seul.org/
Description: gFTP is a multi-threaded FTP client for the X Window System. gFTP supports simultaneous downloads, resumption of interrupted file transfers, file transfer queues to allow downloading of multiple files, support for downloading entire directories/subdirectories, a bookmarks menu to allow quick connection to FTP sites, caching of remote directory listings, local and remote chmod, drag and drop, a connection manager and much more.

Install gftp if you need a graphical FTP client.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: yury
# Upstream: Brian Masney <masneyb$gftp,org>

# RHEL6 doesn't ship gftp at all
# ExclusiveDist: el6

Summary: A multi-threaded FTP client for the X Window System
Name: gftp
Version: 2.0.19
Release: 4%{?dist}
Epoch: 2
License: GPLv2+
Group: Applications/Internet
Url: http://gftp.seul.org/

Source0: http://gftp.seul.org/%{name}-%{version}.tar.bz2 
Source1: gftp-text-disabled.sh

Patch0: gftp-stropts.patch
Patch1: gftp-2.0.19-fix-broken-bookmarks.patch

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: gtk2-devel >= 2.2.0
BuildRequires: readline-devel
BuildRequires: openssl-devel
BuildRequires: desktop-file-utils

%description
gFTP is a multi-threaded FTP client for the X Window System. gFTP
supports simultaneous downloads, resumption of interrupted file
transfers, file transfer queues to allow downloading of multiple
files, support for downloading entire directories/subdirectories,
a bookmarks menu to allow quick connection to FTP sites, caching of
remote directory listings, local and remote chmod, drag and drop, 
a connection manager and much more.

Install gftp if you need a graphical FTP client.

%prep
%setup -q
%patch0 -p1 -b .stropts
%patch1 -p1 -b .fix-broken-bookmarks

%build
%configure

make CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT 

# desktop-file-install is picky about this
sed -i -e "s#Icon=gftp.png#Icon=/usr/share/pixmaps/gftp.png#" \
  $RPM_BUILD_ROOT%{_datadir}/applications/gftp.desktop
   
desktop-file-install --vendor net --delete-original         \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications             \
  --remove-category Application                             \
  $RPM_BUILD_ROOT%{_datadir}/applications/gftp.desktop

# Disable to save space
rm -f $RPM_BUILD_ROOT%{_bindir}/gftp-text
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/gftp-text

%find_lang %name

%clean
rm -rf $RPM_BUILD_ROOT
 
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc ChangeLog COPYING README TODO 
%{_bindir}/gftp
%{_bindir}/gftp-gtk
%{_bindir}/gftp-text
%{_datadir}/gftp
%{_datadir}/pixmaps/gftp.png
%{_datadir}/applications/net-gftp.desktop
%{_mandir}/man1/gftp.1.gz

%changelog
* Sun Feb 27 2011 Yury V. Zaytsev <yury@shurup.com> - 2:2.0.19-4
- Ported over to RPMForge, RHEL6 only (thanks to Akemi Yagi!)

* Wed Mar 17 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 2:2.0.19-4
- fix broken bookmarks (bz 463006)

* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2:2.0.19-3
- rebuilt with new openssl

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.0.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Sun Mar 01 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2:2.0.19-1
- upgrade to 2.0.19
- spec cleanup

* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:2.0.18-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Fri Jan 16 2009 Tomas Mraz <tmraz@redhat.com> - 2:2.0.18-5
- rebuild with new openssl

* Mon Oct 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2:2.0.18-4
- fix bookmarks (bz 463006)

* Wed Apr  2 2008 Christopher Aillon <caillon@redhat.com> - 2:2.0.18-3
- stropts.h was removed from glibc; don't #include it anymore

* Sat Feb 16 2008 Christopher Aillon <caillon@redhat.com> - 2:2.0.18-2
- Fix merge review comments

* Wed Dec  5 2007 Matthias Clasen <mclasen@redhat.com> - 2:2.0.18-1
- Rebuild against new openssl
- Fix license field
- Fix desktop file issues

* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 1:2.0.18-7
- Rebuild for build ID

* Sat Jul  7 2007 Matthias Clasen <mclasen@redhat.com> - 1:2.0.18-6
- Fix directory ownership issues

* Thu Mar 15 2007 Alexander Larsson <alexl@redhat.com> - 1:2.0.18-5
- Default to download directory if started from $HOME

* Sun Feb 25 2007 Matthias Clasen <mclasen@redhat.com> - 1:2.0.18-4
- Take the GDK lock early enough (#229943)
- Don't add invalid/obsolete categories to the desktop file

* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:2.0.18-3.2.2
- rebuild

* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:2.0.18-3.2.1
- bump again for double-long bug on ppc(64)

* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:2.0.18-3.2
- rebuilt for new gcc4.1 snapshot and glibc changes

* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt

* Wed Nov  9 2005 Tomas Mraz <tmraz@redhat.com> 2.0.18-3
- rebuilt with new openssl

* Fri Mar  4 2005 David Zeuthen <davidz@redhat.com> 2.0.18-2
- Rebuild

* Thu Feb 10 2005 Warren Togami <wtogami@redhat.com> 2.0.18-1
- 2.0.18

* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Thu Apr 15 2004 Warren Togami <wtogami@redhat.com> 2.0.17-2
- disable gftp-text

* Wed Apr 14 2004 Warren Togami <wtogami@redhat.com> 2.0.17-1
- update to 2.0.17, should fix #114935 x86-64 segfault

* Sat Mar 13 2004 Warren Togami <wtogami@redhat.com> 2.0.16-3
- default to sshv2_use_sftp_subsys=1 so SFTP works out-of-the-box 

* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Mon Dec  1 2003 Jonathan Blandford <jrb@redhat.com> 1:2.0.16-1
- updated version

* Fri Oct 24 2003 Jonathan Blandford <jrb@redhat.com> 1:2.0.14-4
- rebuilt for exec shield

* Sun Oct 19 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- changed %%prefix -> %%_prefix and disabled that part of the specfile,
  seems to be unused

* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt

* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt

* Mon Dec  9 2002 Havoc Pennington <hp@redhat.com>
- 2.0.14
- build req gtk2

* Wed Aug 21 2002 Owen Taylor <otaylor@redhat.com>
- Fix problem where partial translations would lead to completely 
  borked menus (#69782)

* Sun Aug  4 2002 Havoc Pennington <hp@redhat.com>
- s/Internet/Network/ in Categories

* Tue Jul 30 2002 Havoc Pennington <hp@redhat.com>
- move desktop file to /usr/share/applications #69396

* Thu Jul 25 2002 Owen Taylor <otaylor@redhat.com>
- Fix broken .mo files by forcing regeneration (#67217)
- Fix zh_TW.po, again.

* Tue Jul 23 2002 Havoc Pennington <hp@redhat.com>
- 2.0.13

* Mon Jul 15 2002 Owen Taylor <otaylor@redhat.com>
- Upgrade to 2.0.12
- Fix bugs in pofile encoding specification

* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Wed Feb 27 2002 Havoc Pennington <hp@redhat.com>
- move to Hampton

* Mon Feb 11 2002 Havoc Pennington <hp@redhat.com>
- 2.0.11

* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.

* Thu Apr 19 2001 Havoc Pennington <hp@redhat.com>
- Upgrade to 2.0.8, fixes a security exploit and a bunch of other
  things, adds a console frontend 

* Tue Feb 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
- langify
- don't try to include two non-existing files in %%doc
- move changelog to end of file

* Thu Aug 10 2000 Havoc Pennington <hp@redhat.com>
- Set Epoch, since upstream versions are not ascending

* Mon Aug 07 2000 Havoc Pennington <hp@redhat.com>
- 2.0.7b, should fix outstanding bugs

* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild

* Mon Jun 19 2000 Preston Brown <pbrown@redhat.com>
- FHS paths

* Fri May 19 2000 Havoc Pennington <hp@redhat.com>
- Update to 2.0.7pre3, and build for Winston

* Fri Feb 11 2000 Elliot Lee <sopwith@redhat.com>
- Add -mieee on alpha to solve bug #9317

* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
- gzip man page

* Tue Jan 04 2000 Elliot Lee <sopwith@redhat.com>
- Update to 2.0.6a

* Fri Sep 3 1999 Elliot Lee <sopwith@redhat.com>
- Upgrade to the full 2.0.4 release. (Yes, pre1 fixed that bug.)

* Wed Sep 1 1999 Elliot Lee <sopwith@redhat.com>
- Try 2.0.4pre1 to see if it fixes bug #4700.

* Thu Jul  8 1999 Michael Fulbright <drmike@redhat.com>
- version 2.0.3

* Wed Jul  7 1999 Michael Fulbright <drmike@redhat.com>
- bumped to version 2.0.2

* Wed Mar 31 1999 Michael Fulbright <drmike@redhat.com>
- version 1.13

* Tue Mar 30 1999 Michael Fulbright <drmike@redhat.com>
- patch to fix a segfault reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>

* Tue Feb 16 1999 Michael Fulbright <drmike@redhat.com>
- version 1.12

* Wed Feb 10 1999 Michael Fulbright <drmike@redhat.com>
- first attempt at spec file