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