kaffeine-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. %if %{?_dist_release} != "vl5"
  2. %define kde KDE
  3. %else
  4. %define kde KDE4
  5. %endif
  6. Name: kaffeine
  7. Summary: %{kde} media player
  8. Summary(ja): %{kde} メディアプレーヤー
  9. Version: 1.2.2
  10. Release: 3%{?_dist_release}
  11. License: GPLv2+
  12. Group: Applications/Multimedia
  13. URL: http://kaffeine.kde.org/
  14. Source0: http://downloads.sourceforge.net/sourceforge/kaffeine/kaffeine-%{version}.tar.gz
  15. Source1: kaffeine.png
  16. Patch0: kaffeine-1.2.2-cmake.patch
  17. ## upstreamable patches
  18. Patch100: kaffeine-1.2.2-gcc47.patch
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. BuildRequires: desktop-file-utils
  21. BuildRequires: gettext
  22. BuildRequires: kdelibs4-devel
  23. BuildRequires: xine-lib-devel
  24. BuildRequires: libXScrnSaver-devel
  25. Requires: kdebase-runtime
  26. Requires: qt4-sqlite
  27. Obsoletes: kaffeine-libs < 1.0
  28. Obsoletes: kaffeine-devel < 1.0
  29. %description
  30. Kaffeine is a %{kde} media player.
  31. %prep
  32. %setup -q -n kaffeine-%{version}
  33. %patch0 -p1 -b .cmake
  34. %patch100 -p1 -b .gcc47
  35. %build
  36. mkdir -p %{_target_platform}
  37. pushd %{_target_platform}
  38. %cmake \
  39. -DCMAKE_BUILD_TYPE=release \
  40. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  41. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  42. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  43. ..
  44. popd
  45. make %{?_smp_mflags} -C %{_target_platform}
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  49. mv $RPM_BUILD_ROOT%{_datadir}/icons/oxygen \
  50. $RPM_BUILD_ROOT%{_datadir}/icons/hicolor
  51. mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
  52. install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/
  53. %find_lang %{name} --with-kde
  54. %check
  55. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/kaffeine.desktop
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %post
  59. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  60. %postun
  61. if [ $1 -eq 0 ] ; then
  62. update-desktop-database %{_datadir}/applications &>/dev/null
  63. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  64. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  65. fi
  66. %posttrans
  67. update-desktop-database %{_datadir}/applications &>/dev/null
  68. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  69. %files -f %{name}.lang
  70. %defattr(-,root,root,-)
  71. %doc Changelog COPYING COPYING-DOCS README
  72. %{_bindir}/kaffeine
  73. %{_bindir}/kaffeine-xbu
  74. %{_datadir}/kde4/apps/kaffeine/
  75. %{_datadir}/kde4/apps/profiles/kaffeine.profile.xml
  76. %{_datadir}/kde4/apps/solid/actions/*.desktop
  77. %{_datadir}/applications/kde4/kaffeine.desktop
  78. %{_datadir}/icons/hicolor/*/*/*
  79. %changelog
  80. * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-3
  81. - rebuild with gcc-5.4.0
  82. - add Patch0 (kaffeine-1.2.2-cmake.patch)
  83. * Thu Jan 29 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2.2-2
  84. - added Patch100 (based on git)
  85. - built on current VineSeed
  86. * Sat Jun 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.2-1
  87. - new upstream release
  88. * Sat Feb 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-2
  89. - built with KDE 4.6 for VineSeed
  90. * Thu Jan 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-1
  91. - new upstream release
  92. * Tue Jul 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-6
  93. - Initial build for Vine Linux
  94. * Sun Jul 04 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-5
  95. - changed Requires to kdebase-runtime
  96. - added kaffeine.png to fix #611273
  97. * Sun Jul 04 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-4
  98. - added Requires oxygen-icon-theme
  99. * Mon Jun 21 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-3
  100. - Unexpanded macro in kdelibs4 dependency (#606134)
  101. - remove old/unused patches
  102. * Tue Jun 01 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-2
  103. - removed Require libXss, added BR libXss-devel
  104. * Tue Jun 01 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-1
  105. - kaffeine 1.0
  106. - new dep libXss
  107. - lots of improvements and bugfixes
  108. * Thu Apr 15 2010 Thomas Janssen <thomasj@fedoraproject.org> 1.0-0.5.pre3
  109. - deinterlace-optional patch thanks to Kevin Kofler
  110. * Mon Feb 08 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.0-0.4.pre3
  111. - kaffeine-1.0-pre3
  112. - adjust summary/description: no longer phonon based (uses xine-lib)
  113. * Fri Aug 14 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0-0.3.pre2
  114. - kaffeine-1.0-pre2
  115. - update %%description/%%summary
  116. - %%check: use desktop-file-validate
  117. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-0.2.pre1
  118. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  119. * Sun Apr 26 2009 Rex Dieter <rdieter@fedoraproject.org> - 1.0-0.1.pre1
  120. - kaffeine-1.0-pre1
  121. * Sun Apr 12 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.8.7-7
  122. - re-enable dvb (#495379)
  123. * Wed Mar 18 2009 Ville Skyttä <ville.skytta at iki.fi> - 0.8.7-6
  124. - Improve icon cache and desktop database update scriptlets.
  125. - Update URL.
  126. * Fri Mar 06 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.8.7-5
  127. - s/nonfree/freeworld/
  128. - --without-dvb (f11+)
  129. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-4
  130. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  131. * Sat Aug 30 2008 Jussi Torhonen <jt at iki.fi> - 0.8.7-3
  132. - EPG and OSD patch (#452421).
  133. * Thu Aug 28 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.7-2
  134. - Unfuzz optflags patch.
  135. * Sun Jul 06 2008 Rex Dieter <rdieter@fedoraproject.org> 0.8.7-1
  136. - kaffeine-0.8.7
  137. * Thu Mar 20 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.6-4
  138. - Patch to apply $RPM_OPT_FLAGS when building DVB libs.
  139. * Fri Mar 07 2008 Rex Dieter <rdieter@fedoraproject.org> 0.8.6-3
  140. - fix deps wrt kaffeine-libs (#436442)
  141. - f7: xcb support (#373411)
  142. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.6-2
  143. - Autorebuild for GCC 4.3
  144. * Sun Jan 20 2008 Rex Dieter <rdieter@fedoraproject.org> 0.8.6-1
  145. - kaffeine-0.8.6
  146. * Sun Jan 13 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.8.5-7
  147. - Require kdelibs3-devel instead of kdelibs-devel in -devel.
  148. * Sat Dec 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-6
  149. - BR: kdelibs3-devel
  150. * Mon Oct 30 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-5
  151. - multiarch conflicts in kaffeine (#341681)
  152. * Wed Sep 19 2007 Ville Skyttä <ville.skytta at iki.fi> 0.8.5-4
  153. - Avoid autotools re-run after configure (unclean upstream tarball?)
  154. * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-3
  155. - respin (BuildID)
  156. * Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-2
  157. - License: GPLv2+
  158. - BR: libxcb-devel (really)
  159. * Mon Jul 30 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.5-1
  160. - kaffeine-0.8.5
  161. - BR: libxcb-devel
  162. * Fri Jun 08 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.4-1
  163. - kaffeine-0.8.4 (#243823)
  164. * Thu Jan 18 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.8.3-4
  165. - disable gst08 support (for now), it's been orphaned
  166. * Wed Nov 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.3-3
  167. - less globbing in %%files
  168. * Wed Nov 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.3-2
  169. - include libkaffeinepart.so in main pkg, not -devel (bug #217835)
  170. * Sun Nov 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.3-1
  171. - 0.8.3
  172. * Sat Nov 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-6
  173. - %%doc README
  174. * Fri Nov 03 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-5
  175. - fix chmod so it actually works.
  176. * Thu Nov 02 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-4
  177. - chmod -x AUTHORS ChangeLog TODO
  178. - use rel symlinks under %%_docdir
  179. * Wed Nov 01 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-3
  180. - update %%description to not mention any specific mm containers
  181. (like AVI, WMV).
  182. * Wed Nov 01 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-2
  183. - fixup for Extras
  184. - support building kaffeine-extras-nonfree for that other repo.
  185. * Tue Sep 12 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.2-1
  186. - 0.8.2
  187. * Thu Aug 10 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-5
  188. - for kdelibs >= 3.5.4, omit
  189. /usr/share/mimelnk/application/x-mplayer2.desktop (lvn bug #1132)
  190. * Thu May 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-4
  191. - BR: libXtst-devel libXinerama-devel (fc5+)
  192. * Tue Apr 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-3
  193. - (re)enable gstreamer support (fc3+)
  194. * Mon Apr 24 2006 Rex Dieter <rexdieter[AT]users.sf.net. 0.8.1-2
  195. - avoid re-auto'ing thing, breaks locale/po-files
  196. * Mon Apr 03 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.8.1-1
  197. - 0.8.1
  198. - cdda patch (upsgream bug #1463542)
  199. * Sat Mar 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.1-4
  200. - drop --vendor=livna
  201. - fdo icon spec fix
  202. - kaffeine-0.7.x-CVE-2006-0051.patch
  203. * Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  204. - switch to new release field
  205. * Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  206. - add dist
  207. * Thu Nov 03 2005 Rex Dieter <rexdieter[AT]users.sf.net> - 0.7.1-0.lvn.3
  208. - update-desktop-database (#645)
  209. - -devel pkg (#645)
  210. - -gstreamer subpkg, marked experimental (due to upstream #1254363)
  211. - omit -desktop patch (#645)
  212. - use desktop-file-install (#645)
  213. * Wed Sep 7 2005 Thorsten Leemhuis <fedora at leemhuis.info> - 0:0.7.1-0.lvn.2
  214. - configure with --with-qt-libraries=${QTDIR}/lib to fix build on x86_64
  215. * Sun Sep 4 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.1-0.lvn.1
  216. - 0.7.1, gcc visibility hack no longer needed.
  217. * Mon Aug 8 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7-0.lvn.1
  218. - 0.7, now with DVB support (FC4+ only).
  219. - GStreamer support disabled by default due to upstream #1254363, rebuild
  220. with "--with gstreamer" to enable.
  221. - Quick and dirty workaround for upstream #1253989.
  222. * Sun Mar 20 2005 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6-0.lvn.1
  223. - 0.6.
  224. * Thu Dec 23 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5-0.lvn.1
  225. - Update to 0.5.
  226. * Fri Nov 5 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5-0.lvn.0.1.rc2
  227. - Update to 0.5rc2.
  228. * Sun Oct 3 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.5-0.lvn.0.1.rc1
  229. - Update to 0.5rc1.
  230. - Requires KDE >= 3.2 -> FC2 only -> make some related cleanups.
  231. - Purge libselinux workarounds, no longer needed.
  232. - Improve GNOME HIG compliance of desktop entry, sync with KPlayer (bug 173).
  233. - Disable dependency tracking to speed up the build.
  234. - Provide -devel.
  235. * Sat May 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.3-0.lvn.1.b
  236. - Update to 0.4.3b.
  237. - Add workaround for https://bugzilla.redhat.com/123853
  238. * Mon May 3 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.3-0.lvn.1
  239. - Update to 0.4.3.
  240. * Wed Mar 24 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.2-0.lvn.1
  241. - Update to 0.4.2.
  242. * Sat Jan 17 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4.1-0.lvn.1
  243. - Update to 0.4.1, patches applied upstream.
  244. - Update description.
  245. * Mon Nov 17 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.4-0.lvn.1
  246. - Update to 0.4.
  247. - Disable rpath.
  248. - Add Gnome icon.
  249. * Tue Jul 29 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.3.2-0.fdr.2
  250. - Own directories under %%{_datadir}/icons.
  251. * Tue Jul 8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.3.2-0.fdr.1
  252. - First build.