File gftp.spec of Package gftp
#
# spec file for package gftp (Version 2.0.18)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gftp
BuildRequires: docbook-toys fdupes gtk2-devel indent jadetex openssl-devel readline-devel texlive texlive-latex texlive-latex-doc update-desktop-files
License: GPL v2 or later
Group: Productivity/Networking/Ftp/Clients
AutoReqProv: on
Version: 2.0.18
Release: 181
Source0: %{name}-%{version}.tar.bz2
Url: http://www.gftp.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Multithreaded FTP Client for X11
Patch1: gftp-show-busy-cursor.patch
Patch2: %{name}-%{version}-overflow.patch
Patch3: gedit-tmp-file-deletion.patch
Patch4: strncat.patch
Patch5: gftp-fsplib.patch
Patch6: tango-icon-2.0.18.patch
%if %suse_version > 1020
Requires: %{name}-lang = %{version}
%endif
%description
GFTP is a multithreaded FTP client for X11 written using Gtk. It has
the following features: simultaneous downloads, resume of interrupted
file transfers, file transfer queues, download of entire directories,
ftp proxy support, remote directory caching, passive and nonpassive
file transfers, drag and drop support, a very nice connection manager,
and others.
Authors:
--------
Brian Masney <masneyb@newwave.net>
%lang_package
%prep
%setup
%patch1
%patch2
%patch3
%patch4
%patch5
%patch6 -p 1
rename no nb po/no.*
sed -i "s/\(ALL_LINGUAS.*\) no /\1 nb /" configure
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
make %{?jobs:-j%jobs}
cd docs
db2html gftp-faq.sgml
db2pdf gftp-faq.sgml
chmod og+rx gftp-faq
%install
make DESTDIR=$RPM_BUILD_ROOT install
# Make gftp find its license:
#rm $RPM_BUILD_ROOT%{_datadir}/gftp/COPYING
%suse_update_desktop_file -N "Gnome FTP" -G "File Transfer" -r %{name} Network FileTransfer
%find_lang %{name}
%if %suse_version > 1020
%fdupes -s $RPM_BUILD_ROOT
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc ChangeLog COPYING README README.html THANKS TODO docs/USERS-GUIDE docs/gftp-faq.pdf docs/gftp-faq
%{_datadir}/applications/gftp.desktop
%{_datadir}/gftp
%{_datadir}/pixmaps/*.png
%{_bindir}/*
%doc %{_mandir}/man?/*.*
%files lang -f %{name}.lang
%changelog
* Wed Mar 19 2008 maw@suse.de
- Require texlive-latex and texlive-latex-doc to build
- Build with -fno-strict-aliasing.
* Tue Jan 29 2008 mauro@suse.de
- Added tango-icon-2.0.18.patch, including the lastest gftp icon
from bgo #370627, bnc #155435
* Thu Aug 09 2007 maw@suse.de
- Fix up the lang subpackage.
* Wed Aug 08 2007 mauro@suse.de
- Split out a -lang subpackage
- Add %%fdupes stuff
* Wed Aug 01 2007 sbrabec@suse.cz
- Fixed FSP buffer overflows (#295068,
CVE-2007-3961, CVE-2007-3962).
* Wed May 30 2007 sbrabec@suse.cz
- Require jadetex for build.
* Thu Apr 26 2007 ro@suse.de
- build with texlive
* Mon Apr 23 2007 sbrabec@suse.cz
- Desktop Categories changed to Network;FileTransfer (#266854).
* Fri Dec 29 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Thu Dec 21 2006 maw@suse.de
- Fix a potential buffer overflow bug (strncat.patch).
* Mon Dec 18 2006 maw@suse.de
- Make gftp find its license (#227368)
* Thu May 18 2006 sreeves@suse.de
- Fix for 6396 - delete tmp files
Fix for 176373 - Poor application categories
* Fri May 05 2006 sreeves@suse.de
- Fix for 167218 - change name
* Mon Feb 20 2006 mmarek@suse.cz
- fix array subscript out of range in fsp implementation
[#150399] (overflow.patch)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Sep 30 2005 sreeves@suse.de
- Fix Defect#9461 - now shows busy cursor on connection operations
* Thu Jun 16 2005 sbrabec@suse.cz
- Build documentation (#6912).
- Build with SSL support.
* Mon Feb 07 2005 sbrabec@suse.cz
- Updated to version 2.0.18.
* Thu Jan 20 2005 sbrabec@suse.cz
- Fixed download path directory traversal bug (7a69Adv#17, #49572).
* Tue Nov 02 2004 mmj@suse.de
- Locale rename no to nb
* Tue Aug 24 2004 sbrabec@suse.cz
- Updated to version 2.0.17.
* Tue Aug 03 2004 ro@suse.de
- recode desktop file to utf-8
* Tue Jun 22 2004 hhetter@suse.de
- apply 64bit patches from CVS, make it work on x86_64
* Tue Mar 16 2004 sbrabec@suse.cz
- FHS 2.3 fix (mandir, infodir, #35821).
* Thu Feb 05 2004 sbrabec@suse.cz
- Updated to version 2.0.16.
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Sun Sep 07 2003 adrian@suse.de
- add Categories
* Mon Aug 25 2003 sbrabec@suse.cz
- Updated to version 2.0.15.
* Thu Aug 07 2003 sbrabec@suse.cz
- Updated to version 2.0.15rc1.
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Mon Feb 10 2003 sbrabec@suse.cz
- Install fix - added missing RPM_BUILD_ROOT.
* Mon Feb 10 2003 sbrabec@suse.cz
- Use GTK2 interface.
* Tue Dec 10 2002 sbrabec@suse.cz
- Updated to version 2.0.14.
- Added buildroot install.
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Tue Jul 23 2002 uli@suse.de
- update -> 2.0.13 (improvements to the text port, ability to parse
Cray FTP directory listings, many fixes, improved user interface)
* Mon Jun 10 2002 uli@suse.de
- update -> 2.0.12 (fixed several memory leaks, HTTP proxy fixups,
fixed bug with throttling of connections not working in some cases,
fixed wrong time remaining for interrupted transfers, added option
to only show selected files, cleanups to cache, fixed crash in
view file, fixed crash in toolbar, updates to Compare Windows
feature, password is no longer shown in the log window for HTTP
protocol)
* Tue Apr 23 2002 uli@suse.de
- update -> 2.0.11 (fixes bug #14271)
* Fri Dec 07 2001 uli@suse.de
- update -> 2.0.9
* Wed May 09 2001 mfabian@suse.de
- bzip2 sources
* Thu Apr 26 2001 uli@suse.de
- update -> 2.0.8 (secfix)
* Thu Mar 08 2001 uli@suse.de
- fixed filelist
* Mon Nov 06 2000 ro@suse.de
- fixed neededforbuild
* Mon Sep 04 2000 hhetter@suse.de
- removed requires : gncore
- added neededforbuild: gncore
* Fri Sep 01 2000 hhetter@suse.de
- set %%prefix in specfile to /opt/gnome
- update to version 2.0.7b
- added requires : gncore
* Mon Jun 05 2000 uli@suse.de
- moved docs to %%{_docdir}
* Tue Dec 14 1999 uli@suse.de
- New version 2.0.6
* Fri Sep 17 1999 kettner@suse.de
- Reinserted old # Commandline: line.
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Tue Jul 13 1999 bs@suse.de
- use gtk and glib instead of gtkn and glibn
* Thu Jul 08 1999 uli@suse.de
- New version 2.0.3
* Thu Jun 24 1999 uli@suse.de
- Spec file created from gftp-2.0.1.tar.gz by autospec