[4977] | 1 | %define with_my_japo 1 |
---|
| 2 | %define svnrevision 477 |
---|
[2180] | 3 | #% define rcversion 3 |
---|
[4977] | 4 | %define betaversion b1 |
---|
[521] | 5 | |
---|
| 6 | Name: gecko-mediaplayer |
---|
[4977] | 7 | Version: 1.0.5 |
---|
| 8 | Release: 1%{?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} |
---|
[4977] | 20 | Source100: gecko-mediaplayer-1.0.5b1.svn477-ja.po |
---|
[521] | 21 | %endif |
---|
| 22 | |
---|
| 23 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 24 | |
---|
[4977] | 25 | BuildRequires: gmtk-devel >= 1.0.5 |
---|
[521] | 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 | |
---|
[4977] | 60 | ## vine |
---|
[521] | 61 | %if %{with_my_japo} |
---|
[1615] | 62 | %__install -m644 %{SOURCE100} po/ja.po |
---|
[521] | 63 | %endif |
---|
| 64 | |
---|
| 65 | %build |
---|
[3511] | 66 | %configure \ |
---|
| 67 | --enable-new-libxul \ |
---|
| 68 | \ |
---|
| 69 | --with-libcurl \ |
---|
| 70 | ; |
---|
[521] | 71 | %__make %{?_smp_mflags} |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | %install |
---|
| 75 | %__rm -rf $RPM_BUILD_ROOT |
---|
[3511] | 76 | #export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
[521] | 77 | %__make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 78 | %find_lang %{name} |
---|
| 79 | |
---|
| 80 | #remove intrusive docs |
---|
| 81 | %__rm -rf $RPM_BUILD_ROOT%{_docdir}/gecko-mediaplayer |
---|
| 82 | |
---|
| 83 | |
---|
[3511] | 84 | # %pre |
---|
| 85 | # if [ "$1" -gt 1 ]; then |
---|
| 86 | # export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 87 | # gconftool-2 --makefile-uninstall-rule \ |
---|
| 88 | # %{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas >/dev/null || : |
---|
| 89 | # # If the schema file has ever been renamed:: |
---|
| 90 | # #gconftool-2 --makefile-uninstall-rule \ |
---|
| 91 | # # %{_sysconfdir}/gconf/schemas/[OLDNAME].schemas > /dev/null || : |
---|
| 92 | # fi |
---|
[521] | 93 | |
---|
| 94 | |
---|
[3511] | 95 | # %post |
---|
| 96 | # export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 97 | # gconftool-2 --makefile-install-rule \ |
---|
| 98 | # %{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas > /dev/null || : |
---|
[521] | 99 | |
---|
| 100 | |
---|
[3511] | 101 | # %preun |
---|
| 102 | # if [ "$1" -eq 0 ]; then |
---|
| 103 | # export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 104 | # gconftool-2 --makefile-uninstall-rule \ |
---|
| 105 | # %{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas > /dev/null || : |
---|
| 106 | # fi |
---|
[521] | 107 | |
---|
| 108 | |
---|
| 109 | %clean |
---|
| 110 | %__rm -rf $RPM_BUILD_ROOT |
---|
| 111 | |
---|
| 112 | |
---|
| 113 | %files -f %{name}.lang |
---|
| 114 | %defattr(-,root,root,-) |
---|
| 115 | %doc COPYING ChangeLog |
---|
[3511] | 116 | #%{_sysconfdir}/gconf/schemas/gecko-mediaplayer.schemas |
---|
[521] | 117 | %{_libdir}/mozilla/plugins/gecko-mediaplayer-dvx.so |
---|
| 118 | %{_libdir}/mozilla/plugins/gecko-mediaplayer-qt.so |
---|
| 119 | %{_libdir}/mozilla/plugins/gecko-mediaplayer-rm.so |
---|
| 120 | %{_libdir}/mozilla/plugins/gecko-mediaplayer-wmp.so |
---|
| 121 | %{_libdir}/mozilla/plugins/gecko-mediaplayer.so |
---|
| 122 | |
---|
| 123 | |
---|
| 124 | %changelog |
---|
[4977] | 125 | * Sat Oct 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-1.b1.svn477 |
---|
| 126 | - source 1.0.5b1 |
---|
| 127 | - updated ja.po |
---|
| 128 | - added BuildRequires: gmtk-devel >= 1.0.5 |
---|
| 129 | |
---|
[4848] | 130 | * Sun Sep 25 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-4 |
---|
| 131 | - rebuilt with libnotify-0.7.4 |
---|
| 132 | |
---|
| 133 | * Mon Jul 04 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-3 |
---|
| 134 | - new upstream release |
---|
| 135 | |
---|
[4108] | 136 | * Fri Jun 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-2.b2 |
---|
| 137 | - source 1.0.4b2 |
---|
| 138 | |
---|
[4060] | 139 | * Mon Jun 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-1.b1.svn450 |
---|
| 140 | - source snapshot 1.0.4b1.svn450 |
---|
[4977] | 141 | - do not use gconf |
---|
[4060] | 142 | |
---|
[3642] | 143 | * Fri Apr 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-3 |
---|
| 144 | - new upstream release |
---|
| 145 | |
---|
[3628] | 146 | * Thu Apr 21 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-2.beta.svn432 |
---|
| 147 | - dropped Requires: firefox |
---|
| 148 | |
---|
[3511] | 149 | * Sun Apr 17 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-1.beta.svn432 |
---|
| 150 | - source snapshot 1.0.3beta r432 |
---|
| 151 | |
---|
[2180] | 152 | * Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.0-1 |
---|
| 153 | - new upstream release |
---|
| 154 | |
---|
[2077] | 155 | * Tue Oct 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.99-2.rc3 |
---|
| 156 | - source 0.9.99.rc3 |
---|
| 157 | |
---|
[1615] | 158 | * Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.99-1.rc1 |
---|
| 159 | - source 0.9.99.rc1 |
---|
| 160 | |
---|
[521] | 161 | * Thu Mar 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9.2-1 |
---|
| 162 | - new upstream release |
---|
| 163 | |
---|
| 164 | * Sat Feb 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-2 |
---|
| 165 | - new upstream release |
---|
| 166 | |
---|
| 167 | * Thu Jan 28 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-1.svn347 |
---|
| 168 | - source snapshot r355 |
---|
| 169 | |
---|
| 170 | * Sat Jan 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-3.svn347 |
---|
| 171 | - source snapshot r347 |
---|
| 172 | - fixed compile with libxul-1.9.2 or higher (r347, r338) |
---|
| 173 | - fixed crash on Apple site (r345) |
---|
| 174 | - added video/xmng, video/x-ms-asx minetypes (r344, r335) |
---|
| 175 | - added gecko-mediaplayer-snapshot.sh |
---|
| 176 | |
---|
| 177 | * Sat Jan 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-2 |
---|
| 178 | - dropped BuildRequires: xulrunner-devel-unstable |
---|
| 179 | |
---|
| 180 | * Sun Sep 20 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-1 |
---|
| 181 | - new upstream release |
---|
| 182 | |
---|
| 183 | * Sat Aug 22 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.7-1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
| 186 | * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.6-2 |
---|
| 187 | - added Requires: firefox >= 3.0 |
---|
| 188 | - require %%{_libdir}/mozilla/plugins |
---|
| 189 | - dropped Requires: %%{_libdir}/mozilla/plugins |
---|
| 190 | |
---|
| 191 | * Sat Jun 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.6-1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
| 194 | * Sun Mar 15 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.5-1 |
---|
| 195 | - new upstream release |
---|
| 196 | |
---|
| 197 | * Fri Feb 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.4-1 |
---|
| 198 | - initial build |
---|
| 199 | - added ja.po |
---|
| 200 | |
---|
| 201 | * Wed Feb 4 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.4-1 |
---|
| 202 | - Updated to 0.9.4, no more xpt files |
---|
| 203 | - Dropped the upsteamed patch |
---|
| 204 | - Updated the URL |
---|
| 205 | |
---|
| 206 | * Thu Jan 8 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-2 |
---|
| 207 | - Added patch fixing rpmfusion bug #290 from SVN |
---|
| 208 | |
---|
| 209 | * Sat Jan 3 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-1 |
---|
| 210 | - Updated to 0.9.3 |
---|
| 211 | |
---|
| 212 | * Mon Nov 24 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.2-2 |
---|
| 213 | - s/gnome-mplayer-core-functionality/gnome-mplayer-binary |
---|
| 214 | |
---|
| 215 | * Sat Nov 22 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.2-1 |
---|
| 216 | - Updated to 0.9.2 |
---|
| 217 | - Require gnome-mplayer-core-functionality instead of gnome-mplayer |
---|
| 218 | |
---|
| 219 | * Fri Oct 31 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.0-1 |
---|
| 220 | - Updated to 0.9.0 |
---|
| 221 | |
---|
| 222 | * Mon Sep 29 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.8.0-1.1 |
---|
| 223 | - Updated to 0.8.0 |
---|
| 224 | |
---|
| 225 | * Sun Aug 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.7.0-1.1 |
---|
| 226 | - Updated to 0.7.0 |
---|
| 227 | |
---|
| 228 | * Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6.3-3 |
---|
| 229 | - rebuild for buildsys cflags issue |
---|
| 230 | |
---|
| 231 | * Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6.3-2 |
---|
| 232 | - rebuild for buildsys cflags issue |
---|
| 233 | |
---|
| 234 | * Sun Jul 6 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.3-1 |
---|
| 235 | - Updated to 0.6.3 |
---|
| 236 | |
---|
| 237 | * Wed May 28 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.2-1 |
---|
| 238 | - Updated to 0.6.2 |
---|
| 239 | |
---|
| 240 | * Thu Apr 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.1-1 |
---|
| 241 | - Updated to 0.6.1 |
---|
| 242 | - Updated URL and Source0 |
---|
| 243 | - Dropped upstreamed patch |
---|
| 244 | - Dropped the rpmfusion-specific readme |
---|
| 245 | |
---|
| 246 | * Fri Mar 7 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-3 |
---|
| 247 | - Added patch fixing unnecessary libxul-embedding.pc from SVN |
---|
| 248 | |
---|
| 249 | * Fri Feb 29 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-2 |
---|
| 250 | - Switched to gecko-devel virtual provides |
---|
| 251 | - Made the mplayerplug-in obsoletion versioned |
---|
| 252 | - Ditto gnome-mplayer requirement |
---|
| 253 | |
---|
| 254 | * Wed Feb 13 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-1 |
---|
| 255 | - Initial rpmfusion release |
---|