SHA256
1
0
forked from pool/ktorrent

KDE Release 21.12 RC

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/ktorrent?expand=0&rev=33
This commit is contained in:
2021-11-30 07:58:40 +00:00
committed by Git OBS Bridge
parent 65396ccdc6
commit 2ca5085d84
6 changed files with 52 additions and 27 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.08.3
Version: 21.11.90
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
@@ -108,9 +108,6 @@ cp -a %{SOURCE4} %{buildroot}%{_mandir}/man1
find %{buildroot} -name "*.py" -perm 0644 -exec grep -l '#!' {} + | \
xargs -rd'\n' chmod -f a+x
# E: env-script-interpreter
find %{buildroot}%{_kf5_sharedir}/ktorrent/scripts -name "*.py" -exec sed -i 's#env kf5kross#kf5kross#' {} \;
%suse_update_desktop_file -r org.kde.ktorrent Qt KDE Network P2P
%fdupes -s %{buildroot}
@@ -124,14 +121,14 @@ find %{buildroot}%{_kf5_sharedir}/ktorrent/scripts -name "*.py" -exec sed -i 's#
%postun -p /sbin/ldconfig
%files
%license COPYING
%license LICENSES/*
%doc ChangeLog RoadMap
%doc %lang(en) %{_kf5_htmldir}/en/ktorrent/
%{_kf5_applicationsdir}/org.kde.ktorrent.desktop
%{_kf5_appstreamdir}/org.kde.ktorrent.appdata.xml
%{_kf5_bindir}/ktmagnetdownloader
%{_kf5_bindir}/ktorrent
%{_kf5_bindir}/ktupnptest
%{_kf5_htmldir}/en/ktorrent/
%{_kf5_iconsdir}/hicolor/*/*/*.png
%{_kf5_iconsdir}/hicolor/*/*/*.svgz
%{_kf5_kxmlguidir}/ktorrent/