| |
@@ -1,63 +1,64 @@
|
| |
- #%%global fz_rc rc1
|
| |
-
|
| |
- Name: filezilla
|
| |
- Version: 3.43.0
|
| |
- #Release: 0.%%{?fz_rc}%%{?dist}
|
| |
- Release: 2%{?dist}
|
| |
- Summary: FTP, FTPS and SFTP client
|
| |
-
|
| |
- License: GPLv2+
|
| |
- URL: http://filezilla-project.org/
|
| |
- Source0: http://download.filezilla-project.org/FileZilla_%{version}%{?fz_rc:-%{?fz_rc}}_src.tar.bz2
|
| |
-
|
| |
- ## Needed if autogen.sh is invoked
|
| |
- #BuildRequires: automake, autoconf, libtool
|
| |
- ##
|
| |
- ## Needed if test program is build
|
| |
- BuildRequires: gcc-c++
|
| |
- BuildRequires: cppunit-devel >= 1.10.2
|
| |
- ##
|
| |
- %if 0%{?fedora}
|
| |
- BuildRequires: libappstream-glib
|
| |
+ # Enable (1 = enabled/0 = disabled) if configure regeneration etc. is required.
|
| |
+ %define run_autogen 0
|
| |
+
|
| |
+ Name: filezilla
|
| |
+ Version: 3.43.0
|
| |
+ Release: 3%{?dist}
|
| |
+ Summary: FTP, FTPS and SFTP client
|
| |
+ License: GPLv2+
|
| |
+ URL: https://filezilla-project.org/
|
| |
+
|
| |
+ Source0: https://download.filezilla-project.org/FileZilla_%{version}_src.tar.bz2
|
| |
+
|
| |
+ %if 0%{?run_autogen}
|
| |
+ BuildRequires: autoconf
|
| |
+ BuildRequires: automake
|
| |
+ BuildRequires: libtool
|
| |
%endif
|
| |
- BuildRequires: desktop-file-utils
|
| |
- BuildRequires: xdg-utils
|
| |
- Requires: xdg-utils
|
| |
-
|
| |
- BuildRequires: dbus-devel
|
| |
- BuildRequires: gettext
|
| |
- BuildRequires: gnutls-devel >= 2.8.3
|
| |
- BuildRequires: libidn-devel
|
| |
- BuildRequires: pugixml-devel >= 1.7
|
| |
- BuildRequires: sqlite-devel
|
| |
- BuildRequires: wxGTK3-devel >= 3.0.3
|
| |
- BuildRequires: libappstream-glib
|
| |
- BuildRequires: libfilezilla-devel >= 0.17.1
|
| |
- BuildRequires: nettle-devel
|
| |
- BuildRequires: libstorj-devel
|
| |
+ BuildRequires: gcc-c++
|
| |
+ BuildRequires: glibc-devel
|
| |
+ BuildRequires: glib2-devel
|
| |
+ BuildRequires: cppunit-devel >= 1.13.0
|
| |
+ BuildRequires: dbus-devel
|
| |
+ BuildRequires: desktop-file-utils
|
| |
+ BuildRequires: gettext
|
| |
+ BuildRequires: gnutls-devel >= 2.8.3
|
| |
+ BuildRequires: libappstream-glib
|
| |
+ BuildRequires: libfilezilla-devel >= 0.17.1
|
| |
+ BuildRequires: libidn-devel
|
| |
+ BuildRequires: libstorj-devel
|
| |
+ BuildRequires: nettle-devel
|
| |
+ BuildRequires: pugixml-devel >= 1.7
|
| |
+ BuildRequires: sqlite-devel
|
| |
+ BuildRequires: wxGTK3-devel >= 3.0.4
|
| |
+ BuildRequires: xdg-utils
|
| |
+
|
| |
+ Requires: xdg-utils
|
| |
|
| |
%description
|
| |
FileZilla is a FTP, FTPS and SFTP client for Linux with a lot of features.
|
| |
- Supports FTP, FTP over SSL/TLS (FTPS) and SSH File Transfer Protocol (SFTP)
|
| |
- Cross-platform
|
| |
- Available in many languages
|
| |
- - Supports resume and transfer of large files >4GB
|
| |
+ - Supports resume and transfer of large files greater than 4GB
|
| |
- Easy to use Site Manager and transfer queue
|
| |
- Drag & drop support
|
| |
- Speed limits
|
| |
- Filename filters
|
| |
- Network configuration wizard
|
| |
|
| |
-
|
| |
%prep
|
| |
- %setup -q -n %{name}-%{version}%{?fz_rc:-%{?fz_rc}}
|
| |
-
|
| |
- #autoreconf -if
|
| |
-
|
| |
+ %autosetup -n %{name}-%{version}
|
| |
+ %if 0%{?run_autogen}
|
| |
+ autoreconf -if
|
| |
+ %endif
|
| |
|
| |
%build
|
| |
- # for wxGTK3 - needed to find wxrc
|
| |
+ # For wxGTK3 - needed to find wxrc
|
| |
export WXRC=%{_bindir}/wxrc-3.0
|
| |
+
|
| |
+ # Do not use '--enable-buildtype=official' in configure. That option enables the
|
| |
+ # "check for updates" dialog to download new binaries from the official website.
|
| |
%configure \
|
| |
--disable-static \
|
| |
--enable-locales \
|
| |
@@ -67,20 +68,11 @@
|
| |
--with-wx-config=wx-config-3.0 \
|
| |
--with-dbus \
|
| |
--enable-gnutlssystemciphers \
|
| |
- --disable-autoupdatecheck
|
| |
-
|
| |
- ## Do not use --enable-buildtype=official
|
| |
- ## that option enables the "check for updates" dialog to download
|
| |
- ## new binaries from the official website.
|
| |
-
|
| |
- # Remove the timyxml internal static lib to configure will not fails
|
| |
- #rm -rf src/tinyxml/
|
| |
-
|
| |
- make %{?_smp_mflags}
|
| |
-
|
| |
+ --disable-autoupdatecheck
|
| |
+ %make_build
|
| |
|
| |
%install
|
| |
- make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
|
| |
+ %make_install
|
| |
|
| |
# Update the screenshot shown in the software center
|
| |
#
|
| |
@@ -104,19 +96,16 @@
|
| |
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
| |
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
|
| |
|
| |
- %if 0%{?fedora}
|
| |
appstream-util validate-relax --nonet \
|
| |
- $RPM_BUILD_ROOT/%{_datadir}/appdata/*.appdata.xml
|
| |
- %endif
|
| |
+ $RPM_BUILD_ROOT/%{_datadir}/appdata/%{name}.appdata.xml
|
| |
|
| |
- #Create directory for system wide settings
|
| |
+ # Create directory for system wide settings.
|
| |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
|
| |
- #Ghost configuration file
|
| |
+ # Ghost configuration file.
|
| |
touch $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/fzdefaults.xml
|
| |
- #This is not the usual docdir
|
| |
+ # This is not the usual docdir.
|
| |
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/docs
|
| |
|
| |
-
|
| |
%find_lang %{name}
|
| |
|
| |
%check
|
| |
@@ -128,17 +117,23 @@
|
| |
%license COPYING
|
| |
%dir %{_sysconfdir}/%{name}
|
| |
%ghost %{_sysconfdir}/%{name}/fzdefaults.xml
|
| |
- %{_bindir}/*
|
| |
- %{_datadir}/filezilla/
|
| |
- %{_datadir}/appdata/filezilla.appdata.xml
|
| |
+ %{_bindir}/%{name}
|
| |
+ %{_bindir}/fzputtygen
|
| |
+ %{_bindir}/fzsftp
|
| |
+ %{_bindir}/fzstorj
|
| |
+ %{_datadir}/%{name}/
|
| |
+ %{_datadir}/appdata/%{name}.appdata.xml
|
| |
%{_datadir}/applications/%{name}.desktop
|
| |
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
| |
- %{_datadir}/icons/hicolor/scalable/apps/filezilla.svg
|
| |
+ %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
| |
%{_mandir}/man1/*
|
| |
%{_mandir}/man5/*
|
| |
|
| |
-
|
| |
%changelog
|
| |
+ * Wed Jul 31 2019 Phil Wyett <philwyett@kathenas.org> - 3.43.0-3
|
| |
+ - Delete unused patches.
|
| |
+ - Fix, modernize and cleanup spec file.
|
| |
+
|
| |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.43.0-2
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
| |
|
| |
Note:
Removed RC related code. RCs come a matter of days before final releases and not worth the effort. Private builds can be done in branches or copr.
This version (f29 branch as best) is tested and is epel8 ready.