# # spec file for package ktorrent (Version 3.1.5) # # Copyright (c) 2008 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 http://bugs.opensuse.org/ # Name: ktorrent BuildRequires: gmp-devel kdebase4-workspace-devel libqca2-devel %if %suse_version > 1020 BuildRequires: fdupes %endif Url: http://ktorrent.pwsp.net/ License: GPL v2 or later Group: Productivity/Networking/File-Sharing Summary: KDE BitTorrent Client Version: 3.1.5 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build %define rversion %version Source: %{name}-%{rversion}.tar.bz2 Source2: icons.tar.bz2 Patch2: remove-links.diff Patch4: no-geoip-db.diff Patch5: function-address.diff Patch6: proxy.diff %if %suse_version > 1020 Requires: %{name}-lang = %{version} %endif %kde4_runtime_requires Requires: oxygen-icon-theme %description Torrent is a BitTorrent program for KDE. 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 Authors: -------- Jois Guisson %package devel License: GPL v2 or later Group: Productivity/Networking/File-Sharing Summary: KDE BitTorrent Client Build Environment Requires: ktorrent = %{version} %description devel This packages include the necessary files to build KTorrent plugins. Authors: -------- Jois Guisson %lang_package %prep %setup -q -n %{name}-%{version} %patch2 %patch4 %patch5 %patch6 tar xfj %{SOURCE2} %build %cmake_kde4 -d build -- -DENABLE_DHT_SUPPORT=false %make_jobs %install cd build %makeinstall %if %suse_version > 1020 %fdupes -s $RPM_BUILD_ROOT %endif %kde_post_install %find_lang %name %pre -p /sbin/ldconfig %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %if %suse_version > 1020 %files lang -f build/%name.lang %files %else %files -f build/%name.lang %endif %defattr(-,root,root) /usr/bin/ktorrent /usr/bin/ktupnptest /usr/%_lib/kde4/ktbwschedulerplugin.so /usr/%_lib/kde4/ktinfowidgetplugin.so /usr/%_lib/kde4/ktipfilterplugin.so /usr/%_lib/kde4/ktlogviewerplugin.so /usr/%_lib/kde4/ktscanfolderplugin.so /usr/%_lib/kde4/ktsearchplugin.so /usr/%_lib/kde4/ktstatsplugin.so /usr/%_lib/kde4/ktupnpplugin.so /usr/%_lib/kde4/ktwebinterfaceplugin.so /usr/%_lib/kde4/ktmediaplayerplugin.so /usr/%_lib/libbtcore.so.* /usr/%_lib/libktcore.so.* /usr/%_lib/libktupnp.so.* /usr/share/applications/kde4/ktorrent.desktop /usr/share/icons/hicolor/*/apps/ktorrent.* /usr/share/icons/hicolor/*/mimetypes/torrent.* /usr/share/icons/hicolor/*/actions/kt-bandwidth-scheduler.* /usr/share/icons/hicolor/*/actions/kt-change-tracker.* /usr/share/icons/hicolor/*/actions/kt-check-data.* /usr/share/icons/hicolor/*/actions/kt-chunks.* /usr/share/icons/hicolor/*/actions/kt-encrypted.* /usr/share/icons/hicolor/*/actions/kt-info-widget.* /usr/share/icons/hicolor/*/actions/kt-pause.* /usr/share/icons/hicolor/*/actions/kt-plugins.* /usr/share/icons/hicolor/*/actions/kt-queue-manager.* /usr/share/icons/hicolor/*/actions/kt-remove.* /usr/share/icons/hicolor/*/actions/kt-restore-defaults.* /usr/share/icons/hicolor/*/actions/kt-set-max-download-speed.* /usr/share/icons/hicolor/*/actions/kt-set-max-upload-speed.* /usr/share/icons/hicolor/*/actions/kt-show-hide.* /usr/share/icons/hicolor/*/actions/kt-show-statusbar.* /usr/share/icons/hicolor/*/actions/kt-speed-limits.* /usr/share/icons/hicolor/*/actions/kt-start-all.* /usr/share/icons/hicolor/*/actions/kt-start.* /usr/share/icons/hicolor/*/actions/kt-stop-all.* /usr/share/icons/hicolor/*/actions/kt-stop.* /usr/share/icons/hicolor/*/actions/kt-upnp.* /usr/share/kde4/apps/cmake/modules/FindBTCore.cmake /usr/share/kde4/apps/ktorrent /usr/share/kde4/services/ktbwschedulerplugin.desktop /usr/share/kde4/services/ktinfowidgetplugin.desktop /usr/share/kde4/services/ktipfilterplugin.desktop /usr/share/kde4/services/ktlogviewerplugin.desktop /usr/share/kde4/services/ktscanfolderplugin.desktop /usr/share/kde4/services/ktsearchplugin.desktop /usr/share/kde4/services/ktstatsplugin.desktop /usr/share/kde4/services/ktupnpplugin.desktop /usr/share/kde4/services/ktwebinterfaceplugin.desktop /usr/share/kde4/services/ktmediaplayerplugin.desktop /usr/share/kde4/servicetypes/ktorrentplugin.desktop %files devel %defattr(-,root,root) /usr/%_lib/libbtcore.so /usr/%_lib/libktcore.so /usr/%_lib/libktupnp.so /usr/include/libbtcore %changelog * Sun Nov 16 2008 stbinner@suse.de - update to version 3.1.5: * Make sure symlinks work when we create multifile torrents * Fix redirect loop when torrent is loaded via url in webgui * Fix infinite recursive loop in scanfolder plugin * Fix crash in treeviews caused by Qt bug * Prevent error messages when KT is started up via desktop file * Use multiple tiers when creating torrents with multiple trackers * Make sure stalled time is updated properly before resuming queue * Prevent QM from starting torrents which are being removed * Fix bug preventing max seed time to be set on newly opened torrents * Fix bug causing torrent to be started when user chooses not to start the torrent in the fileselectdlg * Thu Oct 30 2008 stbinner@suse.de - fix error message appeared when ktorrent is launched (bnc#437840) * Mon Oct 20 2008 stbinner@suse.de - update to version 3.1.4: * Make sure user is properly logged in when handling a torrent post in webgui * Prevent PHP injection attacks in webgui * Update file size in CacheFile::growFile, this fixes a SIGBUS error * Fix bug causing infinite DNS lookups in UDP tracker when lookup fails * Remove default label text KSqueezedTextLabel in trackerview * Tue Sep 30 2008 stbinner@suse.de - update to version 3.1.3: * Make login into webinterface secure * Check if menus are created properly before showing them * Stop KT from exiting when scanfolder loads a plugin silently and KT is hidden in systray. * Make sure duplicate URL's are not shown in trackerview * Fix problem causing file priorities not to be read at startup * Make sure added.f is filled in with the proper flags for each peer in the added field of a PEX message (169014) * Make sure it is not required to put http:// for the proxy in the config dialog (169133) * Fix bug causing webseed not to download last chunk of a request * Fix bug which resulted in speeds of webseed not getting calculated * Fix rename of groups when edit is not initialized via context menu * Make toolbars hideable * Make sure that files can not be moved to the location they are already in * Don't start torrents at startup when a torrent is user controlled and over limit * Fix crash in logging code due to 0 pointer * Remove bitoogle from default search engine list * Mon Aug 18 2008 schwab@suse.de - Fix use of function address. - Fix proxy setting. * Sun Aug 17 2008 stbinner@suse.de - update to version 3.1.2: the most notable fixes are a problem which can cause a lot of memory usage, several crashes, and a bug in the file deselection code. The performance of the GUI and the downloading code has also been improved. * Mon Jul 14 2008 stbinner@suse.de - update to version 3.1.1: several minor bugfixes * Mon Jun 16 2008 stbinner@suse.de - update to version 3.1: * HTTP webseeding * A mediaplayer plugin, supporting audio and video * Preview sizes can now be configured * A location column has been added in the main view * Assured download and upload speeds per torrent * Group policies, set default speed limits, max seed time, max ratio and default download location for all torrents of group * A feature to suppress sleep when torrents are running * A redesigned tracker tab, now also showing how many times a torrent was downloaded * Trackers can now be disabled or enabled * Sat Jun 14 2008 schwab@suse.de - Fix creation of dnd files. * Fri May 16 2008 aj@suse.de - Add missing new line to spec file. * Thu May 15 2008 dmueller@suse.de - fix largefile support (bnc#386475) - add missing runtime dependencies, remove deprected macro * Fri Apr 25 2008 stbinner@suse.de - update to 3.0.2: several crash and other bug fixes * Tue Mar 25 2008 stbinner@suse.de - update to 3.0.1: long list of minor and less minor bugfixes * Tue Feb 19 2008 stbinner@suse.de - fix build * Tue Feb 19 2008 stbinner@suse.de - update to 3.0, the first KDE4-based release * Sun Jan 27 2008 stbinner@suse.de - update to 2.2.5, several minor bug fixes * Thu Nov 22 2007 stbinner@suse.de - update to 2.2.4, fixes a major fileview crash in 2.2.3 * Wed Nov 21 2007 stbinner@suse.de - update to 2.2.3, third bugfix release for version 2.2 * Thu Oct 11 2007 stbinner@suse.de - hide non-funtioncal DHT preference groupbox (#332221) * Wed Sep 26 2007 stbinner@suse.de - update to 2.2.2, second bugfix release for version 2.2 * Sun Aug 19 2007 stbinner@suse.de - fix build on 10.0 * Tue Aug 14 2007 stbinner@suse.de - add improved Hungarian translation (#295663) * Tue Jul 24 2007 bvirlet@suse.de - update to 2.2.1 * Fix file selection bug * Fix several webgui bugs * Make sure plugin list is sorted on the plugin name * Fix bug with UPnP plugin not releasing ports when KT is shutdown * Wed Jul 04 2007 stbinner@suse.de - update to final 2.2 release * Thu Jun 21 2007 stbinner@suse.de - run fdupes and kde_post_install, fix invalid .desktop file * Sun Jun 17 2007 stbinner@suse.de - update to 2.2rc1: * Improved and more consistant GUI * Possibility to open as many views as needed. By default you now get a downloads and uploads tab * Improved search plugin with possibility to open multiple search tabs * Option to fully preallocate diskspace to avoid fragmentation * Option to move finished downloads to a different directory * Progress bar in status bar when searching * Redesigned file selection dialog * Option to copy torrent files to user specified directory * Speed limits for individual torrents * Diskspace monitoring, with option to stop torrents when diskspace is running low * Improved system tray popup * Autorotation of the log file when it gets larger then 10 MB * Import dialog is now network transparent for the torrent file * Statistics plugin which was developed by Krzysztof Kundzicz * Mon Jun 04 2007 stbinner@suse.de - fix build on older distributions * Sun May 20 2007 stbinner@suse.de - fix package requires * Mon May 14 2007 coolo@suse.de - split translations into special package * Tue Apr 24 2007 stbinner@suse.de - update to 2.1.4: * Fixed crash in parsing of DHT messages * Fixed problem with files with .. in their name * ScanFolder can now handle incomplete torrent files properly * Tue Apr 03 2007 dmueller@suse.de - update to 2.1.3: * really fix file overwriting vulnerability * crash fix * Sat Mar 10 2007 dmueller@suse.de - update to 2.1.2: * file overwriting vulnerability * chunk id overflow vulnerability * Tue Mar 06 2007 stbinner@suse.de - update to version 2.1.1: * Rewrite of webserver * New webgui : coldmilk * Networking thread has been split up in 2 threads, one for upload, one for download * Significant speed improvements when downloading over a LAN * Fri Feb 09 2007 stbinner@suse.de - port and re-enable patch 16 * Mon Feb 05 2007 stbinner@suse.de - update to version 2.1 release * Thu Jan 04 2007 stbinner@suse.de - update to version 2.1rc1: * Peer Exchange (µTorrent compatible) * Zeroconf plugin * Sat Nov 25 2006 wstephenson@suse.de - update to version 2.1beta1 * Switched the GUI to an IDEAl style GUI (like KDevelop) * WebGUI plugin * RSS plugin * Improvements in down and upload performance * Grouping feature to put torrents into groups * Improved search plugin, which now allows multiple searches * Many bug fixes * Tue Oct 17 2006 dmueller@suse.de - remove geoIP database due to license issues (#188562) * Mon Oct 16 2006 dmueller@suse.de - fix build on PPC * Tue Oct 10 2006 stbinner@suse.de - update to version 2.0.3 - fixes some download speed issues - fixes several other minor bugs * Wed Aug 30 2006 stbinner@suse.de - update to version 2.0.2 - fixes a data corruption bug - should get the downloading working properly again * Mon Aug 21 2006 stbinner@suse.de - update to version 2.0.1 - fixes several bugs - features some performance improvements * Wed Aug 09 2006 stbinner@suse.de - update to version 2.0 (no changelog provided) - bugfixes - translation updates * Wed Jul 19 2006 stbinner@suse.de - update to version 2.0rc1 * bugfixes and polishing * Tue Jun 06 2006 stbinner@suse.de - don't install with kdelibs conflicting x-bittorrent.desktop * Tue May 23 2006 adrian@suse.de - update to version 2.0beta1 * Speed improvements * Protocol encryption * Bandwith scheduling * File prioritization for multifile torrents * Directory scanner for torrent files * Many bug fixes - disable experimental DHT for now * Sun Apr 16 2006 dkukawka@suse.de - updated/added upstream commited changes: - ktorrent-fix-german-translation.diff: updated german translation file - ktorrent-fix-i18n-strings.diff: fixed typo in i18n string and merged back to translations * Tue Mar 07 2006 dkukawka@suse.de - fixed some strings in german translation (related to bug #154683 and upstram changes) * Thu Mar 02 2006 dkukawka@suse.de - fixed german translation for the plugin settings * Tue Feb 07 2006 ro@suse.de - fix build for < 10.1 * Wed Feb 01 2006 stbinner@suse.de - update to 1.2 final * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Jan 17 2006 stbinner@suse.de - update to 1.2rc2 * Mon Jan 16 2006 dmueller@suse.de - use -fstack-protector * Thu Jan 05 2006 dkukawka@suse.de - added patches: - ktorrent-fix-columns.diff (Added focus to all collums in the ListView objects) - ktorrent-fix-columns_save_restore_ktorrentview.diff (fix store columns settings and enable change wide of columns) - ktorrent-fix-KBytesPerSecToString.diff - ktorrent-fix-keep_seeding.diff (fixed torrentFinished to respect "Keep seeding after download has finished") - ktorrent-fix-remove-unneeded.diff (removed unneeded code) - ktorrent-fix-compiler_warning.diff * Mon Jan 02 2006 stbinner@suse.de - update to 1.2rc1 (#135481) * Thu Oct 13 2005 dmueller@suse.de - update to BRANCH * Tue Oct 11 2005 dmueller@suse.de - update 1.1 final * Wed Sep 07 2005 adrian@suse.de - remove links to some search engine with maybe legal problems * Tue Sep 06 2005 dmueller@suse.de - update 1.1rc1 (#104905) * Fri Aug 05 2005 adrian@suse.de - fix build for released non-PLUS distributions * Fri Jul 22 2005 adrian@suse.de - fix file list * Fri Jul 22 2005 adrian@suse.de - create initial package of version 1.0