4c1ec9b
Name:           filezilla
99bea6f
Version:        3.0.3
4c1ec9b
Release:        1%{?dist}
4c1ec9b
Summary:        FileZilla FTP, FTPS and SFTP client
4c1ec9b
4c1ec9b
Group:          Applications/Internet
4c1ec9b
License:        GPLv2+
4c1ec9b
URL:            http://filezilla.sourceforge.net/
4c1ec9b
Source0:        http://downloads.sourceforge.net/%{name}/FileZilla_%{version}_src.tar.bz2
4c1ec9b
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4c1ec9b
4c1ec9b
## Needed if autogen.sh is invoked
4c1ec9b
#BuildRequires:  automake, autoconf, libtool
4c1ec9b
## 
4c1ec9b
## Needed if test program is build
4c1ec9b
BuildRequires:  cppunit-devel >= 1.10.2
4c1ec9b
##
4c1ec9b
BuildRequires:  desktop-file-utils
4c1ec9b
BuildRequires:  gettext
4c1ec9b
BuildRequires:  gnutls-devel >= 1.5.4
4c1ec9b
BuildRequires:  libidn-devel
4c1ec9b
BuildRequires:  wxGTK-devel >= 2.8.4
4c1ec9b
4c1ec9b
Requires(post): desktop-file-utils
4c1ec9b
Requires(postun): desktop-file-utils
4c1ec9b
4c1ec9b
4c1ec9b
%description
4c1ec9b
FileZilla is a FTP, FTPS and SFTP client for Linux with a lot of features.
4c1ec9b
- Supports FTP, FTP over SSL/TLS (FTPS) and SSH File Transfer Protocol (SFTP)
4c1ec9b
- Cross-platform
4c1ec9b
- Available in many languages
4c1ec9b
- Supports resume and transfer of large files >4GB
4c1ec9b
- Easy to use Site Manager and transfer queue
4c1ec9b
- Drag & drop support
4c1ec9b
- Speed limits
4c1ec9b
- Filename filters
4c1ec9b
- Network configuration wizard 
4c1ec9b
4c1ec9b
4c1ec9b
%prep
4c1ec9b
%setup -q
4c1ec9b
4c1ec9b
# Run autotools if needed
4c1ec9b
# sh autogen.sh
4c1ec9b
4c1ec9b
4c1ec9b
%build
4c1ec9b
%configure \
4c1ec9b
  --disable-static \
4c1ec9b
  --enable-locales \
4c1ec9b
  --localedir=%{_datadir}/locale \
4c1ec9b
  --disable-manualupdatecheck \
4c1ec9b
  --disable-autoupdatecheck 
4c1ec9b
4c1ec9b
## Do not use --enable-buildtype=official 
4c1ec9b
## that option enables the "check for updates" dialog to download
4c1ec9b
## new binaries from the official website.
4c1ec9b
4c1ec9b
make %{?_smp_mflags}
4c1ec9b
4c1ec9b
4c1ec9b
%install
4c1ec9b
rm -rf $RPM_BUILD_ROOT __doc
4c1ec9b
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
4c1ec9b
4c1ec9b
mkdir -p __doc
4c1ec9b
install -pm 0644 $RPM_BUILD_ROOT%{_datadir}/%{name}/docs/* __doc
4c1ec9b
rm -rf $RPM_BUILD_ROOT%{_datadir}/filezilla/docs
4c1ec9b
4c1ec9b
desktop-file-install --vendor "fedora" \
4c1ec9b
  --delete-original \
4c1ec9b
  --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
4c1ec9b
  ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
4c1ec9b
4c1ec9b
4c1ec9b
%find_lang %{name}
4c1ec9b
4c1ec9b
%check
4c1ec9b
pushd tests
4c1ec9b
make test
4c1ec9b
popd
4c1ec9b
4c1ec9b
%clean
4c1ec9b
rm -rf $RPM_BUILD_ROOT
4c1ec9b
4c1ec9b
%post
4c1ec9b
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
4c1ec9b
4c1ec9b
%postun
4c1ec9b
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
4c1ec9b
4c1ec9b
4c1ec9b
%files -f %{name}.lang
4c1ec9b
%defattr(-,root,root,-)
4c1ec9b
%doc AUTHORS ChangeLog COPYING NEWS
4c1ec9b
%doc __doc/*
4c1ec9b
%{_bindir}/*
4c1ec9b
%{_datadir}/filezilla/
4c1ec9b
%{_datadir}/applications/*%{name}.desktop
4c1ec9b
%{_datadir}/pixmaps/%{name}.png
4c1ec9b
4c1ec9b
4c1ec9b
%changelog
99bea6f
* Wed Nov  7 2007 kwizart < kwizart at gmail.com > - 3.0.3-1
99bea6f
- Update to 3.0.3
99bea6f
05ce1a0
* Fri Oct 19 2007 kwizart < kwizart at gmail.com > - 3.0.2.1-1
05ce1a0
- Update to 3.0.2.1
05ce1a0
016ff4f
* Sat Sep 22 2007 kwizart < kwizart at gmail.com > - 3.0.1-1
016ff4f
- Update to 3.0.1
016ff4f
4c1ec9b
* Sun Sep  9 2007 kwizart < kwizart at gmail.com > - 3.0.0-1
4c1ec9b
- Update to 3.0.0 (final)
4c1ec9b
- Add vendor field for .desktop
4c1ec9b
4c1ec9b
* Mon Sep  3 2007 kwizart < kwizart at gmail.com > - 3.0.0-0.3.rc3
4c1ec9b
- Update to 3.0.0rc3
4c1ec9b
- Add BR gawk
4c1ec9b
- Improve description/summary
4c1ec9b
- Removed dual listed doc file
4c1ec9b
4c1ec9b
* Mon Aug 27 2007 kwizart < kwizart at gmail.com > - 3.0.0-0.2.rc2
4c1ec9b
- Update to 3.0.0-rc2
4c1ec9b
- Upstream now install their own desktop file and pixmap
4c1ec9b
4c1ec9b
* Mon Aug 13 2007 kwizart < kwizart at gmail.com > - 3.0.0-0.2.rc1
4c1ec9b
- Update to 3.0.0-rc1
4c1ec9b
- Enable make check
4c1ec9b
4c1ec9b
* Fri Jul 27 2007 kwizart < kwizart at gmail.com > - 3.0.0-0.1.beta11
4c1ec9b
- Update to beta11
4c1ec9b
4c1ec9b
* Wed Jun  5 2007 kwizart < kwizart at gmail.com > - 3.0.0-0.1.beta10
4c1ec9b
- Update to beta10
4c1ec9b
4c1ec9b
* Sat May 26 2007 kwizart < kwizart at gmail.com > - 3.0.0-0.1.beta8
4c1ec9b
- Update to beta8
4c1ec9b
4c1ec9b
* Tue Mar 13 2007 kwizart < kwizart at gmail.com > - 3.0.0-0.1.beta7
4c1ec9b
- Update to beta7
4c1ec9b
4c1ec9b
* Tue Mar 13 2007 kwizart < kwizart at gmail.com > - 3.0.0-0.1.beta6
4c1ec9b
- Initial package.