ktorrent-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. Name: ktorrent
  2. Summary: A BitTorrent program
  3. Summary(ja): BitTorrent クライアント
  4. Version: 4.3.1
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Internet
  7. License: GPLv2+
  8. URL: http://ktorrent.org/
  9. Source0: http://ktorrent.org/downloads/%{version}/ktorrent-%{version}%{?pre}.tar.bz2
  10. Patch0: ktorrent-4.3.1-vine.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: avahi-devel
  13. BuildRequires: cmake
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: gettext
  16. BuildRequires: gmp-devel
  17. #BuildRequires: GeoIP-devel
  18. # libtaskmanager support, for plasma applet
  19. BuildRequires: kdebase-workspace-devel
  20. BuildRequires: kdelibs4-devel >= 4.2.0
  21. BuildRequires: kdepimlibs-devel
  22. BuildRequires: libktorrent-devel >= 1.3.1
  23. BuildRequires: plasma-devel
  24. BuildRequires: qca2-devel
  25. BuildRequires: taglib-devel
  26. BuildRequires: soprano-devel
  27. Obsoletes: ktorrent < 3.2.3-2
  28. Provides: plasma-engine-ktorrent = %{version}-%{release}
  29. Requires: %{name}-libs = %{version}-%{release}
  30. Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
  31. %description
  32. KTorrent is a BitTorrent program for KDE. Its main features are native KDE
  33. integration, download of torrent files, upload speed capping, internet
  34. searching using various search engines, UDP Trackers and UPnP support.
  35. %package libs
  36. Summary: Runtime libraries for %{name}
  37. Summary(ja): %{name} のランタイムライブラリ
  38. Group: System Environment/Libraries
  39. #Requires: %{name} = %{version}-%{release}
  40. #{?_kde4_version:Requires: kdelibs4%{?_isa} >= %{_kde4_version}}
  41. %description libs
  42. %{summary}.
  43. %package -n kde-plasma-ktorrent
  44. Summary: ktorrent plasma applet
  45. Summary(ja): ktorrent の Plasma アプレット
  46. Group: Applications/Internet
  47. Requires: plasma-engine-ktorrent = %{version}-%{release}
  48. %description -n kde-plasma-ktorrent
  49. %{summary}.
  50. %prep
  51. %setup -q -n %{name}-%{version}%{?pre}
  52. %patch0 -p1 -b .vine
  53. %build
  54. mkdir -p %{_target_platform}
  55. pushd %{_target_platform}
  56. %cmake \
  57. -DCMAKE_BUILD_TYPE=release \
  58. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  59. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  60. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  61. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  62. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  63. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  64. -DWITH_SYSTEM_GEOIP:BOOL=OFF \
  65. ..
  66. popd
  67. #make %{?_smp_mflags} -C %{_target_platform}
  68. make -C %{_target_platform}
  69. %install
  70. %{__rm} -rf %{buildroot}
  71. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  72. # unpackaged files
  73. rm -f %{buildroot}%{_libdir}/lib{ktcore,ktupnp}.so
  74. %find_lang %{name}
  75. %check
  76. desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/ktorrent.desktop
  77. %post
  78. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  79. %posttrans
  80. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  81. update-desktop-database -q &> /dev/null ||:
  82. %postun
  83. if [ $1 -eq 0 ] ; then
  84. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  85. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  86. update-desktop-database -q &> /dev/null ||:
  87. fi
  88. %post libs -p /sbin/ldconfig
  89. %postun libs -p /sbin/ldconfig
  90. %clean
  91. rm -rf $RPM_BUILD_ROOT
  92. %files -f %{name}.lang
  93. %defattr(-,root,root,-)
  94. %doc ChangeLog COPYING
  95. %{_bindir}/ktmagnetdownloader
  96. %{_bindir}/ktorrent
  97. %{_bindir}/ktupnptest
  98. %{_libdir}/kde4/ktbwschedulerplugin.so
  99. %{_libdir}/kde4/ktinfowidgetplugin.so
  100. %{_libdir}/kde4/ktipfilterplugin.so
  101. %{_libdir}/kde4/ktlogviewerplugin.so
  102. %{_libdir}/kde4/ktmagnetgeneratorplugin.so
  103. %{_libdir}/kde4/ktmediaplayerplugin.so
  104. %{_libdir}/kde4/ktscanfolderplugin.so
  105. %{_libdir}/kde4/ktsearchplugin.so
  106. %{_libdir}/kde4/ktstatsplugin.so
  107. %{_libdir}/kde4/ktupnpplugin.so
  108. %{_libdir}/kde4/ktwebinterfaceplugin.so
  109. %{_libdir}/kde4/ktzeroconfplugin.so
  110. %{_libdir}/kde4/ktdownloadorderplugin.so
  111. %{_libdir}/kde4/ktscriptingplugin.so
  112. %{_libdir}/kde4/ktshutdownplugin.so
  113. %{_libdir}/kde4/ktsyndicationplugin.so
  114. %{_libdir}/kde4/plasma_engine_ktorrent.so
  115. %{_datadir}/icons/hicolor/*/*/*
  116. %{_datadir}/applications/kde4/ktorrent.desktop
  117. %{_datadir}/kde4/apps/ktorrent/
  118. %{_datadir}/kde4/services/kt*plugin.desktop
  119. %{_datadir}/kde4/services/magnet.protocol
  120. %{_datadir}/kde4/services/plasma-dataengine-ktorrent.desktop
  121. %{_datadir}/kde4/servicetypes/ktorrentplugin.desktop
  122. %{_docdir}/HTML/en/ktorrent
  123. %files libs
  124. %defattr(-,root,root,-)
  125. %{_libdir}/libktcore.so.*
  126. %files -n kde-plasma-ktorrent
  127. %defattr(-,root,root,-)
  128. %{_datadir}/kde4/services/plasma-applet-ktorrent.desktop
  129. %{_libdir}/kde4/plasma_applet_ktorrent.so
  130. %changelog
  131. * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.1-1
  132. - new upstream release
  133. - add Patch0 (ktorrent-4.3.1-vine.patch)
  134. * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.0-1
  135. - new upstream release
  136. * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.2.1-1
  137. - new upstream release
  138. * Sun Oct 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.1.2-1
  139. - new upstream release
  140. * Sun May 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.0.5-2
  141. - add BuildRequires: soprano-devel
  142. * Wed Jan 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.0.5-1
  143. - Initial build for Vine Linux
  144. * Thu Jul 8 2010 Alexey Kurov <nucleo@fedoraproject.org> - 4.0.2-1
  145. - ktorrent-4.0.2
  146. - drop DSO linking patch
  147. * Tue Jun 15 2010 Alexey Kurov <nucleo@fedoraproject.org> - 4.0.1-1
  148. - ktorrent-4.0.1
  149. - fix DSO linking
  150. * Mon May 24 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.0.0-1
  151. - ktorrent-4.0.0
  152. * Thu May 06 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.0-0.4.rc1
  153. - ktorrent-4.0rc1
  154. * Mon Apr 05 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.0-0.3.beta2
  155. - ktorrent-4.0beta2
  156. * Thu Jan 28 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.0-0.2.beta1
  157. - -libs: use %%{_kde4_version}
  158. * Mon Dec 21 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.0-0.1.beta1
  159. - ktorrent-4.0beta1
  160. * Thu Dec 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.3.2-1
  161. - ktorrent-3.3.2
  162. * Mon Nov 23 2009 Roland Wolters <wolters.liste@gmx.net> - 3.3.1-1
  163. - ktorrent-3.3.1
  164. * Mon Nov 09 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.3-1
  165. - ktorrent-3.3
  166. - -libs: add/fix scriptlets, move kdelibs4 dep here
  167. * Sat Oct 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.3-0.1.rc1
  168. - ktorrent-3.3rc1
  169. * Sun Sep 27 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.4-1
  170. - ktorrent-3.2.4
  171. * Mon Aug 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.3-3
  172. - upstream tarball respin
  173. * Sun Aug 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.3-2
  174. - kde-plasma-ktorrent pkg (so main pkg doesn't pull in kdebase-workspace)
  175. - -libs to make multilib friendly
  176. * Wed Aug 12 2009 Roland Wolters <wolters.liste@gmx.net> - 3.2.3-1
  177. - ktorrent-3.2.3
  178. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-4
  179. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  180. * Tue Jul 07 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.2-3
  181. - don't use internal flags (prefer those provided by kdebase-runtime-flags)
  182. * Wed Jun 03 2009 Roland Wolters <wolters.liste@gmx.net> - 3.2.2-2
  183. - ktorrent-3.2.2
  184. * Tue May 05 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.1-3
  185. - crash adjusting speed from systray (kdebug#188447, rhbz#499147)
  186. * Wed Apr 29 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.1-2
  187. - -DWITH_SYSTEM_GEOIP=1
  188. * Mon Apr 06 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.1-1
  189. - ktorrent-3.2.1
  190. - optimize scriptlets
  191. * Thu Feb 26 2009 Roland Wolters <wolters.liste@gmx.net> - 3.2-8
  192. - Some spec file dependency fixes.
  193. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-3
  194. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  195. * Tue Feb 17 2009 Roland Wolters <wolters.liste@gmx.net> - 3.2-1
  196. - Update to new version ktorrent 3.2
  197. * Sun Feb 01 2009 Roland Wolters <wolters.liste@gmx.net> - 3.1.6-4
  198. - ktorrent-3.1.6-4
  199. * Mon Nov 17 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.1.5-1
  200. - ktorrent-3.1.5 (#469870)
  201. * Thu Oct 23 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.1.4-1
  202. - ktorrent-3.1.4 (#468233)
  203. * Tue Oct 14 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.1.3-4
  204. - KDEDInit could not launch .../ktorrent (#451559, kde#157853)
  205. * Mon Oct 13 2008 Roland Wolters <wolters.liste@gmx.net> - 3.1.3-3
  206. - Update to upstream version 3.1.3
  207. * Fri Aug 08 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.1.2-1
  208. - ktorrent-3.1.2
  209. * Sun Jul 13 2008 Roland Wolters <wolters.liste@gmx.net> - 3.1-5
  210. - Update to version 3.1
  211. * Wed May 14 2008 Roland Wolters <wolters.liste@gmx.net> - 3.0.2-3
  212. - bugfix update to version 3.0.2
  213. - some spec file fixes due to an update error
  214. * Mon Apr 28 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.0.1-4
  215. - %%postun: remove extraneous scriplets
  216. - -devel: own %%{_kde4_includedir}/libbtcore/ (and subdirs)
  217. - -devel: Requires: kdelibs4-devel
  218. - drop: Requires: oxygen-icon-theme (kde4 runtime already does)
  219. - Requires(post,postun): xdg-utils
  220. * Thu Apr 17 2008 Roland Wolters <wolters.liste@gmx.net> - 3.0.1-3
  221. - bugfix update to version 3.0.1
  222. * Tue Feb 19 2008 Roland Wolters <wolters.liste@gmx.net> - 3.0.0-7
  223. - further spec file improvements for the 3.0.0 version
  224. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.0.0-2
  225. - Autorebuild for GCC 4.3
  226. * Mon Feb 18 2008 Roland Wolters <wolters.liste@gmx.net> - 3.0.0-1
  227. - first KDE 4 build
  228. * Sun Jan 27 2008 Roland Wolters <wolters.liste@gmx.net> - 2.2.5-5
  229. - updated to bugfix version 2.2.5
  230. - fixed build-system-Qt problem in spec file
  231. * Sat Dec 01 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.4-2
  232. - changed build require from kdelibs-devel to kdelibs3-devel
  233. * Wed Nov 21 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.4-1
  234. - bugfix update to version 2.2.4
  235. * Fri Nov 16 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.3-2
  236. - fixed version number for libktorrent file (2.2.2 for now)
  237. * Thu Nov 15 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.3-1
  238. - features and bugfix update to version 2.2.3
  239. * Sun Aug 19 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.2-1
  240. - bugfix update to version 2.2.2
  241. * Thu Aug 16 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.1-3
  242. - licence tag corrected
  243. * Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> - 2.2.1-2
  244. - Rebuild for RH #249435
  245. * Tue Jul 24 2007 Roland Wolters <wolters.liste@gmx.net> 2.2.1-1
  246. - update to bugfix upstream 2.2.1
  247. * Fri Jul 06 2007 Roland Wolters <wolters.liste@gmx.net> 2.2-2
  248. - spec-file fixes re-included
  249. * Tue Jul 03 2007 Roland Wolters <wolters.liste@gmx.net> 2.2-1
  250. - update to upstream 2.2:
  251. - cleaner UI
  252. - - New file selection dialog
  253. - Statistics plugin with pretty graphs
  254. - Possibility to open as many tabs as you want
  255. - Diskspace monitoring and stopping of downloads when the diskspace
  256. drops below a certain value
  257. - Individual torrent speed limits
  258. - Full disk preallocation to avoid fragmentation
  259. * Wed Jun 13 2007 Roland Wolters <wolters.liste@gmx.net> 2.2rc1-1
  260. - update to upstream 2.2rc1
  261. * Tue Apr 03 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.1.3-1
  262. - ktorrent-2.1.3 (#235014)
  263. - optimize %%configure
  264. * Fri Mar 09 2007 Roland Wolters <wolters.liste@gmx.net> 2.1.2-2
  265. - update to upstream 2.1.2
  266. * Mon Mar 05 2007 Roland Wolters <wolters.liste@gmx.net> 2.1.1-2
  267. - update to upstream 2.1.1
  268. * Wed Feb 07 2007 Roland Wolters <wolters.liste@gmx.net> 2.1-7
  269. - spec-file adjustments
  270. * Wed Feb 07 2007 Roland Wolters <wolters.liste@gmx.net> 2.1-6
  271. - fixed plugins bug
  272. - fixed configure warnings
  273. * Tue Feb 06 2007 Roland Wolters <wolters.liste@gmx.net> 2.1-4
  274. - added avahi-devel dependecy
  275. * Mon Feb 05 2007 Roland Wolters <wolters.liste@gmx.net> 2.1-3
  276. - Update to upstream version 2.1
  277. * Fri Oct 13 2006 Roland Wolters <wolters.liste@gmx.net> 2.0.3-4
  278. - Update to upstream version 2.0.3
  279. - added znow patch for ppc
  280. * Thu Sep 07 2006 Roland Wolters <wolters.liste@gmx.net> 2.0.2-3
  281. - mass rebuild
  282. * Wed Aug 30 2006 Roland Wolters <wolters.liste@gmx.net> 2.0.2-1
  283. - minor bugfix update
  284. * Tue Aug 29 2006 Roland Wolters <wolters.liste@gmx.net> 2.0.1-3
  285. - mass rebuild
  286. * Mon Aug 21 2006 Roland Wolters <wolters.liste@gmx.net> 2.0.1-1
  287. - update to version 2.0.1
  288. * Sun Aug 20 2006 Roland Wolters <wolters.liste@gmx.net> 2.0-6
  289. - increased minor version to avoid broken update path
  290. * Mon Aug 14 2006 Roland Wolters <wolters.liste@gmx.net> 2.0-3
  291. - fixed small errors in spec file
  292. * Wed Aug 09 2006 Roland Wolters <wolters.liste@gmx.net> 2.0-1
  293. - update to version 2.0
  294. * Fri Jun 23 2006 Roland Wolters <wolters.liste@gmx.net> 1.2-6
  295. - fixed doublication error in rpm spec
  296. - spec file polishing
  297. * Fri Jun 23 2006 Roland Wolters <wolters.liste@gmx.net> 1.2-5
  298. - added %%{_datadir}/apps/ktorrent
  299. - removed redundant KTorrent in summary
  300. * Wed Jun 21 2006 Roland Wolters <wolters.liste@gmx.net> 1.2-4
  301. - changed e-mail address to correct packager address
  302. * Wed Apr 5 2006 Roland Wolters <rolandwolters@web.de> 1.2-3
  303. - corrected *.desktop files
  304. - changed icon scriplets
  305. * Wed Apr 5 2006 Roland Wolters <rolandwolters@web.de> 1.2-2
  306. - set vendor string to ""
  307. - added gtk-update-icon-cache scriplets to post and postun
  308. - added desktop-database scriplet because of MimeType in ktorrent.desktop
  309. - moved %%{_libdir}/kde3/* to main package
  310. - moved %%{_libdir}/libktorrent.so to main package
  311. - configure with disable-static and enable-shared
  312. - added %%exclude %%{_libdir}/lib*.la
  313. * Mon Apr 3 2006 Roland Wolters <rolandwolters@web.de> 1.2-1
  314. - initial packaging