%define subrel 1 Name: ktorrent Version: 3.2 Release: %mkrel 0 Summary: BitTorrent program for KDE Group: Networking/File transfer License: GPLv2+ Url: http://ktorrent.org/ Source0: http://ktorrent.org/downloads/%{version}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: gmp-devel BuildRequires: kdepimlibs4-devel BuildRequires: kdebase4-workspace-devel BuildRequires: qca2-devel >= 2.0.1 BuildRequires: boost-devel Obsoletes: %{_lib}ktorrent0 Obsoletes: %{_lib}ktorrent2.1 Obsoletes: %{_lib}ktorrent2.1.1 Obsoletes: %{_lib}ktorrent2.1.2 Obsoletes: %{_lib}ktorrent2.1.3 Obsoletes: kde4-ktorrent < 1:%version-%release Provides: kde4-ktorrent = 1:%version-%release %description KTorrent is a BitTorrent program for KDE. It's main features are: o Downloads torrent files o Upload speed capping, seeing that most people can't upload infinite amounts of data. o Internet searching using The Bittorrent website's search engine o UDP Trackers #------------------------------------------------------------------------- %files -f %{name}.lang %defattr(-,root,root) %{_kde_bindir}/* %{_kde_libdir}/kde4/* %{_kde_datadir}/apps/%{name} %{_kde_datadir}/applications/kde4/* %{_kde_services}/* %{_kde_servicetypes}/* %{_kde_iconsdir}/*/*/*/* #------------------------------------------------------------------------- %define btcore_major 9 %define libbtcore %mklibname btcore %btcore_major %package -n %libbtcore Summary: Ktorrent libbrary Group: System/Libraries Obsoletes: %{_lib}btcore1 < 4.0.0-2 Obsoletes: %{_lib}btcore2 < 3.0-0.rc1.3 Obsoletes: %{_lib}btcore3 < 3.1-0.beta1.2 Obsoletes: %{_lib}btcore4 < 3.1-0.beta2.1 Obsoletes: %{_lib}btcore5 < 3.1 Obsoletes: %{_lib}btcore6 < 3.1.1 %description -n %libbtcore KTorrent library. %if %mdkversion < 200900 %post -n %libbtcore -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %libbtcore -p /sbin/ldconfig %endif %files -n %libbtcore %defattr(-,root,root) %{_kde_libdir}/libbtcore.so.%{btcore_major}* #------------------------------------------------------------------------- %define ktcore_major 8 %define libktcore %mklibname ktcore %ktcore_major %package -n %libktcore Summary: Ktorrent libbrary Group: System/Libraries Obsoletes: %{_lib}ktcore1 < 4.0.0-2 Obsoletes: %{_lib}ktcore2 < 3.0-0.rc1.3 Obsoletes: %{_lib}ktcore3 < 3.1-0.beta1.2 Obsoletes: %{_lib}ktcore4 < 3.1-0.beta2.1 %description -n %libktcore KTorrent library. %if %mdkversion < 200900 %post -n %libktcore -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %libktcore -p /sbin/ldconfig %endif %files -n %libktcore %defattr(-,root,root) %{_kde_libdir}/libktcore.so.%{ktcore_major}* #------------------------------------------------------------------------- %define ktupnp_major 4 %define libktupnp %mklibname ktupnp %ktupnp_major %package -n %libktupnp Summary: Ktorrent libbrary Group: System/Libraries Obsoletes: %{_lib}ktupnp1 < 3.1-0.beta2.1 %description -n %libktupnp KTorrent library. %if %mdkversion < 200900 %post -n %libktupnp -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %libktupnp -p /sbin/ldconfig %endif %files -n %libktupnp %defattr(-,root,root) %{_kde_libdir}/libktupnp.so.%{ktupnp_major}* #------------------------------------------------------------------------- %package devel Summary: Ktorrent plugin devel headers Group: Networking/File transfer %description devel Ktorrent plugin devel headers. %files devel %defattr(-,root,root) %{_kde_includedir}/* %{_kde_appsdir}/cmake/*/* %{_kde_libdir}/*.so #------------------------------------------------------------------------- %prep %setup -q %build %cmake_kde4 %make %install rm -rf %buildroot %makeinstall_std -C build %find_lang %{name} %clean rm -rf %buildroot %changelog * Tue May 26 2009 Helio Chissini de Castro <helio@mandriva.com> 3.2-0.1mdv2009.0 + Revision: 379940 - Major KDE 4.2.3 update * Mon Sep 29 2008 Helio Chissini de Castro <helio@mandriva.com> 3.1.3-1mdv2009.0 + Revision: 289895 - New upstream bugfix release * Tue Aug 05 2008 Funda Wang <fundawang@mandriva.org> 3.1.2-1mdv2009.0 + Revision: 264012 - New version 3.1.2 - Obsoletes old major * Mon Jul 14 2008 Funda Wang <fundawang@mandriva.org> 3.1.1-1mdv2009.0 + Revision: 234536 - new libmajor of btcore - New version 3.1.1 * Mon Jun 23 2008 Anssi Hannula <anssi@mandriva.org> 3.1-3mdv2009.0 + Revision: 228287 - adapt obsoletes for upcoming backports * Fri Jun 20 2008 Pixel <pixel@mandriva.com> 3.1-2mdv2009.0 + Revision: 227421 - rebuild for fixed %%update_icon_cache/%%clean_icon_cache/%%post_install_gconf_schemas - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas * Tue Jun 17 2008 Funda Wang <fundawang@mandriva.org> 3.1-1mdv2009.0 + Revision: 222098 - New version 3.1 final + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Mon Jun 02 2008 Helio Chissini de Castro <helio@mandriva.com> 3.1-0.rc1.1mdv2009.0 + Revision: 214405 - New upstream release candidate * Tue May 20 2008 Nicolas Lécureuil <neoclust@mandriva.org> 3.1-0.beta2.1mdv2009.0 + Revision: 209299 - Forgot to bump one major - Fix majors Add obsoletes for older packages Clean spec file - Fix Build - Update to beta2 * Sun May 18 2008 Nicolas Lécureuil <neoclust@mandriva.org> 3.1-0.beta1.2mdv2009.0 + Revision: 208799 -Try to add some obsoletes * Sun May 11 2008 Anssi Hannula <anssi@mandriva.org> 3.1-0.beta1.1mdv2009.0 + Revision: 205436 - ensure major correctness - fix majors - revert unneeded epoch + Nicolas Lécureuil <neoclust@mandriva.org> - Update to ktorrent 3.1 beta1 + Funda Wang <fundawang@mandriva.org> - New version 3.0.2 + Helio Chissini de Castro <helio@mandriva.com> - Added cache back, as pointed by Anssi - Obsoletes package kde4-ktorrent lower than 3.0.1 ( need add epoch ) - Ktorrent 3.0.1 for KDE 4. Main applications now will be oriented to kde4. * Sun Jan 27 2008 Funda Wang <fundawang@mandriva.org> 2.2.5-1mdv2008.1 + Revision: 158850 - New version 2.2.5 * Thu Jan 03 2008 Oden Eriksson <oeriksson@mandriva.com> 2.2.4-2mdv2008.1 + Revision: 141741 - rebuilt against openldap-2.4.7 libs + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Thu Nov 22 2007 Funda Wang <fundawang@mandriva.org> 2.2.4-1mdv2008.1 + Revision: 111112 - New version 2.2.4 * Thu Nov 15 2007 Funda Wang <fundawang@mandriva.org> 2.2.3-1mdv2008.1 + Revision: 108895 - New version 2.2.3 * Thu Aug 30 2007 Funda Wang <fundawang@mandriva.org> 2.2.2-1mdv2008.0 + Revision: 75028 - New version 2.2.2 * Tue Jul 24 2007 Anssi Hannula <anssi@mandriva.org> 2.2.1-1mdv2008.0 + Revision: 55038 - 2.2.1 * Wed Jul 04 2007 Anssi Hannula <anssi@mandriva.org> 2.2-1mdv2008.0 + Revision: 48110 - use desktop-file-install and drop legacy menu file + Helio Chissini de Castro <helio@mandriva.com> - Update for new 2.2 version * Wed Jun 13 2007 Anssi Hannula <anssi@mandriva.org> 2.1.4-2mdv2008.0 + Revision: 39020 - do not own %%_libdir/kde3 (fixes #31378) * Wed Apr 25 2007 Anssi Hannula <anssi@mandriva.org> 2.1.4-1mdv2008.0 + Revision: 18293 - 2.1.4 * Tue Apr 17 2007 Anssi Hannula <anssi@mandriva.org> 2.1.3-2mdv2008.0 + Revision: 13954 - force -fPIC to prevent build failure - drop libpackage * Wed Apr 04 2007 Laurent Montel <lmontel@mandriva.com> 2.1.3-1mdv2007.1 + Revision: 150472 - 2.1.3 * Sun Mar 11 2007 Anssi Hannula <anssi@mandriva.org> 2.1.2-2mdv2007.1 + Revision: 141207 - workaround rpm bug #27417 * Sat Mar 10 2007 Laurent Montel <lmontel@mandriva.com> 2.1.2-1mdv2007.1 + Revision: 140339 - 2.1.2 * Tue Mar 06 2007 Laurent Montel <lmontel@mandriva.com> 2.1.1-1mdv2007.1 + Revision: 133503 - 2.1.1 * Wed Feb 07 2007 Anssi Hannula <anssi@mandriva.org> 2.1-1mdv2007.1 + Revision: 117197 - 2.1 final - new major 2.1 - refresh patch2 - move plugins to main package as they are not versioned - add a comment to .spec about the library packaging - add %%update_desktop_database and %%update_icon_cache + Nicolas Lécureuil <neoclust@mandriva.org> - Add Patch2: Fix Build - New Version 2.1Rc1 - Fix File list - New release 2.0.3 - import ktorrent-2.0.2-1mdv2007.0 * Thu Aug 31 2006 Laurent MONTEL <lmontel@mandriva.com> 2.0.2-1 - 2.0.2 * Tue Aug 29 2006 Laurent MONTEL <lmontel@mandriva.com> 2.0.1-1 - 2.0.1 * Tue Aug 15 2006 Laurent MONTEL <lmontel@mandriva.com> 2.0-1 - 2.0 * Tue Jun 20 2006 Nicolas Lécureuil <neoclust@mandriva.org> 2.0-0.beta1.2mdv2007.0 - Fix conflicts with kdelibs-common * Tue Jun 20 2006 Nicolas Lécureuil <neoclust@mandriva.org> 2.0-0.beta1.0mdv2007.0 - 2.0 Beta1 - Rediff Patch1 - Fix file list * Sat May 27 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.2-4mdv2007.0 - fix requires (lib64) - drop useless devel package - add back icons for non-kde - simplify %%files * Sat May 27 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.2-3mdv2007.0 - add dependency on libtorrent * Sat May 20 2006 Laurent MONTEL <lmontel@mandriva.com> 1.2-2 - 1.2 - Add patch1: fix link - Fix build on x86_64 * Tue Jul 19 2005 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.0-2mdk - fix summary (thx Bruno!) * Tue Jul 19 2005 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.0-1mdk - initial release (club request)