kaffeine-vl.spec 10 KB

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