gecko-mediaplayer-vl.spec 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. %global with_my_japo 0
  2. #% global svnrevision 513
  3. #% global rcversion 3
  4. %global pretestversion b
  5. Name: gecko-mediaplayer
  6. Version: 1.0.9
  7. Release: 2%{?pretestversion:.%pretestversion}%{?svnrevision:.svn%svnrevision}%{?rcversion:.rc%rcversion}%{?_dist_release}
  8. Summary: Gnome MPlayer browser plugin
  9. Summary(ja): Gnome MPlayer の Web ブラウザ用プラグイン
  10. Group: Applications/Multimedia
  11. License: GPLv2+
  12. URL: http://kdekorte.googlepages.com/gecko-mediaplayer
  13. Source0: http://gecko-mediaplayer.googlecode.com/files/%{name}-%{version}%{?pretestversion:%pretestversion}%{?svnrevision:.svn%svnrevision}%{?rcversion:.rc%rcversion}.tar.%{?svnrevision:xz}%{!?svnrevision:gz}
  14. Source10: gecko-mediaplayer-snapshot.sh
  15. ## vine
  16. %if %{with_my_japo}
  17. Source100: gecko-mediaplayer-1.0.6b1-ja.po
  18. %endif
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  20. BuildRequires: gmtk-devel >= 1.0.5
  21. BuildRequires: dbus-glib-devel
  22. BuildRequires: GConf2-devel
  23. BuildRequires: curl-devel
  24. BuildRequires: gettext
  25. BuildRequires: libX11-devel
  26. #BuildRequires: gecko-devel
  27. BuildRequires: xulrunner-devel >= 1.9.2
  28. #Requires: firefox >= 3.5
  29. #Requires: %{_libdir}/mozilla/plugins
  30. Requires: gnome-mplayer >= %{version}
  31. Requires(pre): GConf2
  32. Requires(post): GConf2
  33. Requires(preun): GConf2
  34. Obsoletes: mplayerplug-in <= 3.55
  35. Distribution: Vine Linux
  36. Vendor: Project Vine
  37. Packager: munepi
  38. %description
  39. Gecko Media Player is a browser plugin that uses GNOME MPlayer to play media in
  40. a browser. It should work with all browsers on Unix-ish systems(Linux, BSD,
  41. Solaris) and use the NS4 API (Mozilla, Firefox, Opera, etc.).
  42. %description -l ja
  43. Gecko Media Player は Web ブラウザ上でメディアを再生するために
  44. GNOME MPlayer を使う Web ブラウザ用プラグインです.
  45. Unix-ish なシステム(Linux, BSD, Solaris)上のすべてのブラウザで
  46. 動作するはずで,NS4 API(Mozilla, Firefox, Opera など)を使います.
  47. %prep
  48. #% setup -q %{?rcversion:-n %{name}-%{version}.rc%{rcversion}}
  49. %setup -q %{?pretestversion:-n %{name}-%{version}%pretestversion}
  50. ## vine
  51. %if %{with_my_japo}
  52. %__install -m644 %{SOURCE100} po/ja.po
  53. %endif
  54. %build
  55. %configure \
  56. --enable-new-libxul \
  57. \
  58. --with-libcurl \
  59. ;
  60. %__make %{?_smp_mflags}
  61. %install
  62. %__rm -rf $RPM_BUILD_ROOT
  63. #export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  64. %__make install DESTDIR=$RPM_BUILD_ROOT
  65. %find_lang %{name}
  66. #remove intrusive docs
  67. %__rm -rf $RPM_BUILD_ROOT%{_docdir}/gecko-mediaplayer
  68. # %pre
  69. # if [ "$1" -gt 1 ]; then
  70. # export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  71. # gconftool-2 --makefile-uninstall-rule \
  72. # %{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas >/dev/null || :
  73. # # If the schema file has ever been renamed::
  74. # #gconftool-2 --makefile-uninstall-rule \
  75. # # %{_sysconfdir}/gconf/schemas/[OLDNAME].schemas > /dev/null || :
  76. # fi
  77. # %post
  78. # export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  79. # gconftool-2 --makefile-install-rule \
  80. # %{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas > /dev/null || :
  81. # %preun
  82. # if [ "$1" -eq 0 ]; then
  83. # export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  84. # gconftool-2 --makefile-uninstall-rule \
  85. # %{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas > /dev/null || :
  86. # fi
  87. %clean
  88. %__rm -rf $RPM_BUILD_ROOT
  89. %files -f %{name}.lang
  90. %defattr(-,root,root,-)
  91. %doc COPYING ChangeLog
  92. #%{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas
  93. %{_libdir}/mozilla/plugins/gecko-mediaplayer-dvx.so
  94. %{_libdir}/mozilla/plugins/gecko-mediaplayer-qt.so
  95. %{_libdir}/mozilla/plugins/gecko-mediaplayer-rm.so
  96. %{_libdir}/mozilla/plugins/gecko-mediaplayer-wmp.so
  97. %{_libdir}/mozilla/plugins/gecko-mediaplayer.so
  98. %changelog
  99. * Fri Jan 2 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.9-2.b
  100. - updated to 1.0.9b; this is the second alpha version
  101. * Tue Sep 17 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.9-1.a
  102. - updated to 1.0.9a; this is first alpha version
  103. * Thu Mar 7 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.8-2
  104. - new upstream release
  105. * Wed Feb 20 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.8-1.b
  106. - updated to 1.0.8b (beta)
  107. * Thu Nov 1 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.7-1
  108. - new upstream release
  109. * Mon Apr 16 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.6-3
  110. - new upstream release
  111. * Thu Apr 5 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.6-2.b1
  112. - updated ja.po
  113. * Sat Mar 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.6-1.b1
  114. - new upstream release
  115. * Fri Dec 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-1
  116. - new upstream release
  117. * Sat Oct 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-1.b1.svn477
  118. - source 1.0.5b1
  119. - updated ja.po
  120. - added BuildRequires: gmtk-devel >= 1.0.5
  121. * Sun Sep 25 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-4
  122. - rebuilt with libnotify-0.7.4
  123. * Mon Jul 04 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-3
  124. - new upstream release
  125. * Fri Jun 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-2.b2
  126. - source 1.0.4b2
  127. * Mon Jun 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-1.b1.svn450
  128. - source snapshot 1.0.4b1.svn450
  129. - do not use gconf
  130. * Fri Apr 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-3
  131. - new upstream release
  132. * Thu Apr 21 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-2.beta.svn432
  133. - dropped Requires: firefox
  134. * Sun Apr 17 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-1.beta.svn432
  135. - source snapshot 1.0.3beta r432
  136. * Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.0-1
  137. - new upstream release
  138. * Tue Oct 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.99-2.rc3
  139. - source 0.9.99.rc3
  140. * Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.99-1.rc1
  141. - source 0.9.99.rc1
  142. * Thu Mar 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9.2-1
  143. - new upstream release
  144. * Sat Feb 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-2
  145. - new upstream release
  146. * Thu Jan 28 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-1.svn347
  147. - source snapshot r355
  148. * Sat Jan 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-3.svn347
  149. - source snapshot r347
  150. - fixed compile with libxul-1.9.2 or higher (r347, r338)
  151. - fixed crash on Apple site (r345)
  152. - added video/xmng, video/x-ms-asx minetypes (r344, r335)
  153. - added gecko-mediaplayer-snapshot.sh
  154. * Sat Jan 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-2
  155. - dropped BuildRequires: xulrunner-devel-unstable
  156. * Sun Sep 20 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-1
  157. - new upstream release
  158. * Sat Aug 22 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.7-1
  159. - new upstream release
  160. * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.6-2
  161. - added Requires: firefox >= 3.0
  162. - require %%{_libdir}/mozilla/plugins
  163. - dropped Requires: %%{_libdir}/mozilla/plugins
  164. * Sat Jun 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.6-1
  165. - new upstream release
  166. * Sun Mar 15 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.5-1
  167. - new upstream release
  168. * Fri Feb 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.4-1
  169. - initial build
  170. - added ja.po
  171. * Wed Feb 4 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.4-1
  172. - Updated to 0.9.4, no more xpt files
  173. - Dropped the upsteamed patch
  174. - Updated the URL
  175. * Thu Jan 8 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-2
  176. - Added patch fixing rpmfusion bug #290 from SVN
  177. * Sat Jan 3 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-1
  178. - Updated to 0.9.3
  179. * Mon Nov 24 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.2-2
  180. - s/gnome-mplayer-core-functionality/gnome-mplayer-binary
  181. * Sat Nov 22 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.2-1
  182. - Updated to 0.9.2
  183. - Require gnome-mplayer-core-functionality instead of gnome-mplayer
  184. * Fri Oct 31 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.0-1
  185. - Updated to 0.9.0
  186. * Mon Sep 29 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.8.0-1.1
  187. - Updated to 0.8.0
  188. * Sun Aug 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.7.0-1.1
  189. - Updated to 0.7.0
  190. * Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6.3-3
  191. - rebuild for buildsys cflags issue
  192. * Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6.3-2
  193. - rebuild for buildsys cflags issue
  194. * Sun Jul 6 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.3-1
  195. - Updated to 0.6.3
  196. * Wed May 28 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.2-1
  197. - Updated to 0.6.2
  198. * Thu Apr 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.1-1
  199. - Updated to 0.6.1
  200. - Updated URL and Source0
  201. - Dropped upstreamed patch
  202. - Dropped the rpmfusion-specific readme
  203. * Fri Mar 7 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-3
  204. - Added patch fixing unnecessary libxul-embedding.pc from SVN
  205. * Fri Feb 29 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-2
  206. - Switched to gecko-devel virtual provides
  207. - Made the mplayerplug-in obsoletion versioned
  208. - Ditto gnome-mplayer requirement
  209. * Wed Feb 13 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-1
  210. - Initial rpmfusion release