fe15d55
#global fz_rc   rc1
a80b62f
4c1ec9b
Name:           filezilla
68f9515
Version:        3.5.3
44e0c72
Release:        1%{?fz_rc:_%{?fz_rc}}%{?dist}
761412f
Summary:        FTP, FTPS and SFTP client
4c1ec9b
4c1ec9b
Group:          Applications/Internet
4c1ec9b
License:        GPLv2+
d0aff47
URL:            http://filezilla-project.org/
8fbb10f
Source0:        http://download.filezilla-project.org/FileZilla_%{version}%{?fz_rc:-%{?fz_rc}}_src.tar.bz2
4c1ec9b
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4c1ec9b
4c1ec9b
## Needed if autogen.sh is invoked
0f89dea
#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
f6f14e9
BuildRequires:  xdg-utils
f6f14e9
Requires:       xdg-utils
a80b62f
a80b62f
BuildRequires:  dbus-devel
4c1ec9b
BuildRequires:  gettext
44d082e
BuildRequires:  gnutls-devel >= 2.8.3
4c1ec9b
BuildRequires:  libidn-devel
9b98e65
BuildRequires:  sqlite-devel
53d4379
BuildRequires:  tinyxml-devel >= 2.5.3
b50a447
BuildRequires:  wxGTK-devel >= 2.8.9
4c1ec9b
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
a80b62f
%setup -q -n %{name}-%{version}%{?fz_rc:-%{?fz_rc}}
89a127a
4c1ec9b
# Run autotools if needed
b50a447
# sh autoconf
4c1ec9b
4c1ec9b
4c1ec9b
%build
4c1ec9b
%configure \
4c1ec9b
  --disable-static \
4c1ec9b
  --enable-locales \
4c1ec9b
  --disable-manualupdatecheck \
494088a
  --with-tinyxml=builtin \
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
53d4379
# Remove the timyxml internal static lib to configure will not fails
53d4379
#rm -rf src/tinyxml/
53d4379
4c1ec9b
make %{?_smp_mflags}
4c1ec9b
4c1ec9b
4c1ec9b
%install
0f89dea
rm -rf $RPM_BUILD_ROOT
4c1ec9b
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
4c1ec9b
53d4379
for i in 16x16 32x32 48x48 ; do
53d4379
  mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${i}/apps
53d4379
  ln -sf ../../../../%{name}/resources/${i}/%{name}.png \
53d4379
    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${i}/apps/%{name}.png
53d4379
done
53d4379
53d4379
rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps
53d4379
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
494088a
#Create directory for system wide settings
a67173d
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
494088a
#Ghost configuration file
a67173d
touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/fzdefaults.xml
761412f
#This is not the usual docdir
761412f
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/docs
494088a
4c1ec9b
4c1ec9b
%find_lang %{name}
4c1ec9b
4c1ec9b
%check
19d3a28
make check
4c1ec9b
4c1ec9b
%clean
4c1ec9b
rm -rf $RPM_BUILD_ROOT
4c1ec9b
4c1ec9b
53d4379
%post
53d4379
touch --no-create %{_datadir}/icons/hicolor
53d4379
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
53d4379
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
53d4379
fi || :
53d4379
53d4379
%postun
53d4379
touch --no-create %{_datadir}/icons/hicolor
53d4379
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
c8ab21b
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
53d4379
fi || :
53d4379
4c1ec9b
4c1ec9b
%files -f %{name}.lang
4c1ec9b
%defattr(-,root,root,-)
4c1ec9b
%doc AUTHORS ChangeLog COPYING NEWS
761412f
%doc docs/fzdefaults.xml.example
415087e
%dir %{_sysconfdir}/%{name}
415087e
%ghost %{_sysconfdir}/%{name}/fzdefaults.xml
4c1ec9b
%{_bindir}/*
4c1ec9b
%{_datadir}/filezilla/
4c1ec9b
%{_datadir}/applications/*%{name}.desktop
53d4379
%{_datadir}/icons/hicolor/*/apps/%{name}.png
19d3a28
%{_mandir}/man1/*
19d3a28
%{_mandir}/man5/*
4c1ec9b
4c1ec9b
4c1ec9b
%changelog
68f9515
* Wed Jan 11 2012 Nicolas Chauvet <kwizart@gmail.com> - 3.5.3-1
68f9515
- Update to 3.5.3
68f9515
2a3dbd9
* Sun Nov 27 2011 Nicolas Chauvet <kwizart@gmail.com> - 3.5.2-1
2a3dbd9
- Update to 3.5.2
2a3dbd9
6c63155
* Wed Aug 31 2011 Nicolas Chauvet <kwizart@gmail.com> - 3.5.1-1
6c63155
- Update to 3.5.1
6c63155
9b98e65
* Wed May 25 2011 Nicolas Chauvet <kwizart@gmail.com> - 3.5.0-1
9b98e65
- Update to 3.5.0 (final)
9b98e65
9b98e65
* Tue May 10 2011 Nicolas Chauvet <kwizart@gmail.com> - 3.5.0-0.1_rc1
9b98e65
- Update to 3.5.0-rc1
9b98e65
44e0c72
* Mon Mar 28 2011 Nicolas Chauvet <kwizart@gmail.com> - 3.4.0-1
44e0c72
- Update to 3.4.0 (final)
44e0c72
fb20c87
* Sat Mar 26 2011 Nicolas Chauvet <kwizart@gmail.com> - 3.4.0-0.1_rc1
fb20c87
- Update to 3.4.0-rc1
fb20c87
eb52da8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.5.1-2.1
eb52da8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
eb52da8
761412f
* Mon Nov 29 2010 Nicolas Chauvet <kwizart@gmail.com> - 3.3.5.1-2
761412f
- Keep docs in the appropriate place
761412f
- Improve summary
761412f
494088a
* Sun Nov 28 2010 Nicolas Chauvet <kwizart@gmail.com> - 3.3.5.1-1
494088a
- Update to 3.3.5.1
494088a
494088a
* Thu Nov 18 2010 Nicolas Chauvet <kwizart@gmail.com> - 3.3.5-0.1
494088a
- Update to 3.3.5
494088a
- Add RPM registration for system wide settings
494088a
494088a
* Sun Aug 22 2010 Nicolas Chauvet <kwizart@gmail.com> - 3.3.4.1-1
494088a
- Update to 3.3.4.1
494088a
9c56b84
* Fri Aug 13 2010 Nicolas Chauvet <kwizart@gmail.com> - 3.3.4-1
9c56b84
- Update to 3.3.4
9c56b84
c6d5037
* Wed Jul 14 2010 Dan HorĂ¡k <dan@danny.cz> - 3.3.3-1.1
c6d5037
- rebuilt against wxGTK-2.8.11-2
c6d5037
83f11d0
* Mon Jun 21 2010 Nicolas Chauvet <kwizart@gmail.com> - 3.3.3-1
83f11d0
- Update to 3.3.3
83f11d0
1787599
* Sat Mar 27 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 3.3.2.1-1
1787599
- Update to 3.3.2.1
1787599
5d3959e
* Sun Feb 21 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 3.3.2-1
5d3959e
- Update to 3.3.2
5d3959e
5f6ca1b
* Sun Jan 10 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 3.3.1-1
5f6ca1b
- Update to 3.3.1
5f6ca1b
328711c
* Sun Jan  3 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 3.3.1-0.1_rc1
8fbb10f
- Update to 3.3.1-rc1
f6f14e9
- Add Requires xdg-utils
8fbb10f
97062e1
* Sun Nov 22 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 3.3.0.1-1
97062e1
- Update to 3.3.0.1
97062e1
97062e1
* Wed Nov 11 2009 kwizart < kwizart at gmail.com > - 3.3.0-1
eb67063
- Update to 3.3.0
eb67063
487c6da
* Wed Nov  4 2009 kwizart < kwizart at gmail.com > - 3.3.0-0.3_rc1
487c6da
- Update to 3.3.0-rc1
487c6da
4ea5c82
* Mon Nov  2 2009 kwizart < kwizart at gmail.com > - 3.3.0-0.2_beta2
4ea5c82
- Update to 3.3.0-beta2
4ea5c82
4ea5c82
* Tue Oct 27 2009 kwizart < kwizart at gmail.com > - 3.3.0-0.1_beta1
4ea5c82
- Update to 3.3.0-beta1
4ea5c82
4a4cb8a
* Fri Oct 16 2009 kwizart < kwizart at gmail.com > - 3.2.8.1-1
4a4cb8a
- Update to 3.2.8.1
4a4cb8a
9ebc398
* Wed Oct  7 2009 kwizart < kwizart at gmail.com > - 3.2.8-1
9ebc398
- Update to 3.2.8
9ebc398
3d52bb2
* Sat Oct  3 2009 kwizart < kwizart at gmail.com > - 3.2.8-0.1-rc1
3d52bb2
- Update to 3.2.8-rc1
3d52bb2
f288694
* Sat Aug 29 2009 kwizart < kwizart at gmail.com > - 3.2.7.1-1
f288694
- Update to 3.2.7.1
f288694
5ef5958
* Thu Aug 20 2009 kwizart < kwizart at gmail.com > - 3.2.7-2
44d082e
- Update to 3.2.7
5ef5958
- Backport Fix for ipaddress.cpp at make check
44d082e
6e36c39
* Mon Aug  3 2009 kwizart < kwizart at gmail.com > - 3.2.7-0.1_rc1
6e36c39
- Update to 3.2.7-rc1
6e36c39
fcb878b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.6.1-1.1
fcb878b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
fcb878b
1abad93
* Mon Jul  6 2009 kwizart < kwizart at gmail.com > - 3.2.6-1
1abad93
- Update to 3.2.6.1
1abad93
939413f
* Mon Jun 29 2009 kwizart < kwizart at gmail.com > - 3.2.6-1
939413f
- Update to 3.2.6 stable
939413f
f120833
* Tue Jun 23 2009 kwizart < kwizart at gmail.com > - 3.2.6-0.1_rc1
f120833
- Update to 3.2.6-rc1
f120833
4215710
* Tue Jun 16 2009 kwizart < kwizart at gmail.com > - 3.2.5-1
4215710
- Update to 3.2.5 stable
4215710
5a9c707
* Thu Jun 11 2009 kwizart < kwizart at gmail.com > - 3.2.5-0.1_rc1
5a9c707
- Update to 3.2.5-rc1
5a9c707
1b1e743
* Tue Apr 28 2009 kwizart < kwizart at gmail.com > - 3.2.4.1-1
1b1e743
- Update to 3.2.4.1
1b1e743
f602ba3
* Tue Apr 21 2009 kwizart < kwizart at gmail.com > - 3.2.4-1
f602ba3
- Update to 3.2.4
f602ba3
19d2862
* Thu Apr  2 2009 kwizart < kwizart at gmail.com > - 3.2.3.1-1
19d2862
- Update to 3.2.3.1 stable
19d2862
193c572
* Mon Mar 23 2009 kwizart < kwizart at gmail.com > - 3.2.3-1
193c572
- Update to 3.2.3 stable
193c572
b874d06
* Mon Mar 16 2009 kwizart < kwizart at gmail.com > - 3.2.3-0.1_rc1
b874d06
- Update to 3.2.3-rc1
b874d06
e72a0e7
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2.1-1.1
e72a0e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e72a0e7
d63cee5
* Mon Feb 23 2009 kwizart < kwizart at gmail.com > - 3.2.2.1-1
d63cee5
- Update to 3.2.2.1 stable
d63cee5
d7a06d1
* Fri Feb 20 2009 kwizart < kwizart at gmail.com > - 3.2.2-1
d7a06d1
- Update to 3.2.2 stable
d7a06d1
5c8756e
* Tue Feb 10 2009 kwizart < kwizart at gmail.com > - 3.2.1-1
5c8756e
- Update to 3.2.1 stable
5c8756e
6dc739a
* Tue Feb  3 2009 kwizart < kwizart at gmail.com > - 3.2.1-0.1_rc1
6dc739a
- Update to 3.2.1-rc1
6dc739a
a80b62f
* Thu Jan  8 2009 kwizart < kwizart at gmail.com > - 3.2.0-1
a80b62f
- Update to 3.2.0 stable
a80b62f
a80b62f
* Tue Jan  6 2009 kwizart < kwizart at gmail.com > - 3.2.0-0.1_rc2
a80b62f
- Update to 3.2.0-rc2
a80b62f
- Add BR dbus-devel - Needs a fix for gnome-session
a80b62f
  see http://bugzilla.gnome.org/show_bug.cgi?id=559469
a80b62f
f8dfc82
* Thu Dec  4 2008 kwizart < kwizart at gmail.com > - 3.1.6-1
f8dfc82
- Update to 3.1.6
f8dfc82
964fb36
* Tue Nov 18 2008 kwizart < kwizart at gmail.com > - 3.1.5.1-1
964fb36
- Update to 3.1.5.1
964fb36
6481eee
* Fri Oct 24 2008 kwizart < kwizart at gmail.com > - 3.1.5-1
6481eee
- Update to 3.1.5
6481eee
bfcef89
* Fri Oct 17 2008 kwizart < kwizart at gmail.com > - 3.1.4.1-1
bfcef89
- Update to 3.1.4.1
bfcef89
b50a447
* Sat Oct 11 2008 kwizart < kwizart at gmail.com > - 3.1.4-0.1.rc1
b50a447
- Update to 3.1.4-rc1
b50a447
b61f3ef
* Mon Sep 29 2008 kwizart < kwizart at gmail.com > - 3.1.3.1-1
b61f3ef
- Update to 3.1.3.1
b61f3ef
dc815c4
* Tue Sep 23 2008 kwizart < kwizart at gmail.com > - 3.1.3-1
dc815c4
- Update to 3.1.3
dc815c4
558bcbd
* Mon Sep  1 2008 kwizart < kwizart at gmail.com > - 3.1.2-1
558bcbd
- Update to 3.1.2
558bcbd
b279964
* Thu Aug 14 2008 kwizart < kwizart at gmail.com > - 3.1.1.1-1
b279964
- Update to 3.1.1.1
b279964
e6a610e
* Mon Aug 11 2008 kwizart < kwizart at gmail.com > - 3.1.1-1
e6a610e
- Update to 3.1.1
e6a610e
0f89dea
* Fri Jul 25 2008 kwizart < kwizart at gmail.com > - 3.1.0.1-1
e6a610e
- Update to 3.1.0.1 - Security update
0f89dea
1aa2e77
* Mon Jul 14 2008 kwizart < kwizart at gmail.com > - 3.1.0-0.1.beta2
1aa2e77
- Update to 3.1.0-beta2
1aa2e77
89a127a
* Tue Jul  8 2008 kwizart < kwizart at gmail.com > - 3.0.11.1-1
89a127a
- Update to 3.0.11.1
89a127a
53d4379
* Mon Jun 16 2008 kwizart < kwizart at gmail.com > - 3.0.11-1
53d4379
- Update to 3.0.11
53d4379
- Create patch for a shared tinyxml.
53d4379
- Add support for hicolor icons.
53d4379
a3a7c25
* Wed May 21 2008 kwizart < kwizart at gmail.com > - 3.0.10-1
a3a7c25
- Update to 3.0.10
a3a7c25
acbcc31
* Wed May  7 2008 kwizart < kwizart at gmail.com > - 3.0.9.3-1
acbcc31
- Update to 3.0.9.3
acbcc31
1674d47
* Sat Apr 19 2008 kwizart < kwizart at gmail.com > - 3.0.9.2-1
1674d47
- Update to 3.0.9.2
1674d47
7068bda
* Mon Apr  7 2008 kwizart < kwizart at gmail.com > - 3.0.9.1-1
7068bda
- Update to 3.0.9.1
7068bda
41bcbba
* Mon Apr  7 2008 kwizart < kwizart at gmail.com > - 3.0.9-1
41bcbba
- Update to 3.0.9
41bcbba
41bcbba
* Mon Mar 31 2008 kwizart < kwizart at gmail.com > - 3.0.9-0.1.rc1
41bcbba
- Update to 3.0.9-rc1
41bcbba
d0aff47
* Tue Mar 18 2008 kwizart < kwizart at gmail.com > - 3.0.8.1-1
d0aff47
- Update to 3.0.8.1
d0aff47
- Add patch for make check
d0aff47
d0aff47
* Fri Mar 14 2008 kwizart < kwizart at gmail.com > - 3.0.8-1
d0aff47
- Update to 3.0.8
d0aff47
d0aff47
* Fri Mar  7 2008 kwizart < kwizart at gmail.com > - 3.0.8-0.1.rc1
d0aff47
- Update to 3.0.8-rc1
d0aff47
19d3a28
* Thu Feb 20 2008 kwizart < kwizart at gmail.com > - 3.0.7.1-1
19d3a28
- Update to 3.0.7.1
19d3a28
19d3a28
* Thu Jan 31 2008 kwizart < kwizart at gmail.com > - 3.0.6-1
19d3a28
- Update to 3.0.6
19d3a28
19d3a28
* Thu Jan 17 2008 kwizart < kwizart at gmail.com > - 3.0.5.2-1
19d3a28
- Update to 3.0.5.2
19d3a28
- Drop update desktop file in post and postun
19d3a28
19d3a28
* Thu Jan 10 2008 kwizart < kwizart at gmail.com > - 3.0.4-1
19d3a28
- Update to 3.0.4
7951a30
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.