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