kaffeine-vl.spec 10 KB

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