[packages/qbittorrent] - up to 3.3.9 - requires Qt5 now
baggins
baggins at pld-linux.org
Wed Apr 12 01:12:09 CEST 2017
commit 434222667098402429b7078e802628e6d88cbae9
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Apr 12 01:11:49 2017 +0200
- up to 3.3.9
- requires Qt5 now
lang-hu-2.3.0.patch | 11 -----------
qbittorrent.spec | 46 ++++++++++++++++++++++------------------------
2 files changed, 22 insertions(+), 35 deletions(-)
---
diff --git a/qbittorrent.spec b/qbittorrent.spec
index 70ddd25..a7f671f 100644
--- a/qbittorrent.spec
+++ b/qbittorrent.spec
@@ -2,36 +2,35 @@
# Conditional build:
%bcond_without qsa # build with bundled QtSingleApplication
-%define qtver 4.5
-%define rasterbar_ver 1:1.0.6
-Summary: qbittorrent - Qt4-based torrent client
-Summary(hu.UTF-8): qbittorrent - Qt4-alapú torrent kliens
-Summary(pl.UTF-8): qbittorrent - graficzny klient torrenta oparty na Qt4
+%define qtver 5.5
+%define rasterbar_ver 1:1.1.3
+Summary: qbittorrent - Qt-based torrent client
+Summary(hu.UTF-8): qbittorrent - Qt-alapú torrent kliens
+Summary(pl.UTF-8): qbittorrent - graficzny klient torrenta oparty na Qt
Name: qbittorrent
-Version: 3.2.5
-Release: 3
+Version: 3.3.9
+Release: 1
License: GPL v2+
Group: X11/Applications
-Source0: http://downloads.sourceforge.net/qbittorrent/%{name}-%{version}.tar.gz
-# Source0-md5: 81e6f6d869d16e652c6245889b349535
-Patch0: lang-hu-2.3.0.patch
+Source0: http://downloads.sourceforge.net/qbittorrent/%{name}-%{version}.tar.xz
+# Source0-md5: 4f2782147a728f8a62a894f7e308671c
Patch1: qmake.patch
URL: http://qbittorrent.sourceforge.net/
BuildRequires: GeoIP-devel
-BuildRequires: QtCore-devel >= %{qtver}
-BuildRequires: QtDBus-devel >= %{qtver}
-BuildRequires: QtGui-devel >= %{qtver}
-BuildRequires: QtNetwork-devel >= %{qtver}
-%{?with_qsa:BuildRequires: QtSingleApplication-devel >= 2.6-5}
-BuildRequires: QtSvg-devel >= %{qtver}
-BuildRequires: QtXml-devel >= %{qtver}
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: Qt5DBus-devel >= %{qtver}
+BuildRequires: Qt5Gui-devel >= %{qtver}
+BuildRequires: Qt5Network-devel >= %{qtver}
+%{?with_qsa:BuildRequires: Qt5SingleApplication-devel >= 2.6-5}
+BuildRequires: Qt5Svg-devel >= %{qtver}
+BuildRequires: Qt5Xml-devel >= %{qtver}
BuildRequires: boost-devel >= 1.36.0
BuildRequires: libnotify-devel >= 0.4.2
BuildRequires: libtorrent-rasterbar-devel >= %{rasterbar_ver}
BuildRequires: pkgconfig
-BuildRequires: qt4-build >= %{qtver}
-BuildRequires: qt4-linguist >= %{qtver}
-BuildRequires: qt4-qmake >= %{qtver}
+BuildRequires: qt5-build >= %{qtver}
+BuildRequires: qt5-linguist >= %{qtver}
+BuildRequires: qt5-qmake >= %{qtver}
BuildRequires: rpmbuild(macros) >= 1.129
BuildRequires: which
Requires: desktop-file-utils
@@ -42,17 +41,16 @@ Requires: python >= 1:2.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-qTorrent - Qt4-based torrent client.
+qTorrent - Qt-based torrent client.
%description -l hu.UTF-8
-qBittorrent - Qt4-alapú torrent kliens
+qBittorrent - Qt-alapú torrent kliens
%description -l pl.UTF-8
-qTorrent - graficzny klient torrenta oparty na Qt4.
+qTorrent - graficzny klient torrenta oparty na Qt.
%prep
%setup -q
-%patch0 -p1
%patch1 -p1
%if %{with qsa}
diff --git a/lang-hu-2.3.0.patch b/lang-hu-2.3.0.patch
deleted file mode 100644
index c76d8d7..0000000
--- a/lang-hu-2.3.0.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- qbittorrent-2.5.0rc4/src/lang/qbittorrent_hu.ts~ 2010-11-28 15:12:20.000000000 +0100
-+++ qbittorrent-2.5.0rc4/src/lang/qbittorrent_hu.ts 2010-12-02 09:47:28.799842667 +0100
-@@ -2324,7 +2324,7 @@
- <message>
- <location filename="../preferences/options.ui" line="626"/>
- <source>Append the label of the torrent to the save path</source>
-- <translation>A címke hozzfűzése a letöltési könyvtár nevéhez</translation>
-+ <translation>A címke hozzáfűzése a letöltési könyvtár nevéhez</translation>
- </message>
- <message>
- <location filename="../preferences/options.ui" line="636"/>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qbittorrent.git/commitdiff/434222667098402429b7078e802628e6d88cbae9
More information about the pld-cvs-commit
mailing list