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