forked from pool/ktorrent
Accepting request 520941 from KDE:Extra
1 OBS-URL: https://build.opensuse.org/request/show/520941 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ktorrent?expand=0&rev=107
This commit is contained in:
@@ -17,27 +17,19 @@
|
||||
|
||||
|
||||
Name: ktorrent
|
||||
Version: 5.0.1
|
||||
Version: 5.1.0
|
||||
Release: 0
|
||||
Summary: KDE BitTorrent Client
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Networking/File-Sharing
|
||||
Url: http://ktorrent.org/
|
||||
Source0: http://download.kde.org/stable/ktorrent/5.0/%{name}-%{version}.tar.xz
|
||||
Source0: http://download.kde.org/stable/ktorrent/5.1/%{name}-%{version}.tar.xz
|
||||
Source2: ktorrent.1
|
||||
Source3: ktupnptest.1
|
||||
# PATCH-FIX-OPENSUSE remove-links.diff adrian@suse.de -- Remove links to some search engine with maybe legal problems
|
||||
Patch0: remove-links.diff
|
||||
# PATCH-FIX-OPENSUSE suse-dht-warning.diff wstephenson@novell.com -- Warning popup for DHT
|
||||
Patch1: suse-dht-warning.diff
|
||||
# PATCH-FIX-OPENSUSE initial-preference.diff cmorve69@yahoo.es -- InitialPreference to set it as the default torrent downloader
|
||||
Patch2: initial-preference.diff
|
||||
# PATCH-FIX-UPSTREAM fix-build-with-newer-kconfig.diff -- Fix build with newer KConfig
|
||||
Patch3: fix-build-with-newer-kconfig.diff
|
||||
# PATCH-FIX-UPSTREAM fix-crash-when-loading-bandwidth-scheduler-plugin.patch
|
||||
Patch4: fix-crash-when-loading-bandwidth-scheduler-plugin.patch
|
||||
# PATCH-FIX-UPSTREAM fix-crashes-in-bwscheduler-plugin.patch
|
||||
Patch5: fix-crashes-in-bwscheduler-plugin.patch
|
||||
Patch0: initial-preference.diff
|
||||
# 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
|
||||
%if 0%{?suse_version} > 1325
|
||||
BuildRequires: libboost_headers-devel
|
||||
%else
|
||||
@@ -45,39 +37,53 @@ BuildRequires: boost-devel
|
||||
%endif
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: karchive-devel
|
||||
BuildRequires: kcmutils-devel
|
||||
BuildRequires: kcompletion-devel
|
||||
BuildRequires: kconfig-devel
|
||||
BuildRequires: kconfigwidgets-devel
|
||||
BuildRequires: kcoreaddons-devel
|
||||
BuildRequires: kcrash-devel
|
||||
BuildRequires: kdbusaddons-devel
|
||||
BuildRequires: kdelibs4support-devel
|
||||
BuildRequires: kdewebkit-devel
|
||||
BuildRequires: kdnssd-framework-devel
|
||||
BuildRequires: kdoctools-devel
|
||||
BuildRequires: ki18n-devel
|
||||
BuildRequires: kiconthemes-devel
|
||||
BuildRequires: kio-devel
|
||||
BuildRequires: kitemviews-devel
|
||||
BuildRequires: knotifications-devel
|
||||
BuildRequires: knotifyconfig-devel
|
||||
BuildRequires: kparts-devel
|
||||
BuildRequires: kplotting-devel
|
||||
BuildRequires: kross-devel
|
||||
BuildRequires: kservice-devel
|
||||
BuildRequires: ktextwidgets-devel
|
||||
BuildRequires: kwidgetsaddons-devel
|
||||
BuildRequires: kwindowsystem-devel
|
||||
BuildRequires: kxmlgui-devel
|
||||
BuildRequires: libktorrent-devel >= 2.0
|
||||
BuildRequires: libqca-qt5-devel
|
||||
BuildRequires: libktorrent-devel >= 2.1
|
||||
BuildRequires: phonon4qt5-devel
|
||||
BuildRequires: plasma5-workspace-devel
|
||||
BuildRequires: solid-devel
|
||||
BuildRequires: sonnet-devel
|
||||
BuildRequires: syndication-devel
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5DBus)
|
||||
BuildRequires: pkgconfig(Qt5Network)
|
||||
BuildRequires: pkgconfig(Qt5Script)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: pkgconfig(taglib)
|
||||
%if 0%{?suse_version} < 1330
|
||||
BuildRequires: gcc5
|
||||
BuildRequires: gcc5-c++
|
||||
#!BuildIgnore: libgcc_s1
|
||||
%endif
|
||||
Recommends: %{name}-lang = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
KTorrent is a bittorrent application for KDE which allows you to download files
|
||||
KTorrent is a BitTorrent application by KDE which allows you to download files
|
||||
using the BitTorrent protocol. It enables you to run multiple torrents at the
|
||||
same time and comes with extended features to make it a full-featured client
|
||||
for BitTorrent.
|
||||
@@ -86,16 +92,16 @@ for BitTorrent.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%if ! 0%{?packman_bs}
|
||||
%patch1
|
||||
%if 0%{?suse_version} < 1330
|
||||
%patch1 -p1
|
||||
%endif
|
||||
%patch2
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} < 1330
|
||||
%cmake_kf5 -d build -- -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5
|
||||
%else
|
||||
%cmake_kf5 -d build
|
||||
%endif
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
@@ -131,6 +137,8 @@ fi
|
||||
%doc %{_mandir}/man1/ktorrent.1%{ext_man}
|
||||
%doc %{_mandir}/man1/ktupnptest.1%{ext_man}
|
||||
%_bindir/ktorrent
|
||||
%_bindir/ktmagnetdownloader
|
||||
%_bindir/ktupnptest
|
||||
%_libdir/libktcore.so.*
|
||||
%_kf5_plugindir/
|
||||
%_kf5_applicationsdir/org.kde.ktorrent.desktop
|
||||
@@ -139,6 +147,9 @@ fi
|
||||
%_kf5_notifydir/ktorrent.notifyrc
|
||||
%_kf5_kxmlguidir/ktorrent/
|
||||
%_kf5_htmldir/en/ktorrent/
|
||||
%_kf5_sharedir/ktorrent/
|
||||
%dir %_kf5_appstreamdir
|
||||
%_kf5_appstreamdir/org.kde.ktorrent.appdata.xml
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
|
Reference in New Issue
Block a user