kaffeine-vl.spec 10 KB

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