ktorrent-vl.spec 13 KB

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