kdeplasma-addons-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. Name: kdeplasma-addons
  2. Version: 4.3.3
  3. Release: 2%{?_dist_release}
  4. Summary: Additional plasmoids for KDE
  5. Group: User Interface/Desktops
  6. License: GPLv2
  7. URL: http://www.kde.org/
  8. Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdeplasma-addons-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. ## upstreamable patches
  11. # disable contacts krunner that induces mostly needless kres-migrator and
  12. # akonadi launch on first login
  13. Patch51: kdeplasma-addons-4.2.2-krunner_contacts_not_enabledbydefault.patch
  14. ## upstream patches
  15. BuildRequires: libboost-devel
  16. BuildRequires: eigen2-devel
  17. BuildRequires: gettext
  18. BuildRequires: kdepimlibs-devel >= %{version}
  19. # for libplasmaclock, nepomuk
  20. BuildRequires: kdebase-workspace-devel >= %{version}
  21. # Lancelot build-deps kdebase-workspace, which contains
  22. # /usr/share/dbus-1/interfaces/org.freedesktop.ScreenSaver.xml
  23. BuildRequires: kdebase-workspace >= %{version}
  24. # RECOMMENDED: Marble is used to provide a desktop globe wallpaper for Plasma.
  25. BuildRequires: kdeedu-devel >= %{version}
  26. # Optional (but recommended), enables automatic rotation for frame applet
  27. #BuildRequires: libkexiv2-devel >= 0.4.0
  28. BuildRequires: kdegraphics-devel >= %{version}
  29. # lancelot eye-candy
  30. BuildRequires: libXcomposite-devel libXrender-devel libXdamage-devel
  31. BuildRequires: qimageblitz-devel
  32. BuildRequires: soprano-devel
  33. Requires: %{name}-libs = %{version}-%{release}
  34. # when -libs was introduced
  35. Obsoletes: kdeplasma-addons < 4.3.0-3
  36. # most of former kdeaddons for KDE3 is now here
  37. Obsoletes: kdeaddons < 4
  38. %description
  39. Additional plasmoids for KDE.
  40. %package libs
  41. Summary: Runtime libraries for %{name}
  42. Group: System Environment/Libraries
  43. Requires: %{name} = %{version}-%{release}
  44. Requires: kdelibs4 >= %{version}
  45. %description libs
  46. %{summary}.
  47. %prep
  48. %setup -q -n kdeplasma-addons-%{version}
  49. %patch51 -p1 -b .krunner_contacts_not_enabledbydefault
  50. %build
  51. mkdir -p %{_target_platform}
  52. pushd %{_target_platform}
  53. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  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. ..
  63. popd
  64. make %{?_smp_mflags} -C %{_target_platform}
  65. %install
  66. rm -rf %{buildroot}
  67. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  68. # unpackaged files
  69. # omit shlib symlinks
  70. rm -f %{buildroot}%{_libdir}/libplasma*.so
  71. rm -f %{buildroot}%{_libdir}/lib{ocsclient,rtm}.so
  72. # lancelot-devel
  73. rm -f %{buildroot}%{_libdir}/liblancelot*.so
  74. rm -rf %{buildroot}%{_includedir}/kde4/lancelot
  75. # conversion-devel
  76. rm -rf %{buildroot}%{_includedir}/kde4/conversion
  77. rm -f %{buildroot}%{_libdir}/libconversion.so
  78. rm -f %{buildroot}%{_datadir}/kde4/apps/cmake/modules/FindConversion.cmake
  79. %post
  80. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  81. %posttrans
  82. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  83. %postun
  84. if [ $1 -eq 0 ] ; then
  85. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  86. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  87. fi
  88. %post libs -p /sbin/ldconfig
  89. %postun libs -p /sbin/ldconfig
  90. %clean
  91. rm -rf %{buildroot}
  92. %files
  93. %defattr(-,root,root,-)
  94. %doc COPYING COPYING.LIB
  95. %{_bindir}/lancelot
  96. %{_libdir}/kde4/*.so
  97. %{_datadir}/kde4/apps/bball/
  98. %{_datadir}/kde4/apps/desktoptheme/*
  99. %{_datadir}/kde4/apps/lancelot/
  100. %{_datadir}/kde4/apps/plasma/services/*
  101. %{_datadir}/kde4/apps/plasma-applet-frame/
  102. %{_datadir}/kde4/apps/plasma-applet-opendesktop/
  103. %{_datadir}/kde4/apps/plasma_pastebin/
  104. %{_datadir}/kde4/apps/plasma_wallpaper_pattern/
  105. %{_datadir}/kde4/apps/rssnow/
  106. %{_datadir}/config/*.knsrc
  107. %{_datadir}/kde4/services/*.desktop
  108. %{_datadir}/kde4/services/ServiceMenus/*.desktop
  109. %{_datadir}/kde4/servicetypes/*.desktop
  110. %{_datadir}/mime/packages/lancelotpart-mime.xml
  111. %{_datadir}/dbus-1/services/org.kde.lancelot.service
  112. %{_datadir}/icons/hicolor/*/*/*
  113. #{_datadir}/icons/oxygen/*/*/*
  114. %files libs
  115. %defattr(-,root,root,-)
  116. %{_libdir}/libconversion.so.*
  117. %{_libdir}/libocsclient.so.*
  118. %{_libdir}/liblancelot.so.*
  119. %{_libdir}/libplasmapotdprovidercore.so.*
  120. %{_libdir}/libplasmacomicprovidercore.so.*
  121. %{_libdir}/libplasmaweather.so.*
  122. %{_libdir}/librtm.so.*
  123. %changelog
  124. * Mon Dec 14 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.3.3-2
  125. - Lancelot build-deps kdebase-workspace, which contains
  126. /usr/share/dbus-1/interfaces/org.freedesktop.ScreenSaver.xml
  127. * Wed Nov 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.3-1
  128. - new upstream release
  129. * Tue Oct 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.2-2
  130. - just +1 release number (4.3.2-1vl5 was broken in putting)
  131. * Mon Oct 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.2-1
  132. - new upstream release
  133. * Sun Sep 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.1-1
  134. - new upstream release
  135. - added BR: eigen2-devel
  136. * Sun Aug 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.3.0-6
  137. - Initial build for Vine Linux
  138. * Tue Aug 04 2009 Than Ngo <than@redhat.com> - 4.3.0-5
  139. - respin
  140. * Mon Aug 03 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.3.0-4
  141. - fix microblog post crasher (kdebug#202364)
  142. * Mon Aug 03 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.3.0-3
  143. - -libs subpkg to sanitize multilib
  144. * Sun Aug 02 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.3.0-2
  145. - fix to allow updating of status via microblog plasmoid
  146. * Thu Jul 30 2009 Than Ngo <than@redhat.com> - 4.3.0-1
  147. - 4.3.0
  148. * Wed Jul 22 2009 Than Ngo <than@redhat.com> - 4.2.98-1
  149. - 4.3rc3
  150. * Thu Jul 16 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.2.96-2
  151. - BR: libXcomposite-devel (lancelot eye-candy)
  152. * Sun Jul 12 2009 Than Ngo <than@redhat.com> - 4.2.96-1
  153. - 4.3rc2
  154. * Fri Jun 26 2009 Than Ngo <than@redhat.com> - 4.2.95-1
  155. - 4.3rc1
  156. * Thu Jun 04 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.2.90-1
  157. - KDE-4.3 beta2 (4.2.90)
  158. * Mon May 25 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.2.85-4
  159. - BR: eigen2-devel soprano-devel
  160. * Tue May 19 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 4.2.85-3
  161. - BR kdeedu-devel (for Marble)
  162. * Sun May 17 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 4.2.85-2
  163. - Obsoletes/Provides: kde-plasma-weather
  164. * Wed May 13 2009 Lukáš Tinkl <ltinkl@redhat.com> - 4.2.85-1
  165. - KDE 4.3 beta 1
  166. * Thu Apr 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.2.2-3
  167. - disable contacts krunner by default
  168. * Wed Apr 01 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.2.2-2
  169. - optimize scriptlets
  170. * Tue Mar 31 2009 Lukáš Tinkl <ltinkl@redhat.com> - 4.2.2-1
  171. - KDE 4.2.2
  172. * Mon Mar 16 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.2.1-3
  173. - make bball applet work, ship .svg instead of .svgz (kdebug#185568)
  174. - use new %%_qt45 macro
  175. - spec housecleaning
  176. * Fri Mar 13 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 4.2.1-2
  177. - fix Lancelot rendering issues with Qt 4.5 (F11+ only, as the effect of that
  178. patch with 4.4.3 is unknown)
  179. * Fri Feb 27 2009 Than Ngo <than@redhat.com> - 4.2.1-1
  180. - 4.2.1
  181. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-2
  182. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  183. * Thu Jan 22 2009 Than Ngo <than@redhat.com> - 4.2.0-1
  184. - 4.2.0
  185. * Wed Jan 07 2009 Than Ngo <than@redhat.com> - 4.1.96-1
  186. - 4.2rc1
  187. * Tue Dec 16 2008 Rex Dieter <rdieter@fedoraproject.org> 4.1.85-2
  188. - saner versioned Obsoletes
  189. * Fri Dec 12 2008 Than Ngo <than@redhat.com> 4.1.85-1
  190. - 4.2beta2
  191. * Tue Dec 02 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.1.80-3
  192. - BR plasma-devel
  193. - add Provides: kde-plasma-lancelot
  194. - fix file list
  195. - BR libkexiv2-devel >= 0.4.0 on F10+
  196. * Thu Nov 20 2008 Than Ngo <than@redhat.com> 4.1.80-2
  197. - merged
  198. - add Obsoletes: kde-plasma-lancelot
  199. * Thu Nov 20 2008 Lorenzo Villani <lvillani@binaryhelix.net> - 4.1.80-1
  200. - 4.1.80
  201. - BR cmake >= 2.6.2
  202. - make install/fast
  203. * Wed Nov 12 2008 Than Ngo <than@redhat.com> 4.1.3-1
  204. - 4.1.3
  205. * Mon Sep 29 2008 Rex Dieter <rdieter@fedoraproject.org> 4.1.2-2
  206. - make VERBOSE=1
  207. - respin against new(er) kde-filesystem
  208. * Fri Sep 26 2008 Rex Dieter <rdieter@fedoraproject.org> 4.1.2-1
  209. - 4.1.2
  210. * Fri Aug 29 2008 Than Ngo <than@redhat.com> 4.1.1-1
  211. - 4.1.1
  212. * Wed Jul 23 2008 Than Ngo <than@redhat.com> 4.1.0-1
  213. - 4.1.0
  214. * Fri Jul 18 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.99-1
  215. - 4.0.99
  216. * Thu Jul 17 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.98-2
  217. - kdeplasma-addons rename
  218. * Fri Jul 11 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.98-1
  219. - 4.0.98
  220. * Thu Jul 10 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.85-2
  221. - Provides: kdeplasma-addons
  222. * Sun Jul 06 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.85-1
  223. - 4.0.85
  224. * Fri Jun 27 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.84-1
  225. - 4.0.84
  226. * Fri Jun 20 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.83-2
  227. - add ldconfig to scriptlets
  228. * Thu Jun 19 2008 Than Ngo <than@redhat.com> 4.0.83-1
  229. - 4.0.83 (beta2)
  230. * Sun Jun 15 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.82-1
  231. - kdeplasmoids-4.0.82
  232. * Tue May 27 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.80-2
  233. - add missing BR openldap-devel
  234. - update file list, add icon scriptlets
  235. * Mon May 26 2008 Than Ngo <than@redhat.com> 4.0.80-1
  236. - 4.1 beta 1
  237. * Wed May 07 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.72-0.1.20080506svn804581
  238. - update to revision 804581 from KDE SVN (to match KDE 4.0.72)
  239. - add COPYING and COPYING.LIB as %%doc
  240. - update file list
  241. * Thu Apr 03 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.1-5
  242. - rebuild (again) for the fixed %%{_kde4_buildtype}
  243. * Mon Mar 31 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.1-4
  244. - rebuild for NDEBUG and _kde4_libexecdir
  245. * Tue Mar 04 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.1-3
  246. - disable broken bluemarble applet (crashes Plasma when no OpenGL, #435656)
  247. * Tue Mar 04 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.1-2
  248. - rebuild against KDE 4.0.2 (mainly to make sure it still builds)
  249. * Thu Jan 31 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.1-1
  250. - kde-4.0.1
  251. * Tue Jan 08 2008 Sebastian Vahl <fedora@deadbabylon.de> 4.0.0-1
  252. - kde-4.0.0
  253. * Tue Dec 11 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.97.0-3
  254. - add versioned obsolete kdeaddons
  255. * Tue Dec 11 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.97.0-2
  256. - package language files properly (by RexDieter)
  257. - Obsolete: kdeaddons
  258. * Tue Dec 11 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.97.0-1
  259. - kde 3.97.0
  260. - removed some BRs which are in kdelibs4-devel now
  261. - BR: gettext
  262. * Sun Dec 02 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.96.2-2
  263. - update %%summary and %%description
  264. - cleanup spec
  265. - removed unneeded Requires
  266. * Sun Dec 02 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.96.2-1
  267. - kde-3.96.2
  268. * Tue Nov 27 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.96.1-1
  269. - kde-3.96.1
  270. * Mon Nov 19 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.96.0-3
  271. - BR: kde-filesystem >= 4
  272. * Mon Nov 19 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.96.0-2
  273. - BR: libxkbfile-devel
  274. - BR: libXpm-devel
  275. - BR: libXv-devel
  276. - BR: libXxf86misc-devel
  277. - BR: libXScrnSaver-devel
  278. - BR: libXtst-devel
  279. - BR: kdepimlibs-devel
  280. - BR: qimageblitz-devel
  281. - explicit require kdelibs, kdepimlibs and kdeworkspace >= version
  282. - add require kde4-macro scriplet
  283. * Thu Nov 15 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.96.0-1
  284. - Initial version for Fedora