File filezilla.spec of Package filezilla

#
# spec file for package filezilla (Version 3.0.3)
#
# Copyright (c) 2007 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:           filezilla
BuildRequires:  fdupes flac-devel gcc-c++ gtk2-devel id3lib-devel libvorbis-devel
BuildRequires:  cppunit gnutls-devel libidn-devel update-desktop-files wxGTK-devel
Provides:       FileZilla < 3.0.3
Obsoletes:      FileZilla < 3.0.3
PreReq:         update-desktop-files
Summary:        A GUI FTP and SFTP Client
Version:        3.0.3
Release:        1
License:        GPL v2 or later
Url:            ttp://www.filezilla.de
Group:          Productivity/Networking/Ftp/Clients
Source:         FileZilla_%{version}_src.tar.bz2
Source1:        %{name}-rpmlintrc
Patch0:         filezilla-autotools.patch
Patch1:         filezilla-pointer_string_cmp.patch
Patch2:         filezilla-int_overflow.patch
Patch3:         filezilla-useless_qualifier_on_return.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
FileZilla is a modern and powerful FTP client for Windows and Linux.
FileZilla development focuses on high usability while also supporting
as many useful features as possible. FileZilla is "Open Source" under
the GPL license.

Some of the main features are: * Continuing interrupted
   up-/downloads

* Managing different FTP sites

* Modifiable Commands

* Keep-Alive-System

* Timeout detection

* Firewall support

* SOCKS4/5 and HTTP 1.1 proxy support

* SSL support (secure connections)

* SFTP support

* Upload/Download queue

* Drag&Drop support



Authors:
--------
    Tim Kosse <tim.kosse@gmx.de>

%prep
%setup -q
%patch0
%patch1
%patch2
%patch3
(cd locales && mv gr.po el.po)

%build
autoreconf -f -i
export CFLAGS="%optflags -fstack-protector"
export CXXFLAGS="%optflags -fstack-protector"
%configure
make %{?jobs:-j%jobs}

%check
make check

%install
make DESTDIR=%buildroot install
%suse_update_desktop_file %name
%fdupes %{_datadir}%{name}
%{find_lang} %name

%clean
rm -rf %{buildroot}

%files -f %{name}.lang
%defattr(-, root, root)
%doc README NEWS
%{_bindir}/%name
%{_bindir}/fzsftp
%{_datadir}/%name
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%dir %{_datadir}/locale/ca_ES
%dir %{_datadir}/locale/da_DK
%dir %{_datadir}/locale/he_IL
%dir %{_datadir}/locale/id_ID
%dir %{_datadir}/locale/ja_JP
%dir %{_datadir}/locale/ko_KR
%dir %{_datadir}/locale/ro_RO
%dir %{_datadir}/locale/sv_SE

%changelog
* Thu Nov 22 2007 - pth@suse.de
- Package renamed from FileZilla to filezilla because only the tarball
  is named with mixed case.
- Provide a filezilla-rpmlintrc
- Update to 3.0.3. Changes since 3.0.0.beta6:
  - Install some default filters if filters.xml missing in user's settings
  directory
  - Additional fixes for SFTP servers with nonstandard filename encodings
  - Automatic server timezone detection. Custom offset in the Site Manager
  may need to be adjusted. FTP only.
  - Option to preserve file timestamps on downloads (all protocols)
  - Option to preserve file timestamps on uploads on FTP servers supporting
  the MFMT command
  - Add transfer type (ascii/binary/auto) selection to transfer menu
  - Shorten very long filenames on file exists dialog
  - Attempt at working around broken routers and firewalls disconnecting
  the control connection of the transfer session on transfers
  - Deleting directories containing lots of files should be faster now
  - Disallow settings/site import from files located in the settings storage
  directory
  - Fix nullpointer dereference on non-UTF8 enabled SFTP servers
  - Fix button height inconsistencies on dialogs with certain artwork
  (e.g. Ubuntu 7.10)
  - Fix issue with message log not working properly
  - Experimental support for z/VM servers
  - Fix typo in option handling code. Due to this, settings for date/time
  formatting have been reset.
  - Fix performance problem if FileZilla gets started with message log
  hidden
  - Work around possible race conditions in SFTP input thread leading to
  crashes
  - Remote file viewing / editing
  - Display current server in window title
  - Don't remember incorrect password on SFTP connections with ASK
  logontype
  - Fix Makefiles so SFTP properly supports files > 2GB
  - Ascii filetype setting for extensionless files and dotfiles had
  negated effect
  - Fix error message if using multiple running instances save the
  settings at the same time
  - Fix parsing of very new files in directory listings if server is in a
  timezone ahead of the client
  - Fix range of timezone offset setting
  - Fix problems with remote path combobox if reconnecting after a
  disconnect
  - Display confirmation dialog if deleting file from remote directory
  tree context menu
  - Refresh remote directory listing after refreshing a single file
  - On very first startup, center FileZilla on screen
  - Fix parsing of settings or site XML data containing double, leading or
  trailing whitespace.
  - Settings to configure size, date and time formatting
  - Message log and queue visibility will be remembered
  - Custom action to perform after queue completion
  - Add some confirmation dialogs
  - Fix misplaced settings dialog
  - Fix problems with remembering pane size
  - Properly refresh local directory if downloading into newly created
  subdirectories
  - Fix issues with language set to Japanese
  - New application icon
  - Fix support for servers sending directory listing in yet another
  exotic format
  - Fix prefix search in list controls on wxGTK
  - Work around problem with wxSpinCtrl in site manager on wxGTK
  - Fix assertion on wxGTK if listing extensionless files
  - Fix buffer overflow if directory lisiting filters were enabled,
  causing FileZilla to crash.
  - Backspace key can be used to goes to parent directory in file lists
  - Fix file selection by entering filename prefix
  - Restore correct window size if FileZilla gets closed while minimized
  - Disable "Create directory" entry in remote filelist context menu
  while disconnected
  - Improve compatibility with SFTP servers using exotic listing formats
  - Fix queue scrolling
  - Remember Window size and position
  - Remember sort column and order of file lists
  - Additional icon set by Brian Lukis
  - Added .desktop file on *nix systems
  - If server is crippled and doesn't allow more than one connection
  (based on Sitemanager preference), primary browsing connection can be
  used by the transfer queue
  - Fix SSL transfers hanging if using speed limits
  - Compile fixes and compatibility improvements for various platforms
  - The usual assortment of small bugfixes, see changelog for details
  - Fix remotely triggered memory corruption if connection gets terminated
  during TLS handshake.
  - Column withs in all list views will be saved
  - Refresh local file list after a successful file transfer
  - Add context menu to remote directory tree
  - Make Site Manager resizable
  - Don't leave empty files behind on failed downloads
  - Fix retry and cache logic if transfer command fails with 5yz reply
  - Limit number of simultaneous connections did not work properly
  - Refresh listing after chmod
  - Fix upload of empty files over TLS connections
  - Improved queue
  - Import and export dialogs including import of Sitemanager data
  from legacy FZ 2.x
  - Tab key can be used to switch between panes
  - F6 toggles between quickconnect bar and local/remote path edit fields
  - Location of settings directory can be specified in fzdefaults.xml
  - Engine state could get mixed up if transfers failed
  - Transfer of empty files could incorrectly time out
  - Fix directory cache coherency if removing/renaming directories
  - Work around lack of thread-safety in wxWidgets causing random
  misbehaviour
  - Properly disconnect idle transfer engines after 30 seconds
  - Update selections if changing sort order of file lists
  - Various minor fixes
  - Add "View hidden files" option to server menu
  - Add dialog to clear private data
  - Performance improvements of message log
  - Avoid sending unnecessary TYPE commands
  - Updated TinyXML component, fixes problems with filenames
  containing ampersands or other special XML entities.
  - Don't retry connecting if user cancels new/changed hostkey
  notification
  - Fix data corruption on FTPS uploads
  - Implement speed limits
  - Last used local directory will be remembered
  - New option for the sorting of the filelists. Directories can be kept
  on top or sorted inline.
  - Display warning if detecting a Windows system with a networking bug
  confirmed by Microsoft
  - Right-clicking the Sitemanager button in the toolbar displays a popup
  menu with the sites for quick access. On Windows, a dropdown arrow got
  added.
  - Autocompletion did not work properly on GTK based systems
  - Uninstalling FileZilla on Windows should no longer leave registry keys
  behind
  - lots of small bugfixes
  - New optionspage to change layout of file and directory panes
  - Loading of predefined Sitemanager entries from fzdefaults.xml
  - UTF-8 support for SFTP, merged in upstream changes from PuTTY.
  - Ascii file FTP transfers should now work properly on non-Windows
  systems
  - Fix SFTP transfers of filenames containing the following
  characters: [ ] \ * ?
  - lots of small bugfixes and performance improvements
* Wed May 16 2007 - pth@suse.de
- Fix comparison of pointer with string.
* Fri May 04 2007 - pth@suse.de
- Initial package
openSUSE Build Service is sponsored by