123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- %define with_my_japo 0
- #% define svnrevision 355
- #% define rcversion 3
- Name: gecko-mediaplayer
- Version: 1.0.0
- Release: 1%{?svnrevision:.svn%svnrevision}%{?rcversion:.rc%rcversion}%{?_dist_release}
- Summary: Gnome MPlayer browser plugin
- Summary(ja): Gnome MPlayer の Web ブラウザ用プラグイン
- Group: Applications/Multimedia
- License: GPLv2+
- URL: http://kdekorte.googlepages.com/gecko-mediaplayer
- Source0: http://gecko-mediaplayer.googlecode.com/files/%{name}-%{version}%{?svnrevision:.svn%svnrevision}%{?rcversion:.rc%rcversion}.tar.%{?svnrevision:bz2}%{!?svnrevision:gz}
- Source10: gecko-mediaplayer-snapshot.sh
- ## vine
- %if %{with_my_japo}
- Patch100: gecko-mediaplayer-0.9.4-ja.patch
- Source100: gecko-mediaplayer-0.9.4-ja.po
- %endif
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: dbus-glib-devel
- BuildRequires: GConf2-devel
- BuildRequires: gettext
- BuildRequires: libX11-devel
- #BuildRequires: gecko-devel
- BuildRequires: xulrunner-devel >= 1.9.1
- Requires: firefox >= 3.5
- #Requires: %{_libdir}/mozilla/plugins
- Requires: gnome-mplayer >= %{version}
- Requires(pre): GConf2
- Requires(post): GConf2
- Requires(preun): GConf2
- Obsoletes: mplayerplug-in < 3.50
- %description
- Gecko Media Player is a browser plugin that uses GNOME MPlayer to play media in
- a browser. It should work with all browsers on Unix-ish systems(Linux, BSD,
- Solaris) and use the NS4 API (Mozilla, Firefox, Opera, etc.).
- %description -l ja
- Gecko Media Player は Web ブラウザ上でメディアを再生するために
- GNOME MPlayer を使う Web ブラウザ用プラグインです.
- Unix-ish なシステム(Linux, BSD, Solaris)上のすべてのブラウザで
- 動作するはずで,NS4 API(Mozilla, Firefox, Opera など)を使います.
- %prep
- %setup -q %{?rcversion:-n %{name}-%{version}.rc%{rcversion}}
- %if %{with_my_japo}
- ## vine
- %patch100 -p1 -b .ja
- %__install -m644 %{SOURCE100} po/ja.po
- autoreconf -f
- %endif
- %build
- %configure
- %__make %{?_smp_mflags}
- %install
- %__rm -rf $RPM_BUILD_ROOT
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
- %__make install DESTDIR=$RPM_BUILD_ROOT
- %find_lang %{name}
- #remove intrusive docs
- %__rm -rf $RPM_BUILD_ROOT%{_docdir}/gecko-mediaplayer
- %pre
- if [ "$1" -gt 1 ]; then
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas >/dev/null || :
- # If the schema file has ever been renamed::
- #gconftool-2 --makefile-uninstall-rule \
- # %{_sysconfdir}/gconf/schemas/[OLDNAME].schemas > /dev/null || :
- fi
- %post
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-install-rule \
- %{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas > /dev/null || :
- %preun
- if [ "$1" -eq 0 ]; then
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas > /dev/null || :
- fi
- %clean
- %__rm -rf $RPM_BUILD_ROOT
- %files -f %{name}.lang
- %defattr(-,root,root,-)
- %doc COPYING ChangeLog
- %{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas
- %{_libdir}/mozilla/plugins/gecko-mediaplayer-dvx.so
- %{_libdir}/mozilla/plugins/gecko-mediaplayer-qt.so
- %{_libdir}/mozilla/plugins/gecko-mediaplayer-rm.so
- %{_libdir}/mozilla/plugins/gecko-mediaplayer-wmp.so
- %{_libdir}/mozilla/plugins/gecko-mediaplayer.so
- %changelog
- * Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.0-1
- - new upstream release
- * Tue Oct 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.99-2.rc3
- - source 0.9.99.rc3
- * Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.99-1.rc1
- - source 0.9.99.rc1
- * Thu Mar 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9.2-1
- - new upstream release
- * Sat Feb 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-2
- - new upstream release
- * Thu Jan 28 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-1.svn347
- - source snapshot r355
- * Sat Jan 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-3.svn347
- - source snapshot r347
- - fixed compile with libxul-1.9.2 or higher (r347, r338)
- - fixed crash on Apple site (r345)
- - added video/xmng, video/x-ms-asx minetypes (r344, r335)
- - added gecko-mediaplayer-snapshot.sh
- * Sat Jan 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-2
- - dropped BuildRequires: xulrunner-devel-unstable
- * Sun Sep 20 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-1
- - new upstream release
- * Sat Aug 22 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.7-1
- - new upstream release
- * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.6-2
- - added Requires: firefox >= 3.0
- - require %%{_libdir}/mozilla/plugins
- - dropped Requires: %%{_libdir}/mozilla/plugins
- * Sat Jun 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.6-1
- - new upstream release
- * Sun Mar 15 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.5-1
- - new upstream release
- * Fri Feb 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.4-1
- - initial build
- - added ja.po
- * Wed Feb 4 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.4-1
- - Updated to 0.9.4, no more xpt files
- - Dropped the upsteamed patch
- - Updated the URL
- * Thu Jan 8 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-2
- - Added patch fixing rpmfusion bug #290 from SVN
- * Sat Jan 3 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-1
- - Updated to 0.9.3
- * Mon Nov 24 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.2-2
- - s/gnome-mplayer-core-functionality/gnome-mplayer-binary
- * Sat Nov 22 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.2-1
- - Updated to 0.9.2
- - Require gnome-mplayer-core-functionality instead of gnome-mplayer
- * Fri Oct 31 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.0-1
- - Updated to 0.9.0
- * Mon Sep 29 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.8.0-1.1
- - Updated to 0.8.0
- * Sun Aug 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.7.0-1.1
- - Updated to 0.7.0
- * Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6.3-3
- - rebuild for buildsys cflags issue
- * Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6.3-2
- - rebuild for buildsys cflags issue
- * Sun Jul 6 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.3-1
- - Updated to 0.6.3
- * Wed May 28 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.2-1
- - Updated to 0.6.2
- * Thu Apr 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.1-1
- - Updated to 0.6.1
- - Updated URL and Source0
- - Dropped upstreamed patch
- - Dropped the rpmfusion-specific readme
- * Fri Mar 7 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-3
- - Added patch fixing unnecessary libxul-embedding.pc from SVN
- * Fri Feb 29 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-2
- - Switched to gecko-devel virtual provides
- - Made the mplayerplug-in obsoletion versioned
- - Ditto gnome-mplayer requirement
- * Wed Feb 13 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-1
- - Initial rpmfusion release
|