ktorrent-vl.spec 13 KB

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