SHA256
1
0
forked from pool/ktorrent
2018-09-03 08:35:36 +00:00
committed by Git OBS Bridge
parent 9f40a62bb5
commit ad21caff84
8 changed files with 34 additions and 169 deletions

View File

@@ -17,25 +17,21 @@
Name: ktorrent
Version: 5.1.0
Version: 5.1.1
Release: 0
Summary: KDE BitTorrent Client
License: GPL-2.0-or-later
Group: Productivity/Networking/File-Sharing
URL: http://ktorrent.org/
Source0: http://download.kde.org/stable/ktorrent/5.1/%{name}-%{version}.tar.xz
Source0: http://download.kde.org/stable/ktorrent/%{version}/%{name}-%{version}.tar.xz
Source2: ktorrent.1
Source3: ktupnptest.1
# PATCH-FIX-OPENSUSE initial-preference.diff cmorve69@yahoo.es -- InitialPreference to set it as the default torrent downloader
Patch0: initial-preference.diff
%if 0%{?suse_version} < 1330
# PATCH-FIX-OPENSUSE fix-build-with-qt5.6.patch -- make it build with Qt < 5.7.0 (i.e. on Leap 42.x)
Patch1: fix-build-with-qt5.6.patch
# PATCH-FIX-UPSTREAM fix-build.patch
Patch2: fix-build.patch
# PATCH-FIX-UPSTREAM fix-build-with-Qt-5_11.patch
Patch3: fix-build-with-Qt-5_11.patch
# PATCH-FIX-UPSTREAM
Patch4: Fix-build-against-new-Syndication-library.patch
%endif
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: libktorrent-devel >= 2.1
@@ -63,7 +59,6 @@ BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5NotifyConfig)
BuildRequires: cmake(KF5Parts)
BuildRequires: cmake(KF5Plotting)
BuildRequires: cmake(KF5Service)
BuildRequires: cmake(KF5Solid)
BuildRequires: cmake(KF5TextWidgets)
BuildRequires: cmake(KF5WebKit)
@@ -103,13 +98,7 @@ for BitTorrent.
%prep
%setup -q
%patch0
%if 0%{?suse_version} < 1330
%patch1 -p1
%endif
%patch2 -p1
%patch3 -p1
%patch4 -p1
%autopatch -p1
%build
%if 0%{?suse_version} < 1330