]>
Commit | Line | Data |
---|---|---|
1 | # NOTE: PLD distributes iceweasel instead | |
2 | # | |
3 | # TODO: | |
4 | # - (12:22:58) patrys: can you also move _libdir/mozilla-firefox to just _libdir/firefox? | |
5 | # (12:23:25) patrys: it's not like we ship official firefox | |
6 | # - fix wrapper script to allow playing with profiles (must not use -remote) | |
7 | # | |
8 | # Conditional build: | |
9 | %bcond_with tests # enable tests (whatever they check) | |
10 | %bcond_without gnomeui # disable gnomeui support | |
11 | %bcond_without gnome # synonym for gnomeui (gconf, libnotify and gio are still enabled) | |
12 | %bcond_without kerberos # disable krb5 support | |
13 | %bcond_without xulrunner # system xulrunner | |
14 | ||
15 | %if %{without gnome} | |
16 | %undefine with_gnomeui | |
17 | %endif | |
18 | ||
19 | %if %{without xulrunner} | |
20 | # The actual sqlite version (see RHBZ#480989): | |
21 | %define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR) | |
22 | %endif | |
23 | ||
24 | %define nspr_ver 4.9.5 | |
25 | %define nss_ver 3.14.3 | |
26 | ||
27 | Summary: Firefox Community Edition web browser | |
28 | Summary(pl.UTF-8): Firefox Community Edition - przeglądarka WWW | |
29 | Name: mozilla-firefox | |
30 | Version: 19.0 | |
31 | Release: 1 | |
32 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ | |
33 | Group: X11/Applications/Networking | |
34 | Source0: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.bz2 | |
35 | # Source0-md5: 3dc732b6ce177792b43324f4bc7164d8 | |
36 | Source3: %{name}.desktop | |
37 | Source4: %{name}.sh | |
38 | Patch0: %{name}-branding.patch | |
39 | Patch1: %{name}-install.patch | |
40 | Patch2: %{name}-gcc3.patch | |
41 | Patch3: %{name}-agent.patch | |
42 | Patch4: %{name}-agent-ac.patch | |
43 | Patch5: %{name}-ti-agent.patch | |
44 | Patch7: %{name}-prefs.patch | |
45 | Patch9: %{name}-no-subshell.patch | |
46 | Patch10: %{name}-system-cairo.patch | |
47 | Patch11: %{name}-middle_click_paste.patch | |
48 | Patch12: %{name}-packaging.patch | |
49 | # Edit patch below and restore --system-site-packages when system virtualenv gets 1.7 upgrade | |
50 | Patch13: %{name}-system-virtualenv.patch | |
51 | URL: http://www.mozilla.org/projects/firefox/ | |
52 | BuildRequires: GConf2-devel >= 1.2.1 | |
53 | BuildRequires: OpenGL-devel | |
54 | BuildRequires: alsa-lib-devel | |
55 | BuildRequires: automake | |
56 | BuildRequires: bzip2-devel | |
57 | BuildRequires: cairo-devel >= 1.10.2-5 | |
58 | BuildRequires: dbus-glib-devel >= 0.60 | |
59 | BuildRequires: glib2-devel >= 1:2.20 | |
60 | BuildRequires: gtk+2-devel >= 2:2.14 | |
61 | %{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1} | |
62 | BuildRequires: hunspell-devel | |
63 | BuildRequires: libIDL-devel >= 0.8.0 | |
64 | BuildRequires: libdnet-devel | |
65 | BuildRequires: libevent-devel >= 1.4.7 | |
66 | # standalone libffi 3.0.9 or gcc's from 4.5(?)+ | |
67 | BuildRequires: libffi-devel >= 6:3.0.9 | |
68 | %{?with_gnomeui:BuildRequires: libgnomeui-devel >= 2.2.0} | |
69 | BuildRequires: libiw-devel | |
70 | # requires libjpeg-turbo implementing at least libjpeg 6b API | |
71 | BuildRequires: libjpeg-devel >= 6b | |
72 | BuildRequires: libjpeg-turbo-devel | |
73 | BuildRequires: libnotify-devel >= 0.4 | |
74 | BuildRequires: libpng(APNG)-devel >= 0.10 | |
75 | BuildRequires: libpng-devel >= 1.5.13 | |
76 | BuildRequires: libstdc++-devel | |
77 | BuildRequires: libvpx-devel >= 1.0.0 | |
78 | BuildRequires: nspr-devel >= 1:%{nspr_ver} | |
79 | BuildRequires: nss-devel >= 1:%{nss_ver} | |
80 | BuildRequires: pango-devel >= 1:1.14.0 | |
81 | BuildRequires: perl-modules >= 5.004 | |
82 | BuildRequires: pkgconfig | |
83 | BuildRequires: pkgconfig(libffi) >= 3.0.9 | |
84 | BuildRequires: python-modules | |
85 | BuildRequires: python-virtualenv | |
86 | BuildRequires: rpm >= 4.4.9-56 | |
87 | BuildRequires: rpmbuild(macros) >= 1.601 | |
88 | BuildRequires: sqlite3-devel >= 3.7.14.1 | |
89 | BuildRequires: startup-notification-devel >= 0.8 | |
90 | BuildRequires: xorg-lib-libXScrnSaver-devel | |
91 | BuildRequires: xorg-lib-libXext-devel | |
92 | BuildRequires: xorg-lib-libXinerama-devel | |
93 | BuildRequires: xorg-lib-libXt-devel | |
94 | %if %{with xulrunner} | |
95 | BuildRequires: xulrunner-devel >= 2:%{version} | |
96 | %endif | |
97 | BuildRequires: zip | |
98 | BuildRequires: zlib-devel >= 1.2.3 | |
99 | Requires(post): mktemp >= 1.5-18 | |
100 | Requires: desktop-file-utils | |
101 | %if %{with xulrunner} | |
102 | %requires_eq_to xulrunner xulrunner-devel | |
103 | %else | |
104 | Requires: browser-plugins >= 2.0 | |
105 | Requires: cairo >= 1.10.2-5 | |
106 | Requires: dbus-glib >= 0.60 | |
107 | Requires: glib2 >= 1:2.20 | |
108 | Requires: gtk+2 >= 2:2.14 | |
109 | Requires: libjpeg-turbo | |
110 | Requires: libpng >= 1.5.13 | |
111 | Requires: libpng(APNG) >= 0.10 | |
112 | Requires: myspell-common | |
113 | Requires: nspr >= 1:%{nspr_ver} | |
114 | Requires: nss >= 1:%{nss_ver} | |
115 | Requires: pango >= 1:1.14.0 | |
116 | Requires: sqlite3 >= %{sqlite_build_version} | |
117 | Requires: startup-notification >= 0.8 | |
118 | %endif | |
119 | Provides: wwwbrowser | |
120 | Obsoletes: mozilla-firebird | |
121 | Obsoletes: mozilla-firefox-lang-en < 2.0.0.8-3 | |
122 | Obsoletes: mozilla-firefox-libs | |
123 | Conflicts: mozilla-firefox-lang-resources < %{version} | |
124 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
125 | ||
126 | %define filterout_cpp -D_FORTIFY_SOURCE=[0-9]+ | |
127 | ||
128 | # don't satisfy other packages (don't use %{name} here) | |
129 | %define _noautoprovfiles %{_libdir}/mozilla-firefox | |
130 | %if %{without xulrunner} | |
131 | # and as we don't provide them, don't require either | |
132 | %define _noautoreq libmozalloc.so libmozjs.so libxpcom.so libxul.so | |
133 | %endif | |
134 | ||
135 | %if "%{cc_version}" >= "3.4" | |
136 | %define specflags -fno-strict-aliasing -fno-tree-vrp -fno-stack-protector | |
137 | %else | |
138 | %define specflags -fno-strict-aliasing | |
139 | %endif | |
140 | ||
141 | %description | |
142 | Firefox Community Edition is an open-source web browser, designed for | |
143 | standards compliance, performance and portability. | |
144 | ||
145 | %description -l pl.UTF-8 | |
146 | Firefox Community Edition jest przeglądarką WWW rozpowszechnianą | |
147 | zgodnie z ideami ruchu otwartego oprogramowania oraz tworzoną z myślą | |
148 | o zgodności ze standardami, wydajnością i przenośnością. | |
149 | ||
150 | %prep | |
151 | %setup -qc | |
152 | mv -f mozilla-release mozilla | |
153 | cd mozilla | |
154 | ||
155 | %patch0 -p1 | |
156 | %patch1 -p1 | |
157 | ||
158 | %if "%{cc_version}" < "3.4" | |
159 | %patch2 -p2 | |
160 | %endif | |
161 | ||
162 | %if "%{pld_release}" == "th" | |
163 | %patch3 -p1 | |
164 | %endif | |
165 | ||
166 | %if "%{pld_release}" == "ac" | |
167 | %patch4 -p1 | |
168 | %endif | |
169 | ||
170 | %if "%{pld_release}" == "ti" | |
171 | %patch5 -p1 | |
172 | %endif | |
173 | ||
174 | %patch7 -p1 | |
175 | ||
176 | %patch9 -p2 | |
177 | %patch10 -p2 | |
178 | %patch11 -p2 | |
179 | %patch12 -p2 | |
180 | %patch13 -p2 | |
181 | ||
182 | # config/rules.mk is patched by us and js/src/config/rules.mk | |
183 | # is supposed to be exact copy | |
184 | cp -a config/rules.mk js/src/config/rules.mk | |
185 | ||
186 | %build | |
187 | cd mozilla | |
188 | cp -f %{_datadir}/automake/config.* build/autoconf | |
189 | ||
190 | cat << EOF > .mozconfig | |
191 | . \$topsrcdir/browser/config/mozconfig | |
192 | ||
193 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu} | |
194 | # parallel build fails on _xpidlgen/ | |
195 | %if %{without xulrunner} | |
196 | mk_add_options MOZ_MAKE_FLAGS=%{_smp_mflags} | |
197 | %endif | |
198 | ||
199 | # Options for 'configure' (same as command-line options). | |
200 | ac_add_options --prefix=%{_prefix} | |
201 | ac_add_options --exec-prefix=%{_exec_prefix} | |
202 | ac_add_options --bindir=%{_bindir} | |
203 | ac_add_options --sbindir=%{_sbindir} | |
204 | ac_add_options --sysconfdir=%{_sysconfdir} | |
205 | ac_add_options --datadir=%{_datadir} | |
206 | ac_add_options --includedir=%{_includedir} | |
207 | ac_add_options --libdir=%{_libdir} | |
208 | ac_add_options --libexecdir=%{_libexecdir} | |
209 | ac_add_options --localstatedir=%{_localstatedir} | |
210 | ac_add_options --sharedstatedir=%{_sharedstatedir} | |
211 | ac_add_options --mandir=%{_mandir} | |
212 | ac_add_options --infodir=%{_infodir} | |
213 | ac_add_options --disable-elf-hack | |
214 | %if %{?debug:1}0 | |
215 | ac_add_options --disable-optimize | |
216 | ac_add_options --enable-debug | |
217 | ac_add_options --enable-debug-modules | |
218 | ac_add_options --enable-debugger-info-modules | |
219 | ac_add_options --enable-crash-on-assert | |
220 | %else | |
221 | ac_add_options --disable-debug | |
222 | ac_add_options --disable-debug-modules | |
223 | ac_add_options --disable-logging | |
224 | ac_add_options --enable-optimize="%{rpmcflags} -Os" | |
225 | %endif | |
226 | ac_add_options --disable-strip | |
227 | ac_add_options --disable-strip-libs | |
228 | %if %{with tests} | |
229 | ac_add_options --enable-tests | |
230 | %else | |
231 | ac_add_options --disable-tests | |
232 | %endif | |
233 | %if %{with gnomeui} | |
234 | ac_add_options --enable-gnomeui | |
235 | %else | |
236 | ac_add_options --disable-gnomeui | |
237 | %endif | |
238 | ac_add_options --disable-gnomevfs | |
239 | ac_add_options --disable-crashreporter | |
240 | ac_add_options --disable-installer | |
241 | ac_add_options --disable-javaxpcom | |
242 | ac_add_options --disable-updater | |
243 | ac_add_options --enable-gio | |
244 | ac_add_options --enable-libxul | |
245 | ac_add_options --enable-pango | |
246 | ac_add_options --enable-shared-js | |
247 | ac_add_options --enable-startup-notification | |
248 | ac_add_options --enable-system-cairo | |
249 | ac_add_options --enable-system-hunspell | |
250 | ac_add_options --enable-system-sqlite | |
251 | ac_add_options --with-distribution-id=org.pld-linux | |
252 | %if %{with xulrunner} | |
253 | ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul) | |
254 | %endif | |
255 | ac_add_options --with-pthreads | |
256 | ac_add_options --with-system-bz2 | |
257 | ac_add_options --with-system-ffi | |
258 | ac_add_options --with-system-jpeg | |
259 | ac_add_options --with-system-libevent | |
260 | ac_add_options --with-system-libvpx | |
261 | ac_add_options --with-system-nspr | |
262 | ac_add_options --with-system-nss | |
263 | ac_add_options --with-system-png | |
264 | ac_add_options --with-system-zlib | |
265 | ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name} | |
266 | EOF | |
267 | ||
268 | %{__make} -f client.mk build \ | |
269 | STRIP="/bin/true" \ | |
270 | CC="%{__cc}" \ | |
271 | CXX="%{__cxx}" | |
272 | ||
273 | %install | |
274 | rm -rf $RPM_BUILD_ROOT | |
275 | cd mozilla | |
276 | install -d \ | |
277 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \ | |
278 | $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \ | |
279 | $RPM_BUILD_ROOT%{_datadir}/%{name} | |
280 | ||
281 | %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins | |
282 | ||
283 | %{__make} -C obj-%{_target_cpu}/browser/installer stage-package \ | |
284 | DESTDIR=$RPM_BUILD_ROOT \ | |
285 | MOZ_PKG_DIR=%{_libdir}/%{name} \ | |
286 | PKG_SKIP_STRIP=1 | |
287 | ||
288 | install -d \ | |
289 | $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins | |
290 | ||
291 | %if %{with xulrunner} | |
292 | # >= 5.0 seems to require this | |
293 | ln -s ../xulrunner $RPM_BUILD_ROOT%{_libdir}/%{name}/xulrunner | |
294 | %endif | |
295 | ||
296 | # move arch independant ones to datadir | |
297 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome | |
298 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults | |
299 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions | |
300 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/icons | |
301 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/modules $RPM_BUILD_ROOT%{_datadir}/%{name}/modules | |
302 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins | |
303 | %if %{without xulrunner} | |
304 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs.js $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs.js | |
305 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res | |
306 | %endif | |
307 | ||
308 | ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome | |
309 | ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults | |
310 | ln -s ../../share/%{name}/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions | |
311 | ln -s ../../share/%{name}/modules $RPM_BUILD_ROOT%{_libdir}/%{name}/modules | |
312 | ln -s ../../share/%{name}/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/icons | |
313 | ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins | |
314 | %if %{without xulrunner} | |
315 | ln -s ../../share/%{name}/greprefs.js $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs.js | |
316 | ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res | |
317 | %endif | |
318 | ||
319 | %if %{without xulrunner} | |
320 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
321 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
322 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation | |
323 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/hyphenation | |
324 | %endif | |
325 | ||
326 | sed 's,@LIBDIR@,%{_libdir},' %{SOURCE4} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox | |
327 | chmod 755 $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox | |
328 | ln -s mozilla-firefox $RPM_BUILD_ROOT%{_bindir}/firefox | |
329 | ||
330 | cp -a browser/branding/unofficial/content/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-firefox.png | |
331 | cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop | |
332 | ||
333 | # files created by firefox -register | |
334 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat | |
335 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat | |
336 | ||
337 | cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate | |
338 | #!/bin/sh | |
339 | umask 022 | |
340 | rm -f %{_libdir}/%{name}/components/{compreg,xpti}.dat | |
341 | ||
342 | # it attempts to touch files in $HOME/.mozilla | |
343 | # beware if you run this with sudo!!! | |
344 | export HOME=$(mktemp -d) | |
345 | # also TMPDIR could be pointing to sudo user's homedir | |
346 | unset TMPDIR TMP || : | |
347 | ||
348 | %{_libdir}/%{name}/firefox -register | |
349 | ||
350 | rm -rf $HOME | |
351 | EOF | |
352 | chmod 755 $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate | |
353 | ||
354 | %clean | |
355 | rm -rf $RPM_BUILD_ROOT | |
356 | ||
357 | %pretrans | |
358 | if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then | |
359 | mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave} | |
360 | fi | |
361 | for d in chrome defaults extensions greprefs.js icons res searchplugins; do | |
362 | if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then | |
363 | install -d %{_datadir}/%{name} | |
364 | mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d | |
365 | fi | |
366 | done | |
367 | exit 0 | |
368 | ||
369 | %post | |
370 | %{_sbindir}/%{name}-chrome+xpcom-generate | |
371 | %update_browser_plugins | |
372 | %update_desktop_database | |
373 | ||
374 | %postun | |
375 | if [ "$1" = 0 ]; then | |
376 | %update_browser_plugins | |
377 | fi | |
378 | ||
379 | %files | |
380 | %defattr(644,root,root,755) | |
381 | %attr(755,root,root) %{_bindir}/%{name} | |
382 | %attr(755,root,root) %{_bindir}/firefox | |
383 | %attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate | |
384 | ||
385 | # browser plugins v2 | |
386 | %{_browserpluginsconfdir}/browsers.d/%{name}.* | |
387 | %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist | |
388 | ||
389 | %dir %{_libdir}/%{name} | |
390 | %if %{without xulrunner} | |
391 | %attr(755,root,root) %{_libdir}/%{name}/libmozalloc.so | |
392 | %attr(755,root,root) %{_libdir}/%{name}/libmozjs.so | |
393 | %attr(755,root,root) %{_libdir}/%{name}/libxpcom.so | |
394 | %attr(755,root,root) %{_libdir}/%{name}/libxul.so | |
395 | %endif | |
396 | %{_libdir}/%{name}/blocklist.xml | |
397 | ||
398 | %if %{with crashreporter} | |
399 | %{_libdir}/%{name}/crashreporter | |
400 | %{_libdir}/%{name}/crashreporter-override.ini | |
401 | %{_libdir}/%{name}/crashreporter.ini | |
402 | %{_libdir}/%{name}/Throbber-small.gif | |
403 | %endif | |
404 | ||
405 | # config? | |
406 | %{_libdir}/%{name}/application.ini | |
407 | %{_libdir}/%{name}/chrome.manifest | |
408 | ||
409 | %dir %{_libdir}/%{name}/components | |
410 | ||
411 | %{_libdir}/%{name}/components/Aitc.js | |
412 | %{_libdir}/%{name}/components/ChromeProfileMigrator.js | |
413 | %{_libdir}/%{name}/components/DownloadsStartup.js | |
414 | %{_libdir}/%{name}/components/DownloadsUI.js | |
415 | %{_libdir}/%{name}/components/FeedConverter.js | |
416 | %{_libdir}/%{name}/components/FeedWriter.js | |
417 | %{_libdir}/%{name}/components/FirefoxProfileMigrator.js | |
418 | %{_libdir}/%{name}/components/PageThumbsProtocol.js | |
419 | %{_libdir}/%{name}/components/PlacesProtocolHandler.js | |
420 | %{_libdir}/%{name}/components/ProfileMigrator.js | |
421 | %{_libdir}/%{name}/components/Weave.js | |
422 | %{_libdir}/%{name}/components/WebContentConverter.js | |
423 | %{_libdir}/%{name}/components/browser.xpt | |
424 | %{_libdir}/%{name}/components/fuelApplication.js | |
425 | %{_libdir}/%{name}/components/nsBrowserContentHandler.js | |
426 | %{_libdir}/%{name}/components/nsBrowserGlue.js | |
427 | %{_libdir}/%{name}/components/nsPrivateBrowsingService.js | |
428 | %{_libdir}/%{name}/components/nsSessionStartup.js | |
429 | %{_libdir}/%{name}/components/nsSessionStore.js | |
430 | %{_libdir}/%{name}/components/nsSetDefaultBrowser.js | |
431 | %{_libdir}/%{name}/components/nsSidebar.js | |
432 | ||
433 | %{_libdir}/%{name}/components/components.manifest | |
434 | %{_libdir}/%{name}/components/interfaces.manifest | |
435 | ||
436 | %if %{without xulrunner} | |
437 | %{_libdir}/%{name}/dependentlibs.list | |
438 | %{_libdir}/%{name}/platform.ini | |
439 | %{_libdir}/%{name}/components/AppsService.js | |
440 | %{_libdir}/%{name}/components/BrowserElementParent.js | |
441 | %{_libdir}/%{name}/components/ConsoleAPI.js | |
442 | %{_libdir}/%{name}/components/ContactManager.js | |
443 | %{_libdir}/%{name}/components/FeedProcessor.js | |
444 | %{_libdir}/%{name}/components/GPSDGeolocationProvider.js | |
445 | %{_libdir}/%{name}/components/NetworkGeolocationProvider.js | |
446 | %{_libdir}/%{name}/components/PlacesCategoriesStarter.js | |
447 | %{_libdir}/%{name}/components/SettingsManager.js | |
448 | %{_libdir}/%{name}/components/TelemetryPing.js | |
449 | %{_libdir}/%{name}/components/addonManager.js | |
450 | %{_libdir}/%{name}/components/amContentHandler.js | |
451 | %{_libdir}/%{name}/components/amWebInstallListener.js | |
452 | %{_libdir}/%{name}/components/contentAreaDropListener.js | |
453 | %{_libdir}/%{name}/components/contentSecurityPolicy.js | |
454 | %{_libdir}/%{name}/components/crypto-SDR.js | |
455 | %{_libdir}/%{name}/components/jsconsole-clhandler.js | |
456 | %{_libdir}/%{name}/components/messageWakeupService.js | |
457 | %{_libdir}/%{name}/components/nsBadCertHandler.js | |
458 | %{_libdir}/%{name}/components/nsBlocklistService.js | |
459 | %{_libdir}/%{name}/components/nsContentDispatchChooser.js | |
460 | %{_libdir}/%{name}/components/nsContentPrefService.js | |
461 | %{_libdir}/%{name}/components/nsDefaultCLH.js | |
462 | %{_libdir}/%{name}/components/nsDownloadManagerUI.js | |
463 | %{_libdir}/%{name}/components/nsFilePicker.js | |
464 | %{_libdir}/%{name}/components/nsFormAutoComplete.js | |
465 | %{_libdir}/%{name}/components/nsFormHistory.js | |
466 | %{_libdir}/%{name}/components/nsHandlerService.js | |
467 | %{_libdir}/%{name}/components/nsHelperAppDlg.js | |
468 | %{_libdir}/%{name}/components/nsINIProcessor.js | |
469 | %{_libdir}/%{name}/components/nsInputListAutoComplete.js | |
470 | %{_libdir}/%{name}/components/nsLivemarkService.js | |
471 | %{_libdir}/%{name}/components/nsLoginInfo.js | |
472 | %{_libdir}/%{name}/components/nsLoginManager.js | |
473 | %{_libdir}/%{name}/components/nsLoginManagerPrompter.js | |
474 | %{_libdir}/%{name}/components/nsPlacesAutoComplete.js | |
475 | %{_libdir}/%{name}/components/nsPlacesExpiration.js | |
476 | %{_libdir}/%{name}/components/nsPrompter.js | |
477 | %{_libdir}/%{name}/components/nsProxyAutoConfig.js | |
478 | %{_libdir}/%{name}/components/nsSearchService.js | |
479 | %{_libdir}/%{name}/components/nsSearchSuggestions.js | |
480 | %{_libdir}/%{name}/components/nsTaggingService.js | |
481 | %{_libdir}/%{name}/components/nsURLFormatter.js | |
482 | %{_libdir}/%{name}/components/nsUrlClassifierHashCompleter.js | |
483 | %{_libdir}/%{name}/components/nsUrlClassifierLib.js | |
484 | %{_libdir}/%{name}/components/nsUrlClassifierListManager.js | |
485 | %{_libdir}/%{name}/components/nsWebHandlerApp.js | |
486 | %{_libdir}/%{name}/components/storage-Legacy.js | |
487 | %{_libdir}/%{name}/components/storage-mozStorage.js | |
488 | %{_libdir}/%{name}/components/txEXSLTRegExFunctions.js | |
489 | %endif | |
490 | ||
491 | %{_libdir}/%{name}/webapprt | |
492 | %attr(755,root,root) %{_libdir}/%{name}/webapprt-stub | |
493 | ||
494 | %attr(755,root,root) %{_libdir}/%{name}/components/libbrowsercomps.so | |
495 | %if %{without xulrunner} | |
496 | %attr(755,root,root) %{_libdir}/%{name}/components/libdbusservice.so | |
497 | %endif | |
498 | ||
499 | %if %{without xulrunner} | |
500 | %attr(755,root,root) %{_libdir}/%{name}/components/libmozgnome.so | |
501 | %endif | |
502 | ||
503 | %attr(755,root,root) %{_libdir}/%{name}/firefox | |
504 | %dir %{_libdir}/%{name}/plugins | |
505 | %if %{without xulrunner} | |
506 | %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh | |
507 | %attr(755,root,root) %{_libdir}/%{name}/firefox-bin | |
508 | %attr(755,root,root) %{_libdir}/%{name}/mozilla-xremote-client | |
509 | %attr(755,root,root) %{_libdir}/%{name}/plugin-container | |
510 | %endif | |
511 | ||
512 | %{_pixmapsdir}/mozilla-firefox.png | |
513 | %{_desktopdir}/mozilla-firefox.desktop | |
514 | ||
515 | # symlinks | |
516 | %{_libdir}/%{name}/chrome | |
517 | %{_libdir}/%{name}/defaults | |
518 | %{_libdir}/%{name}/extensions | |
519 | %{_libdir}/%{name}/icons | |
520 | %{_libdir}/%{name}/modules | |
521 | %{_libdir}/%{name}/searchplugins | |
522 | %if %{with xulrunner} | |
523 | %{_libdir}/%{name}/xulrunner | |
524 | %else | |
525 | %{_libdir}/%{name}/dictionaries | |
526 | %{_libdir}/%{name}/hyphenation | |
527 | %{_libdir}/%{name}/greprefs.js | |
528 | %{_libdir}/%{name}/res | |
529 | %endif | |
530 | ||
531 | %dir %{_datadir}/%{name} | |
532 | %{_datadir}/%{name}/chrome | |
533 | %{_datadir}/%{name}/defaults | |
534 | %{_datadir}/%{name}/icons | |
535 | %{_datadir}/%{name}/modules | |
536 | %{_datadir}/%{name}/searchplugins | |
537 | %if %{without xulrunner} | |
538 | %{_datadir}/%{name}/greprefs.js | |
539 | %{_datadir}/%{name}/res | |
540 | %endif | |
541 | ||
542 | %dir %{_datadir}/%{name}/extensions | |
543 | # the signature of the default theme | |
544 | %{_datadir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} | |
545 | ||
546 | # files created by firefox -register | |
547 | %ghost %{_libdir}/%{name}/components/compreg.dat | |
548 | %ghost %{_libdir}/%{name}/components/xpti.dat |