File kde3-ktorrent.spec of Package kde3-ktorrent

# spec file for package kde3-ktorrent
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           kde3-ktorrent
BuildRequires:  gmp-devel kdelibs3-devel
BuildRequires:  fdupes
License:        GPL-2.0+
Group:          Productivity/Networking/File-Sharing
Summary:        KDE BitTorrent Client
Version:        2.2.8
Release:        32.1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define rversion 2.2.8
Source:         ktorrent-%{rversion}.tar.bz2
Patch2:         remove-links.diff
Requires:       %{name}-lang = %{version}

Torrent is a BitTorrent program for KDE3. Its main features are: *
   Download of torrent files

* Upload speed capping, seeing that most people cannot upload
   infinite amounts of data

* Internet searching using the BitTorrent Web site's search engine

* UDP trackers

    Jois Guisson <>

%setup -q -n ktorrent-%{rversion}
%patch2 -p1

. /etc/opt/kde3/common_options

export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fstack-protector"
. /etc/opt/kde3/common_options
./configure $configkde
do_make %{?jobs:-j %jobs}

. /etc/opt/kde3/common_options
%suse_update_desktop_file ktorrent Network FileTransfer
%fdupes -s $RPM_BUILD_ROOT
%find_lang ktorrent

%pre -p /sbin/ldconfig

%post -p /sbin/ldconfig

%files lang -f ktorrent.lang
%dir /opt/kde3/share/locale/br
%dir /opt/kde3/share/locale/br/LC_MESSAGES
%dir /opt/kde3/share/locale/fa
%dir /opt/kde3/share/locale/fa/LC_MESSAGES
%dir /opt/kde3/share/locale/ka
%dir /opt/kde3/share/locale/ka/LC_MESSAGES
%dir /opt/kde3/share/locale/nds
%dir /opt/kde3/share/locale/nds/LC_MESSAGES
%dir /opt/kde3/share/locale/cy
%dir /opt/kde3/share/locale/cy/LC_MESSAGES
%dir /opt/kde3/share/locale/ms
%dir /opt/kde3/share/locale/ms/LC_MESSAGES
%dir /opt/kde3/share/locale/rw
%dir /opt/kde3/share/locale/rw/LC_MESSAGES

%dir /opt/kde3/share/icons/hicolor/16x16
%dir /opt/kde3/share/icons/hicolor/32x32
%dir /opt/kde3/share/icons/hicolor/128x128
%dir /opt/kde3/share/icons/hicolor/128x128/apps
%dir /opt/kde3/share/icons/hicolor/16x16/apps
%dir /opt/kde3/share/icons/hicolor/32x32/apps
%dir /opt/kde3/share/icons/hicolor/48x48
%dir /opt/kde3/share/icons/hicolor/48x48/apps
%dir /opt/kde3/share/icons/hicolor/64x64
%dir /opt/kde3/share/icons/hicolor/64x64/apps
%dir /opt/kde3/share/icons/hicolor/scalable
%dir /opt/kde3/share/icons/hicolor/scalable/apps

openSUSE Build Service is sponsored by