%define libname libktorrent %define majver %(echo %version | cut -d. -f1-2) %define libver 1.%(echo %version | cut -d. -f2-3) Name: ktorrent Version: 20.12.3 Release: 1mamba Summary: BitTorrent client for KDE Group: Graphical Desktop/Applications/Networking Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: https://kde.org Source: https://download.kde.org/stable/release-service/%{version}/src/ktorrent-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libQt5WebKit-devel BuildRequires: libgcc BuildRequires: libgcrypt-devel BuildRequires: libgmp-devel BuildRequires: libkarchive-devel BuildRequires: libkauth-devel BuildRequires: libkbookmarks-devel BuildRequires: libkcmutils-devel BuildRequires: libkcodecs-devel BuildRequires: libkcompletion-devel BuildRequires: libkconfig-devel BuildRequires: libkconfigwidgets-devel BuildRequires: libkcoreaddons-devel BuildRequires: libkcrash-devel BuildRequires: libkdbusaddons-devel BuildRequires: libkdewebkit-devel BuildRequires: libkdnssd-devel BuildRequires: libki18n-devel BuildRequires: libkiconthemes-devel BuildRequires: libkio-devel BuildRequires: libkitemviews-devel BuildRequires: libkjobwidgets-devel BuildRequires: libknotifications-devel BuildRequires: libknotifyconfig-devel BuildRequires: libkparts-devel BuildRequires: libkplotting-devel BuildRequires: libkross-devel BuildRequires: libkservice-devel BuildRequires: libktextwidgets-devel BuildRequires: libktorrent-devel BuildRequires: libkwidgetsaddons-devel BuildRequires: libkwindowsystem-devel BuildRequires: libkxmlgui-devel BuildRequires: libphonon-qt5-devel BuildRequires: libplasma-workspace-devel BuildRequires: libqt5-devel BuildRequires: libsolid-devel BuildRequires: libsonnet-devel BuildRequires: libstdc++6-devel BuildRequires: libsyndication-devel BuildRequires: libtag-devel ## AUTOBUILDREQ-END BuildRequires: gettext-devel BuildRequires: libxml2-utils BuildRequires: %{libname} >= %{libver} Provides: ktorrent4 Obsoletes: ktorrent4 %description KTorrent is a BitTorrent program for KDE. It's main features are : - downloads torrent files - upload speed capping, seeing that most people can't upload infinite amounts of data - internet searching using The Bittorrent website's search engine - UDP Trackers %debug_package %prep %setup -q %build %cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall -C build %find_lang ktorrent --with-html rm -f %{buildroot}%{_kde4_libdir}/libktcore.so %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %posttrans gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null update-desktop-database -q &>/dev/null exit 0 %postun if [ $1 -eq 0 ] ; then touch --no-create %{_kde5_icondir}/hicolor &>/dev/null gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null update-desktop-database -q &>/dev/null fi exit 0 %files -f ktorrent.lang %defattr(-,root,root) %{_kde5_bindir}/ktorrent %{_kde5_bindir}/ktmagnetdownloader %{_kde5_bindir}/ktupnptest %{_kde5_datadir}/ktorrent %{_kde5_icondir}/hicolor/*/apps/ktorrent.png %{_kde5_icondir}/hicolor/*/actions/*.png %{_kde5_icondir}/hicolor/*/actions/*.svgz %{_kde5_libdir}/libktcore.so.* %{_kde5_htmldir}/en/* %dir %{_libdir}/qt5/plugins/ktorrent %{_libdir}/qt5/plugins/ktorrent/ktorrent_*.so %{_datadir}/applications/org.kde.ktorrent.desktop %{_datadir}/knotifications5/ktorrent.notifyrc %dir %{_datadir}/kxmlgui5/ktorrent %{_datadir}/kxmlgui5/ktorrent/ktorrent*.rc %{_datadir}/kxmlgui5/ktorrent/kttorrentactivityui.rc %{_datadir}/metainfo/org.kde.ktorrent.appdata.xml %doc COPYING %changelog * Fri Mar 05 2021 Automatic Build System 20.12.3-1mamba - automatic version update by autodist * Fri Feb 05 2021 Automatic Build System 20.12.2-1mamba - automatic version update by autodist * Mon Jan 25 2021 Silvan Calarco 20.12.1-1mamba - update to 20.12.1 * Tue Sep 10 2019 Automatic Build System 5.1.2-1mamba - automatic version update by autodist * Fri Sep 07 2018 Silvan Calarco 5.1.1-1mamba - update to 5.1.1 * Sun Jan 14 2018 Silvan Calarco 5.1.0-1mamba - update to 5.1.0 * Sat Nov 14 2015 Silvan Calarco 4.3.1-2mamba - rebuilt with libtag 1.9.1 * Sun Jan 20 2013 Automatic Build System 4.3.1-1mamba - automatic version update by autodist * Thu Sep 27 2012 Automatic Build System 4.3.0-1mamba - automatic version update by autodist * Wed Jun 20 2012 Automatic Build System 4.2.1-1mamba - automatic version update by autodist * Wed Apr 11 2012 Automatic Build System 4.2.0-1mamba - automatic version update by autodist * Wed Nov 23 2011 Automatic Build System 4.1.3-1mamba - automatic version update by autodist * Tue Aug 16 2011 Automatic Build System 4.1.2-1mamba - automatic version update by autodist * Wed Jun 15 2011 Automatic Build System 4.1.1-1mamba - automatic update by autodist * Wed Dec 29 2010 Automatic Build System 4.0.5-1mamba - automatic update by autodist * Sun Oct 17 2010 Automatic Build System 4.0.4-1mamba - automatic update to 4.0.4 by autodist * Mon Aug 30 2010 Davide Madrisan 4.0.3-2mamba - specfile cleanups - update icon cache and desktop database * Mon Aug 30 2010 Automatic Build System 4.0.3-1mamba - automatic update to 4.0.3 by autodist * Fri Jul 09 2010 Automatic Build System 4.0.2-1mamba - automatic update to 4.0.2 by autodist * Sun Jun 20 2010 Automatic Build System 4.0.1-1mamba - update to 4.0.1 * Thu Jun 03 2010 Automatic Build System 4.0.0-1mamba - update to 4.0.0 * Sun Feb 07 2010 Automatic Build System 3.3.4-1mamba - automatic update to 3.3.4 by autodist * Mon Jan 18 2010 Automatic Build System 3.3.3-1mamba - automatic update to 3.3.3 by autodist * Sat Dec 19 2009 Automatic Build System 3.3.2-1mamba - automatic update to 3.3.2 by autodist * Thu Dec 03 2009 Silvan Calarco 3.3.1-2mamba - rebuilt with kde 4.2.4 * Mon Nov 23 2009 Automatic Build System 3.3.1-1mamba - automatic update to 3.3.1 by autodist * Mon Nov 09 2009 Automatic Build System 3.3-1mamba - automatic update to 3.3 by autodist * Tue Oct 20 2009 Automatic Build System 3.2.5-1mamba - automatic update to 3.2.5 by autodist * Thu Sep 24 2009 Automatic Build System 3.2.4-1mamba - automatic update to 3.2.4 by autodist * Tue Aug 11 2009 Automatic Build System 3.2.3-1mamba - automatic update to 3.2.3 by autodist * Tue Jun 30 2009 Automatic Build System 3.2.2-1mamba - automatic update to 3.2.2 by autodist * Mon Apr 06 2009 Silvan Calarco 3.2.1-1mamba - automatic update to 3.2.1 by autodist * Tue Feb 17 2009 Silvan Calarco 3.2-1mamba - automatic update to 3.2 by autodist * Sat Jan 24 2009 Silvan Calarco 3.1.6-1mamba - automatic update to 3.1.6 by autodist * Mon Nov 17 2008 Silvan Calarco 3.1.5-1mamba - automatic update to 3.1.5 by autodist * Fri Oct 24 2008 Aleph0 3.1.4-1mamba - update to 3.1.4 * Wed Apr 30 2008 Aleph0 2.2.6-1mamba - update to 2.2.6 * Wed Dec 05 2007 Aleph0 2.2.4-2mamba - created subpackages %{libname} and %{libname}-devel * Thu Nov 22 2007 Aleph0 2.2.4-1mamba - update to 2.2.4 * Mon Nov 19 2007 Aleph0 2.2.3-1mamba - update to 2.2.3 * Wed Sep 05 2007 Aleph0 2.2.2-1mamba - update to 2.2.2 * Wed Jul 25 2007 Aleph0 2.2.1-1mamba - update to 2.2.1 * Wed Jul 04 2007 Aleph0 2.2-1mamba - update to 2.2 * Tue Jul 03 2007 Aleph0 2.1.4-1mamba - update to 2.1.4 * Tue Apr 10 2007 Aleph0 2.1.3-1mamba - update to version 2.1.3 by autospec * Fri Mar 30 2007 Aleph0 2.1.2-1mamba - update to version 2.1.2 by autospec * Fri Oct 13 2006 Davide Madrisan 2.0.3-1qilnx - update to version 2.0.3 by autospec * Tue Sep 05 2006 Davide Madrisan 2.0.2-1qilnx - update to version 2.0.2 by autospec * Fri May 12 2006 Davide Madrisan 1.2-1qilnx - update to version 1.2 by autospec - added missing build requirements * Tue Sep 06 2005 Massimo Pintore 1.1rc1-1qilnx - package created by autospec