2024-01-06 03:08:15 +01:00
|
|
|
%define libname libktorrent
|
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
%define libver 1.%(echo %version | cut -d. -f2-3)
|
|
|
|
|
|
|
|
Name: ktorrent
|
2024-01-06 03:08:15 +01:00
|
|
|
Version: 5.1.1
|
2024-01-06 03:08:15 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 03:08:15 +01:00
|
|
|
Summary: BitTorrent client for KDE
|
|
|
|
Group: Graphical Desktop/Applications/Networking
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
2024-01-06 03:08:15 +01:00
|
|
|
URL: http://kde.org
|
2024-01-06 03:08:15 +01:00
|
|
|
Source: https://download.kde.org/stable/ktorrent/%{version}/ktorrent-%{version}.tar.xz
|
2024-01-06 03:08:15 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 03:08:15 +01:00
|
|
|
BuildRequires: libQt5WebKit-devel
|
2024-01-06 03:08:15 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-06 03:08:15 +01:00
|
|
|
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
|
2024-01-06 03:08:15 +01:00
|
|
|
BuildRequires: libktorrent-devel
|
2024-01-06 03:08:15 +01:00
|
|
|
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
|
2024-01-06 03:08:15 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 03:08:15 +01:00
|
|
|
BuildRequires: libsyndication-devel
|
2024-01-06 03:08:15 +01:00
|
|
|
BuildRequires: libtag-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: libxml2-utils
|
|
|
|
BuildRequires: %{libname} >= %{libver}
|
|
|
|
Provides: ktorrent4
|
|
|
|
Obsoletes: ktorrent4
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 03:08:15 +01:00
|
|
|
%cmake_kde5 -d build
|
2024-01-06 03:08:15 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall -C build
|
|
|
|
%find_lang ktorrent
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_kde4_libdir}/libktcore.so
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%posttrans
|
2024-01-06 03:08:15 +01:00
|
|
|
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
2024-01-06 03:08:15 +01:00
|
|
|
update-desktop-database -q &>/dev/null
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ] ; then
|
2024-01-06 03:08:15 +01:00
|
|
|
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
|
|
|
|
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
|
2024-01-06 03:08:15 +01:00
|
|
|
update-desktop-database -q &>/dev/null
|
|
|
|
fi
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%files -f ktorrent.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:08:15 +01:00
|
|
|
%{_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
|
|
|
|
%lang(ca) %{_datadir}/doc/HTML/ca/ktorrent
|
|
|
|
%lang(de) %{_datadir}/doc/HTML/de/ktorrent
|
|
|
|
%lang(es) %{_datadir}/doc/HTML/es/ktorrent
|
|
|
|
%lang(et) %{_datadir}/doc/HTML/et/ktorrent
|
|
|
|
%lang(fr) %{_datadir}/doc/HTML/fr/ktorrent
|
|
|
|
%lang(it) %{_datadir}/doc/HTML/it/ktorrent
|
|
|
|
%lang(nl) %{_datadir}/doc/HTML/nl/ktorrent
|
|
|
|
%lang(pt) %{_datadir}/doc/HTML/pt/ktorrent
|
|
|
|
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/ktorrent/
|
|
|
|
%lang(ru) %{_datadir}/doc/HTML/ru/ktorrent
|
|
|
|
%lang(sv) %{_datadir}/doc/HTML/sv/ktorrent
|
|
|
|
%lang(uk) %{_datadir}/doc/HTML/uk/ktorrent
|
|
|
|
%doc COPYING
|
2024-01-06 03:08:15 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:08:15 +01:00
|
|
|
* Fri Sep 07 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.1-1mamba
|
|
|
|
- update to 5.1.1
|
|
|
|
|
2024-01-06 03:08:15 +01:00
|
|
|
* Sun Jan 14 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.0-1mamba
|
|
|
|
- update to 5.1.0
|
|
|
|
|
2024-01-06 03:08:15 +01:00
|
|
|
* Sat Nov 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.1-2mamba
|
|
|
|
- rebuilt with libtag 1.9.1
|
|
|
|
|
2024-01-06 03:08:15 +01:00
|
|
|
* Sun Jan 20 2013 Automatic Build System <autodist@mambasoft.it> 4.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 27 2012 Automatic Build System <autodist@mambasoft.it> 4.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 20 2012 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Apr 11 2012 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 23 2011 Automatic Build System <autodist@mambasoft.it> 4.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 16 2011 Automatic Build System <autodist@mambasoft.it> 4.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jun 15 2011 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Dec 29 2010 Automatic Build System <autodist@mambasoft.it> 4.0.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Oct 17 2010 Automatic Build System <autodist@mambasoft.it> 4.0.4-1mamba
|
|
|
|
- automatic update to 4.0.4 by autodist
|
|
|
|
|
|
|
|
* Mon Aug 30 2010 Davide Madrisan <davide.madrisan@gmail.com> 4.0.3-2mamba
|
|
|
|
- specfile cleanups
|
|
|
|
- update icon cache and desktop database
|
|
|
|
|
|
|
|
* Mon Aug 30 2010 Automatic Build System <autodist@mambasoft.it> 4.0.3-1mamba
|
|
|
|
- automatic update to 4.0.3 by autodist
|
|
|
|
|
|
|
|
* Fri Jul 09 2010 Automatic Build System <autodist@mambasoft.it> 4.0.2-1mamba
|
|
|
|
- automatic update to 4.0.2 by autodist
|
|
|
|
|
|
|
|
* Sun Jun 20 2010 Automatic Build System <autodist@mambasoft.it> 4.0.1-1mamba
|
|
|
|
- update to 4.0.1
|
|
|
|
|
|
|
|
* Thu Jun 03 2010 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
|
|
|
|
- update to 4.0.0
|
|
|
|
|
|
|
|
* Sun Feb 07 2010 Automatic Build System <autodist@mambasoft.it> 3.3.4-1mamba
|
|
|
|
- automatic update to 3.3.4 by autodist
|
|
|
|
|
|
|
|
* Mon Jan 18 2010 Automatic Build System <autodist@mambasoft.it> 3.3.3-1mamba
|
|
|
|
- automatic update to 3.3.3 by autodist
|
|
|
|
|
|
|
|
* Sat Dec 19 2009 Automatic Build System <autodist@mambasoft.it> 3.3.2-1mamba
|
|
|
|
- automatic update to 3.3.2 by autodist
|
|
|
|
|
|
|
|
* Thu Dec 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.1-2mamba
|
|
|
|
- rebuilt with kde 4.2.4
|
|
|
|
|
|
|
|
* Mon Nov 23 2009 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
|
|
|
|
- automatic update to 3.3.1 by autodist
|
|
|
|
|
|
|
|
* Mon Nov 09 2009 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
|
|
|
|
- automatic update to 3.3 by autodist
|
|
|
|
|
|
|
|
* Tue Oct 20 2009 Automatic Build System <autodist@mambasoft.it> 3.2.5-1mamba
|
|
|
|
- automatic update to 3.2.5 by autodist
|
|
|
|
|
|
|
|
* Thu Sep 24 2009 Automatic Build System <autodist@mambasoft.it> 3.2.4-1mamba
|
|
|
|
- automatic update to 3.2.4 by autodist
|
|
|
|
|
|
|
|
* Tue Aug 11 2009 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
|
|
|
|
- automatic update to 3.2.3 by autodist
|
|
|
|
|
|
|
|
* Tue Jun 30 2009 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
|
|
|
|
- automatic update to 3.2.2 by autodist
|
|
|
|
|
|
|
|
* Mon Apr 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.1-1mamba
|
|
|
|
- automatic update to 3.2.1 by autodist
|
|
|
|
|
|
|
|
* Tue Feb 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2-1mamba
|
|
|
|
- automatic update to 3.2 by autodist
|
|
|
|
|
|
|
|
* Sat Jan 24 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.6-1mamba
|
|
|
|
- automatic update to 3.1.6 by autodist
|
|
|
|
|
|
|
|
* Mon Nov 17 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.5-1mamba
|
|
|
|
- automatic update to 3.1.5 by autodist
|
|
|
|
|
|
|
|
* Fri Oct 24 2008 Aleph0 <aleph0@openmamba.org> 3.1.4-1mamba
|
|
|
|
- update to 3.1.4
|
|
|
|
|
|
|
|
* Wed Apr 30 2008 Aleph0 <aleph0@openmamba.org> 2.2.6-1mamba
|
|
|
|
- update to 2.2.6
|
|
|
|
|
|
|
|
* Wed Dec 05 2007 Aleph0 <aleph0@openmamba.org> 2.2.4-2mamba
|
|
|
|
- created subpackages %{libname} and %{libname}-devel
|
|
|
|
|
|
|
|
* Thu Nov 22 2007 Aleph0 <aleph0@openmamba.org> 2.2.4-1mamba
|
|
|
|
- update to 2.2.4
|
|
|
|
|
|
|
|
* Mon Nov 19 2007 Aleph0 <aleph0@openmamba.org> 2.2.3-1mamba
|
|
|
|
- update to 2.2.3
|
|
|
|
|
|
|
|
* Wed Sep 05 2007 Aleph0 <aleph0@openmamba.org> 2.2.2-1mamba
|
|
|
|
- update to 2.2.2
|
|
|
|
|
|
|
|
* Wed Jul 25 2007 Aleph0 <aleph0@openmamba.org> 2.2.1-1mamba
|
|
|
|
- update to 2.2.1
|
|
|
|
|
|
|
|
* Wed Jul 04 2007 Aleph0 <aleph0@openmamba.org> 2.2-1mamba
|
|
|
|
- update to 2.2
|
|
|
|
|
|
|
|
* Tue Jul 03 2007 Aleph0 <aleph0@openmamba.org> 2.1.4-1mamba
|
|
|
|
- update to 2.1.4
|
|
|
|
|
|
|
|
* Tue Apr 10 2007 Aleph0 <aleph0@openmamba.org> 2.1.3-1mamba
|
|
|
|
- update to version 2.1.3 by autospec
|
|
|
|
|
|
|
|
* Fri Mar 30 2007 Aleph0 <aleph0@openmamba.org> 2.1.2-1mamba
|
|
|
|
- update to version 2.1.2 by autospec
|
|
|
|
|
|
|
|
* Fri Oct 13 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.0.3-1qilnx
|
|
|
|
- update to version 2.0.3 by autospec
|
|
|
|
|
|
|
|
* Tue Sep 05 2006 Davide Madrisan <davide.madrisan@qilinux.it> 2.0.2-1qilnx
|
|
|
|
- update to version 2.0.2 by autospec
|
|
|
|
|
|
|
|
* Fri May 12 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2-1qilnx
|
|
|
|
- update to version 1.2 by autospec
|
|
|
|
- added missing build requirements
|
|
|
|
|
|
|
|
* Tue Sep 06 2005 Massimo Pintore <massimo.pintore@qilinux.it> 1.1rc1-1qilnx
|
|
|
|
- package created by autospec
|