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