ktorrent-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424
  1. Name: ktorrent
  2. Summary: A BitTorrent program
  3. Summary(ja): BitTorrent クライアント
  4. Version: 4.3.1
  5. Release: 2%{?_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. * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.1-2
  132. - rebuild with gcc-5.4.0
  133. * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.1-1
  134. - new upstream release
  135. - add Patch0 (ktorrent-4.3.1-vine.patch)
  136. * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.0-1
  137. - new upstream release
  138. * Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.2.1-1
  139. - new upstream release
  140. * Sun Oct 2 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.1.2-1
  141. - new upstream release
  142. * Sun May 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.0.5-2
  143. - add BuildRequires: soprano-devel
  144. * Wed Jan 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.0.5-1
  145. - Initial build for Vine Linux
  146. * Thu Jul 8 2010 Alexey Kurov <nucleo@fedoraproject.org> - 4.0.2-1
  147. - ktorrent-4.0.2
  148. - drop DSO linking patch
  149. * Tue Jun 15 2010 Alexey Kurov <nucleo@fedoraproject.org> - 4.0.1-1
  150. - ktorrent-4.0.1
  151. - fix DSO linking
  152. * Mon May 24 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.0.0-1
  153. - ktorrent-4.0.0
  154. * Thu May 06 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.0-0.4.rc1
  155. - ktorrent-4.0rc1
  156. * Mon Apr 05 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.0-0.3.beta2
  157. - ktorrent-4.0beta2
  158. * Thu Jan 28 2010 Rex Dieter <rdieter@fedoraproject.org> - 4.0-0.2.beta1
  159. - -libs: use %%{_kde4_version}
  160. * Mon Dec 21 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.0-0.1.beta1
  161. - ktorrent-4.0beta1
  162. * Thu Dec 17 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.3.2-1
  163. - ktorrent-3.3.2
  164. * Mon Nov 23 2009 Roland Wolters <wolters.liste@gmx.net> - 3.3.1-1
  165. - ktorrent-3.3.1
  166. * Mon Nov 09 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.3-1
  167. - ktorrent-3.3
  168. - -libs: add/fix scriptlets, move kdelibs4 dep here
  169. * Sat Oct 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.3-0.1.rc1
  170. - ktorrent-3.3rc1
  171. * Sun Sep 27 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.4-1
  172. - ktorrent-3.2.4
  173. * Mon Aug 24 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.3-3
  174. - upstream tarball respin
  175. * Sun Aug 23 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.3-2
  176. - kde-plasma-ktorrent pkg (so main pkg doesn't pull in kdebase-workspace)
  177. - -libs to make multilib friendly
  178. * Wed Aug 12 2009 Roland Wolters <wolters.liste@gmx.net> - 3.2.3-1
  179. - ktorrent-3.2.3
  180. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-4
  181. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  182. * Tue Jul 07 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.2-3
  183. - don't use internal flags (prefer those provided by kdebase-runtime-flags)
  184. * Wed Jun 03 2009 Roland Wolters <wolters.liste@gmx.net> - 3.2.2-2
  185. - ktorrent-3.2.2
  186. * Tue May 05 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.1-3
  187. - crash adjusting speed from systray (kdebug#188447, rhbz#499147)
  188. * Wed Apr 29 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.1-2
  189. - -DWITH_SYSTEM_GEOIP=1
  190. * Mon Apr 06 2009 Rex Dieter <rdieter@fedoraproject.org> - 3.2.1-1
  191. - ktorrent-3.2.1
  192. - optimize scriptlets
  193. * Thu Feb 26 2009 Roland Wolters <wolters.liste@gmx.net> - 3.2-8
  194. - Some spec file dependency fixes.
  195. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-3
  196. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  197. * Tue Feb 17 2009 Roland Wolters <wolters.liste@gmx.net> - 3.2-1
  198. - Update to new version ktorrent 3.2
  199. * Sun Feb 01 2009 Roland Wolters <wolters.liste@gmx.net> - 3.1.6-4
  200. - ktorrent-3.1.6-4
  201. * Mon Nov 17 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.1.5-1
  202. - ktorrent-3.1.5 (#469870)
  203. * Thu Oct 23 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.1.4-1
  204. - ktorrent-3.1.4 (#468233)
  205. * Tue Oct 14 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.1.3-4
  206. - KDEDInit could not launch .../ktorrent (#451559, kde#157853)
  207. * Mon Oct 13 2008 Roland Wolters <wolters.liste@gmx.net> - 3.1.3-3
  208. - Update to upstream version 3.1.3
  209. * Fri Aug 08 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.1.2-1
  210. - ktorrent-3.1.2
  211. * Sun Jul 13 2008 Roland Wolters <wolters.liste@gmx.net> - 3.1-5
  212. - Update to version 3.1
  213. * Wed May 14 2008 Roland Wolters <wolters.liste@gmx.net> - 3.0.2-3
  214. - bugfix update to version 3.0.2
  215. - some spec file fixes due to an update error
  216. * Mon Apr 28 2008 Rex Dieter <rdieter@fedoraproject.org> - 3.0.1-4
  217. - %%postun: remove extraneous scriplets
  218. - -devel: own %%{_kde4_includedir}/libbtcore/ (and subdirs)
  219. - -devel: Requires: kdelibs4-devel
  220. - drop: Requires: oxygen-icon-theme (kde4 runtime already does)
  221. - Requires(post,postun): xdg-utils
  222. * Thu Apr 17 2008 Roland Wolters <wolters.liste@gmx.net> - 3.0.1-3
  223. - bugfix update to version 3.0.1
  224. * Tue Feb 19 2008 Roland Wolters <wolters.liste@gmx.net> - 3.0.0-7
  225. - further spec file improvements for the 3.0.0 version
  226. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.0.0-2
  227. - Autorebuild for GCC 4.3
  228. * Mon Feb 18 2008 Roland Wolters <wolters.liste@gmx.net> - 3.0.0-1
  229. - first KDE 4 build
  230. * Sun Jan 27 2008 Roland Wolters <wolters.liste@gmx.net> - 2.2.5-5
  231. - updated to bugfix version 2.2.5
  232. - fixed build-system-Qt problem in spec file
  233. * Sat Dec 01 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.4-2
  234. - changed build require from kdelibs-devel to kdelibs3-devel
  235. * Wed Nov 21 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.4-1
  236. - bugfix update to version 2.2.4
  237. * Fri Nov 16 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.3-2
  238. - fixed version number for libktorrent file (2.2.2 for now)
  239. * Thu Nov 15 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.3-1
  240. - features and bugfix update to version 2.2.3
  241. * Sun Aug 19 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.2-1
  242. - bugfix update to version 2.2.2
  243. * Thu Aug 16 2007 Roland Wolters <wolters.liste@gmx.net> - 2.2.1-3
  244. - licence tag corrected
  245. * Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> - 2.2.1-2
  246. - Rebuild for RH #249435
  247. * Tue Jul 24 2007 Roland Wolters <wolters.liste@gmx.net> 2.2.1-1
  248. - update to bugfix upstream 2.2.1
  249. * Fri Jul 06 2007 Roland Wolters <wolters.liste@gmx.net> 2.2-2
  250. - spec-file fixes re-included
  251. * Tue Jul 03 2007 Roland Wolters <wolters.liste@gmx.net> 2.2-1
  252. - update to upstream 2.2:
  253. - cleaner UI
  254. - - New file selection dialog
  255. - Statistics plugin with pretty graphs
  256. - Possibility to open as many tabs as you want
  257. - Diskspace monitoring and stopping of downloads when the diskspace
  258. drops below a certain value
  259. - Individual torrent speed limits
  260. - Full disk preallocation to avoid fragmentation
  261. * Wed Jun 13 2007 Roland Wolters <wolters.liste@gmx.net> 2.2rc1-1
  262. - update to upstream 2.2rc1
  263. * Tue Apr 03 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.1.3-1
  264. - ktorrent-2.1.3 (#235014)
  265. - optimize %%configure
  266. * Fri Mar 09 2007 Roland Wolters <wolters.liste@gmx.net> 2.1.2-2
  267. - update to upstream 2.1.2
  268. * Mon Mar 05 2007 Roland Wolters <wolters.liste@gmx.net> 2.1.1-2
  269. - update to upstream 2.1.1
  270. * Wed Feb 07 2007 Roland Wolters <wolters.liste@gmx.net> 2.1-7
  271. - spec-file adjustments
  272. * Wed Feb 07 2007 Roland Wolters <wolters.liste@gmx.net> 2.1-6
  273. - fixed plugins bug
  274. - fixed configure warnings
  275. * Tue Feb 06 2007 Roland Wolters <wolters.liste@gmx.net> 2.1-4
  276. - added avahi-devel dependecy
  277. * Mon Feb 05 2007 Roland Wolters <wolters.liste@gmx.net> 2.1-3
  278. - Update to upstream version 2.1
  279. * Fri Oct 13 2006 Roland Wolters <wolters.liste@gmx.net> 2.0.3-4
  280. - Update to upstream version 2.0.3
  281. - added znow patch for ppc
  282. * Thu Sep 07 2006 Roland Wolters <wolters.liste@gmx.net> 2.0.2-3
  283. - mass rebuild
  284. * Wed Aug 30 2006 Roland Wolters <wolters.liste@gmx.net> 2.0.2-1
  285. - minor bugfix update
  286. * Tue Aug 29 2006 Roland Wolters <wolters.liste@gmx.net> 2.0.1-3
  287. - mass rebuild
  288. * Mon Aug 21 2006 Roland Wolters <wolters.liste@gmx.net> 2.0.1-1
  289. - update to version 2.0.1
  290. * Sun Aug 20 2006 Roland Wolters <wolters.liste@gmx.net> 2.0-6
  291. - increased minor version to avoid broken update path
  292. * Mon Aug 14 2006 Roland Wolters <wolters.liste@gmx.net> 2.0-3
  293. - fixed small errors in spec file
  294. * Wed Aug 09 2006 Roland Wolters <wolters.liste@gmx.net> 2.0-1
  295. - update to version 2.0
  296. * Fri Jun 23 2006 Roland Wolters <wolters.liste@gmx.net> 1.2-6
  297. - fixed doublication error in rpm spec
  298. - spec file polishing
  299. * Fri Jun 23 2006 Roland Wolters <wolters.liste@gmx.net> 1.2-5
  300. - added %%{_datadir}/apps/ktorrent
  301. - removed redundant KTorrent in summary
  302. * Wed Jun 21 2006 Roland Wolters <wolters.liste@gmx.net> 1.2-4
  303. - changed e-mail address to correct packager address
  304. * Wed Apr 5 2006 Roland Wolters <rolandwolters@web.de> 1.2-3
  305. - corrected *.desktop files
  306. - changed icon scriplets
  307. * Wed Apr 5 2006 Roland Wolters <rolandwolters@web.de> 1.2-2
  308. - set vendor string to ""
  309. - added gtk-update-icon-cache scriplets to post and postun
  310. - added desktop-database scriplet because of MimeType in ktorrent.desktop
  311. - moved %%{_libdir}/kde3/* to main package
  312. - moved %%{_libdir}/libktorrent.so to main package
  313. - configure with disable-static and enable-shared
  314. - added %%exclude %%{_libdir}/lib*.la
  315. * Mon Apr 3 2006 Roland Wolters <rolandwolters@web.de> 1.2-1
  316. - initial packaging