SHA256
1
0
forked from pool/ktorrent

Accepting request 43162 from KDE:Distro:Factory

Copy from KDE:Distro:Factory/ktorrent based on submit request 43162 from user Beineri

OBS-URL: https://build.opensuse.org/request/show/43162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ktorrent?expand=0&rev=58
This commit is contained in:
OBS User autobuild
2010-07-19 19:25:50 +00:00
committed by Git OBS Bridge
parent 4940c10b21
commit 62dd79c50c
7 changed files with 53 additions and 54 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package ktorrent (Version 3.3.4)
# spec file for package ktorrent (Version 4.0.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,21 +19,18 @@
Name: ktorrent
BuildRequires: gmp-devel kdebase4-workspace-devel libkdepimlibs4-devel libqca2-devel taglib-devel
%if %suse_version > 1020
BuildRequires: fdupes
%endif
BuildRequires: fdupes libktorrent-devel
Url: http://ktorrent.pwsp.net/
License: GPLv2+
Group: Productivity/Networking/File-Sharing
Summary: KDE BitTorrent Client
Version: 3.3.4
Release: 2
Version: 4.0.2
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define rversion %version
Source: %{name}-%{rversion}.tar.bz2
Source: %{name}-%{version}.tar.bz2
Source2: icons.tar.bz2
Patch1: remove-links.diff
Patch3: proxy.diff
Patch4: suse-dht-warning.diff
Patch5: initial-preference.diff
Requires: %{name}-lang = %{version}
@@ -75,7 +72,6 @@ Authors:
%prep
%setup -q -n %name-%{rversion}
%patch1
%patch3
%if ! 0%{?packman_bs}
%patch4
%endif
@@ -105,18 +101,19 @@ tar xfj %{SOURCE2}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%if %suse_version > 1020
%files lang -f build/%name.lang
%defattr(-,root,root)
%dir /usr/share/locale/sr@ijekavian
%dir /usr/share/locale/sr@ijekavian/LC_MESSAGES
%dir /usr/share/locale/sr@ijekavianlatin
%dir /usr/share/locale/sr@ijekavianlatin/LC_MESSAGES
%files
%else
%files -f build/%name.lang
%endif
%defattr(-,root,root)
/usr/bin/ktorrent
/usr/bin/ktupnptest
/usr/bin/ktmagnetdownloader
%_kde4_modules/ktbwschedulerplugin.so
%_kde4_modules/ktinfowidgetplugin.so
%_kde4_modules/ktipfilterplugin.so
@@ -127,7 +124,6 @@ tar xfj %{SOURCE2}
%_kde4_modules/ktupnpplugin.so
%_kde4_modules/ktwebinterfaceplugin.so
%_kde4_modules/ktmediaplayerplugin.so
%_libdir/libbtcore.so.*
%_libdir/libktcore.so.*
%_libdir/libktupnp.so.*
%_kde4_modules/ktdownloadorderplugin.so
@@ -139,6 +135,7 @@ tar xfj %{SOURCE2}
/usr/share/icons/hicolor/*/actions/kt-add-filters.*
/usr/share/icons/hicolor/*/actions/kt-remove-feeds.*
/usr/share/icons/hicolor/*/actions/kt-remove-filters.*
/usr/share/icons/hicolor/*/actions/kt-magnet.*
%_kde_share_dir/services/ktdownloadorderplugin.desktop
%_kde_share_dir/services/ktscriptingplugin.desktop
%_kde_share_dir/services/ktsyndicationplugin.desktop
@@ -168,7 +165,6 @@ tar xfj %{SOURCE2}
/usr/share/icons/hicolor/*/actions/kt-stop-all.*
/usr/share/icons/hicolor/*/actions/kt-stop.*
/usr/share/icons/hicolor/*/actions/kt-upnp.*
%_kde_share_dir/apps/cmake/modules/FindBTCore.cmake
%_kde_share_dir/apps/ktorrent
%_kde_share_dir/services/ktbwschedulerplugin.desktop
%_kde_share_dir/services/ktinfowidgetplugin.desktop
@@ -180,17 +176,18 @@ tar xfj %{SOURCE2}
%_kde_share_dir/services/ktupnpplugin.desktop
%_kde_share_dir/services/ktwebinterfaceplugin.desktop
%_kde_share_dir/services/ktmediaplayerplugin.desktop
%_kde_share_dir/services/magnet.protocol
%_kde_share_dir/servicetypes/ktorrentplugin.desktop
/usr/%_lib/kde4/ktzeroconfplugin.so
/usr/%_lib/kde4/ktshutdownplugin.so
/usr/%_lib/kde4/ktmagnetgeneratorplugin.so
/usr/share/kde4/services/ktzeroconfplugin.desktop
/usr/share/kde4/services/ktshutdownplugin.desktop
/usr/share/kde4/services/ktmagnetgeneratorplugin.desktop
%files devel
%defattr(-,root,root)
%_libdir/libbtcore.so
%_libdir/libktcore.so
%_libdir/libktupnp.so
/usr/include/libbtcore
%changelog