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: 1%{?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.5b1.svn477-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 | * Sat Mar 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.6-1.b1 |
---|
130 | - new upstream release |
---|
131 | |
---|
132 | * Fri Dec 30 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Sat Oct 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.5-1.b1.svn477 |
---|
136 | - source 1.0.5b1 |
---|
137 | - updated ja.po |
---|
138 | - added BuildRequires: gmtk-devel >= 1.0.5 |
---|
139 | |
---|
140 | * Sun Sep 25 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-4 |
---|
141 | - rebuilt with libnotify-0.7.4 |
---|
142 | |
---|
143 | * Mon Jul 04 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-3 |
---|
144 | - new upstream release |
---|
145 | |
---|
146 | * Fri Jun 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-2.b2 |
---|
147 | - source 1.0.4b2 |
---|
148 | |
---|
149 | * Mon Jun 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.4-1.b1.svn450 |
---|
150 | - source snapshot 1.0.4b1.svn450 |
---|
151 | - do not use gconf |
---|
152 | |
---|
153 | * Fri Apr 22 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-3 |
---|
154 | - new upstream release |
---|
155 | |
---|
156 | * Thu Apr 21 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-2.beta.svn432 |
---|
157 | - dropped Requires: firefox |
---|
158 | |
---|
159 | * Sun Apr 17 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.3-1.beta.svn432 |
---|
160 | - source snapshot 1.0.3beta r432 |
---|
161 | |
---|
162 | * Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.0-1 |
---|
163 | - new upstream release |
---|
164 | |
---|
165 | * Tue Oct 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.99-2.rc3 |
---|
166 | - source 0.9.99.rc3 |
---|
167 | |
---|
168 | * Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.99-1.rc1 |
---|
169 | - source 0.9.99.rc1 |
---|
170 | |
---|
171 | * Thu Mar 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9.2-1 |
---|
172 | - new upstream release |
---|
173 | |
---|
174 | * Sat Feb 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-2 |
---|
175 | - new upstream release |
---|
176 | |
---|
177 | * Thu Jan 28 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-1.svn347 |
---|
178 | - source snapshot r355 |
---|
179 | |
---|
180 | * Sat Jan 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-3.svn347 |
---|
181 | - source snapshot r347 |
---|
182 | - fixed compile with libxul-1.9.2 or higher (r347, r338) |
---|
183 | - fixed crash on Apple site (r345) |
---|
184 | - added video/xmng, video/x-ms-asx minetypes (r344, r335) |
---|
185 | - added gecko-mediaplayer-snapshot.sh |
---|
186 | |
---|
187 | * Sat Jan 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-2 |
---|
188 | - dropped BuildRequires: xulrunner-devel-unstable |
---|
189 | |
---|
190 | * Sun Sep 20 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-1 |
---|
191 | - new upstream release |
---|
192 | |
---|
193 | * Sat Aug 22 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.7-1 |
---|
194 | - new upstream release |
---|
195 | |
---|
196 | * Sat Jul 04 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.6-2 |
---|
197 | - added Requires: firefox >= 3.0 |
---|
198 | - require %%{_libdir}/mozilla/plugins |
---|
199 | - dropped Requires: %%{_libdir}/mozilla/plugins |
---|
200 | |
---|
201 | * Sat Jun 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.6-1 |
---|
202 | - new upstream release |
---|
203 | |
---|
204 | * Sun Mar 15 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.5-1 |
---|
205 | - new upstream release |
---|
206 | |
---|
207 | * Fri Feb 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.4-1 |
---|
208 | - initial build |
---|
209 | - added ja.po |
---|
210 | |
---|
211 | * Wed Feb 4 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.4-1 |
---|
212 | - Updated to 0.9.4, no more xpt files |
---|
213 | - Dropped the upsteamed patch |
---|
214 | - Updated the URL |
---|
215 | |
---|
216 | * Thu Jan 8 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-2 |
---|
217 | - Added patch fixing rpmfusion bug #290 from SVN |
---|
218 | |
---|
219 | * Sat Jan 3 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-1 |
---|
220 | - Updated to 0.9.3 |
---|
221 | |
---|
222 | * Mon Nov 24 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.2-2 |
---|
223 | - s/gnome-mplayer-core-functionality/gnome-mplayer-binary |
---|
224 | |
---|
225 | * Sat Nov 22 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.2-1 |
---|
226 | - Updated to 0.9.2 |
---|
227 | - Require gnome-mplayer-core-functionality instead of gnome-mplayer |
---|
228 | |
---|
229 | * Fri Oct 31 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.0-1 |
---|
230 | - Updated to 0.9.0 |
---|
231 | |
---|
232 | * Mon Sep 29 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.8.0-1.1 |
---|
233 | - Updated to 0.8.0 |
---|
234 | |
---|
235 | * Sun Aug 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.7.0-1.1 |
---|
236 | - Updated to 0.7.0 |
---|
237 | |
---|
238 | * Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6.3-3 |
---|
239 | - rebuild for buildsys cflags issue |
---|
240 | |
---|
241 | * Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6.3-2 |
---|
242 | - rebuild for buildsys cflags issue |
---|
243 | |
---|
244 | * Sun Jul 6 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.3-1 |
---|
245 | - Updated to 0.6.3 |
---|
246 | |
---|
247 | * Wed May 28 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.2-1 |
---|
248 | - Updated to 0.6.2 |
---|
249 | |
---|
250 | * Thu Apr 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.1-1 |
---|
251 | - Updated to 0.6.1 |
---|
252 | - Updated URL and Source0 |
---|
253 | - Dropped upstreamed patch |
---|
254 | - Dropped the rpmfusion-specific readme |
---|
255 | |
---|
256 | * Fri Mar 7 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-3 |
---|
257 | - Added patch fixing unnecessary libxul-embedding.pc from SVN |
---|
258 | |
---|
259 | * Fri Feb 29 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-2 |
---|
260 | - Switched to gecko-devel virtual provides |
---|
261 | - Made the mplayerplug-in obsoletion versioned |
---|
262 | - Ditto gnome-mplayer requirement |
---|
263 | |
---|
264 | * Wed Feb 13 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-1 |
---|
265 | - Initial rpmfusion release |
---|