kaffeine-vl.spec 11 KB

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