SHA256
1
0
forked from pool/ktorrent
2021-07-27 09:35:58 +00:00
committed by Git OBS Bridge
parent 2017a456fb
commit 60b895d3d6
6 changed files with 43 additions and 23 deletions

View File

@@ -20,15 +20,15 @@
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: ktorrent
Version: 21.04.3
Version: 21.07.80
Release: 0
Summary: KDE BitTorrent Client
License: GPL-2.0-or-later
Group: Productivity/Networking/File-Sharing
URL: https://apps.kde.org/ktorrent
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
Source0: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with lang}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
Source3: ktorrent.1
@@ -74,7 +74,6 @@ BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Script)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: pkgconfig(taglib)
Recommends: %{name}-lang = %{version}
%ifarch %{ix86} x86_64 %{arm} aarch64 mips mips64
BuildRequires: cmake(Qt5WebEngineWidgets)
%endif
@@ -90,6 +89,9 @@ for BitTorrent.
%prep
%autosetup -p1
# The boost minimum version change is only cosmetic. Leap 15.2 provides 1.66
sed -i 's#1.71.0#1.66.0#' CMakeLists.txt
%build
%cmake_kf5 -d build
%cmake_build