]>
Commit | Line | Data |
---|---|---|
e36ee87a | 1 | # |
2 | # TODO: | |
3 | # - handle locales differently (runtime, since it's possible to do) | |
4 | # - see ftp://ftp.debian.org/debian/pool/main/m/mozilla-firefox/*diff* | |
5 | # for hints how to make locales | |
6 | # - (12:22:58) patrys: can you also move _libdir/mozilla-firefox to just _libdir/firefox? | |
7 | # (12:23:25) patrys: it's not like we ship official firefox | |
8 | # - fix wrapper script to allow playing with profiles (must not use -remote) | |
9 | # | |
10 | # Conditional build: | |
11 | %bcond_with tests # enable tests (whatever they check) | |
12 | %bcond_without gnomeui # disable gnomeui support | |
13 | %bcond_without gnomevfs # disable GNOME comp. (gconf+libgnome+gnomevfs) and gnomevfs ext. | |
14 | %bcond_without gnome # disable all GNOME components (gnome+gnomeui+gnomevfs) | |
15 | %bcond_without kerberos # disable krb5 support | |
16 | %bcond_with xulrunner # build with system xulrunner | |
17 | ||
18 | %if %{without gnome} | |
19 | %undefine with_gnomeui | |
20 | %undefine with_gnomevfs | |
21 | %endif | |
22 | ||
85828e5a | 23 | %define subver rc3 |
4b5cc297 | 24 | %define rel 0.1 |
e36ee87a | 25 | Summary: Firefox Community Edition web browser |
26 | Summary(pl.UTF-8): Firefox Community Edition - przeglądarka WWW | |
27 | Name: mozilla-firefox | |
4b5cc297 ER |
28 | Version: 3.5 |
29 | Release: %{subver}.%{rel} | |
e36ee87a | 30 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ |
31 | Group: X11/Applications/Networking | |
4b5cc297 | 32 | Source0: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}%{subver}/source/firefox-%{version}%{subver}-source.tar.bz2 |
85828e5a | 33 | # Source0-md5: f8a9146a0a3dcc18fb22b72f4e8a9e94 |
e36ee87a | 34 | Source1: %{name}.desktop |
35 | Source2: %{name}.sh | |
36 | Patch0: %{name}-install.patch | |
37 | Patch1: %{name}-gcc3.patch | |
38 | Patch2: %{name}-agent.patch | |
39 | Patch3: %{name}-agent-ac.patch | |
40 | Patch4: %{name}-ti-agent.patch | |
41 | Patch5: %{name}-branding.patch | |
42 | Patch6: %{name}-prefs.patch | |
43 | Patch7: %{name}-nss_cflags.patch | |
44 | URL: http://www.mozilla.org/projects/firefox/ | |
45 | %{?with_gnomevfs:BuildRequires: GConf2-devel >= 1.2.1} | |
46 | BuildRequires: automake | |
47 | BuildRequires: cairo-devel >= 1.6.0 | |
48 | BuildRequires: dbus-glib-devel >= 0.60 | |
49 | BuildRequires: glib2-devel | |
50 | %{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.0} | |
51 | BuildRequires: gtk+2-devel >= 2:2.10 | |
238e3b56 SP |
52 | BuildRequires: libiw-devel |
53 | BuildRequires: xorg-util-makedepend | |
54 | BuildRequires: zlib-devel | |
e36ee87a | 55 | %if "%{pld_release}" == "ac" |
56 | %{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1} | |
57 | %else | |
58 | %{?with_kerberos:BuildRequires: krb5-devel} | |
59 | %endif | |
60 | BuildRequires: libIDL-devel >= 0.8.0 | |
61 | %{?with_gnomevfs:BuildRequires: libgnome-devel >= 2.0} | |
62 | %{?with_gnomeui:BuildRequires: libgnomeui-devel >= 2.2.0} | |
63 | BuildRequires: libjpeg-devel >= 6b | |
64 | BuildRequires: libpng(APNG)-devel >= 0.10 | |
65 | BuildRequires: libpng-devel >= 1.2.7 | |
66 | BuildRequires: libstdc++-devel | |
d657bcb8 | 67 | BuildRequires: nspr-devel >= 4.8 |
e36ee87a | 68 | BuildRequires: nss-devel >= 1:3.12-2 |
69 | BuildRequires: pango-devel >= 1:1.10.0 | |
70 | BuildRequires: perl-modules >= 5.004 | |
71 | BuildRequires: pkgconfig | |
72 | BuildRequires: python-modules | |
e36ee87a | 73 | BuildRequires: rpm >= 4.4.9-56 |
74 | BuildRequires: rpmbuild(macros) >= 1.453 | |
fa5a04b2 | 75 | BuildRequires: sqlite3-devel >= 3.5.9 |
e36ee87a | 76 | BuildRequires: startup-notification-devel |
77 | %if "%{pld_release}" == "ac" | |
78 | BuildRequires: XFree86-devel | |
79 | %else | |
80 | BuildRequires: xorg-lib-libXext-devel | |
81 | BuildRequires: xorg-lib-libXft-devel >= 2.1 | |
82 | BuildRequires: xorg-lib-libXinerama-devel | |
83 | BuildRequires: xorg-lib-libXp-devel | |
84 | BuildRequires: xorg-lib-libXt-devel | |
85 | %endif | |
86 | %if %{with xulrunner} | |
87 | BuildRequires: xulrunner-devel >= 1.9-2 | |
88 | %endif | |
89 | BuildRequires: zip | |
90 | BuildRequires: zlib-devel >= 1.2.3 | |
91 | Requires(post): mktemp >= 1.5-18 | |
92 | %if %{without xulrunner} | |
93 | Requires: browser-plugins >= 2.0 | |
94 | %endif | |
95 | Requires: cairo >= 1.6.0 | |
96 | Requires: gtk+2 >= 2:2.10 | |
97 | Requires: libpng(APNG) >= 0.10 | |
98 | Requires: nspr >= 1:4.7 | |
99 | Requires: nss >= 1:3.12-2 | |
100 | Requires: pango >= 1:1.10.0 | |
101 | Requires: sqlite3 >= 3.5.9 | |
102 | %if %{with xulrunner} | |
103 | %requires_eq_to xulrunner xulrunner-devel | |
104 | %endif | |
105 | Provides: wwwbrowser | |
106 | Obsoletes: mozilla-firebird | |
107 | Obsoletes: mozilla-firefox-lang-en < 2.0.0.8-3 | |
108 | Obsoletes: mozilla-firefox-libs | |
109 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
110 | ||
111 | # don't satisfy other packages (don't use %{name} here) | |
112 | %define _noautoprovfiles %{_libdir}/mozilla-firefox | |
113 | # and as we don't provide them, don't require either | |
114 | %define _noautoreq libmozjs.so libxpcom.so libxul.so libjemalloc.so | |
115 | ||
116 | %if "%{cc_version}" >= "3.4" | |
117 | %define specflags -fno-strict-aliasing -fno-tree-vrp -fno-stack-protector | |
118 | %else | |
119 | %define specflags -fno-strict-aliasing | |
120 | %endif | |
121 | ||
122 | %description | |
123 | Firefox Community Edition is an open-source web browser, designed for | |
124 | standards compliance, performance and portability. | |
125 | ||
126 | %description -l pl.UTF-8 | |
127 | Firefox Community Edition jest przeglądarką WWW rozpowszechnianą | |
128 | zgodnie z ideami ruchu otwartego oprogramowania oraz tworzoną z myślą | |
129 | o zgodności ze standardami, wydajnością i przenośnością. | |
130 | ||
131 | %prep | |
fa5a04b2 | 132 | %setup -qc |
5d28b5e8 SP |
133 | cd mozilla-1.9.1 |
134 | #%patch0 -p1 | |
e36ee87a | 135 | |
136 | %if "%{cc_version}" < "3.4" | |
137 | %patch1 -p2 | |
138 | %endif | |
139 | ||
140 | %if "%{pld_release}" == "th" | |
141 | %patch2 -p1 | |
142 | %endif | |
143 | ||
144 | %if "%{pld_release}" == "ac" | |
145 | %patch3 -p1 | |
146 | %endif | |
147 | ||
148 | %if "%{pld_release}" == "ti" | |
149 | %patch4 -p1 | |
150 | %endif | |
151 | ||
72a6f1e1 | 152 | %patch5 -p1 |
fa5a04b2 SP |
153 | %patch6 -p1 |
154 | %patch7 -p1 | |
e36ee87a | 155 | |
156 | %build | |
5d28b5e8 | 157 | cd mozilla-1.9.1 |
e36ee87a | 158 | cp -f %{_datadir}/automake/config.* build/autoconf |
159 | cp -f %{_datadir}/automake/config.* nsprpub/build/autoconf | |
160 | ||
161 | cat << 'EOF' > .mozconfig | |
162 | . $topsrcdir/browser/config/mozconfig | |
163 | ||
164 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu} | |
165 | ||
166 | # Options for 'configure' (same as command-line options). | |
167 | ac_add_options --prefix=%{_prefix} | |
168 | ac_add_options --exec-prefix=%{_exec_prefix} | |
169 | ac_add_options --bindir=%{_bindir} | |
170 | ac_add_options --sbindir=%{_sbindir} | |
171 | ac_add_options --sysconfdir=%{_sysconfdir} | |
172 | ac_add_options --datadir=%{_datadir} | |
173 | ac_add_options --includedir=%{_includedir} | |
174 | ac_add_options --libdir=%{_libdir} | |
175 | ac_add_options --libexecdir=%{_libexecdir} | |
176 | ac_add_options --localstatedir=%{_localstatedir} | |
177 | ac_add_options --sharedstatedir=%{_sharedstatedir} | |
178 | ac_add_options --mandir=%{_mandir} | |
179 | ac_add_options --infodir=%{_infodir} | |
180 | %if %{?debug:1}0 | |
181 | ac_add_options --disable-optimize | |
182 | ac_add_options --enable-debug | |
183 | ac_add_options --enable-debug-modules | |
184 | ac_add_options --enable-debugger-info-modules | |
185 | ac_add_options --enable-crash-on-assert | |
186 | %else | |
187 | ac_add_options --disable-debug | |
188 | ac_add_options --disable-debug-modules | |
189 | ac_add_options --disable-logging | |
190 | ac_add_options --enable-optimize="%{rpmcflags} -Os" | |
191 | %endif | |
192 | %if %{with tests} | |
193 | ac_add_options --enable-tests | |
194 | %else | |
195 | ac_add_options --disable-tests | |
196 | %endif | |
197 | %if %{with gnomeui} | |
198 | ac_add_options --enable-gnomeui | |
199 | %else | |
200 | ac_add_options --disable-gnomeui | |
201 | %endif | |
202 | %if %{with gnomevfs} | |
203 | ac_add_options --enable-gnomevfs | |
204 | %else | |
205 | ac_add_options --disable-gnomevfs | |
206 | %endif | |
207 | ac_add_options --disable-crashreporter | |
208 | ac_add_options --disable-installer | |
209 | ac_add_options --disable-javaxpcom | |
210 | ac_add_options --disable-updater | |
211 | ac_add_options --disable-strip | |
212 | ac_add_options --disable-xprint | |
213 | ac_add_options --enable-startup-notification | |
214 | ac_add_options --enable-svg | |
215 | ac_add_options --enable-system-cairo | |
216 | ac_add_options --enable-system-sqlite | |
217 | ac_add_options --enable-libxul | |
218 | ac_add_options --enable-xinerama | |
219 | ac_add_options --with-distribution-id=org.pld-linux | |
220 | %if %{with xulrunner} | |
221 | ac_add_options --with-libxul-sdk=%{_libdir}/xulrunner-sdk | |
222 | %endif | |
223 | ac_add_options --with-pthreads | |
224 | ac_add_options --with-system-jpeg | |
225 | ac_add_options --with-system-nspr | |
226 | ac_add_options --with-system-nss | |
227 | ac_add_options --with-system-png | |
228 | ac_add_options --with-system-zlib | |
229 | ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name} | |
230 | EOF | |
231 | ||
d657bcb8 | 232 | %{__make} -f client.mk build \ |
e36ee87a | 233 | STRIP="/bin/true" \ |
234 | CC="%{__cc}" \ | |
235 | CXX="%{__cxx}" | |
236 | ||
237 | %install | |
238 | rm -rf $RPM_BUILD_ROOT | |
a8c31017 | 239 | cd mozilla-1.9.1 |
e36ee87a | 240 | install -d \ |
241 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \ | |
242 | $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \ | |
243 | $RPM_BUILD_ROOT%{_datadir}/%{name} | |
244 | ||
245 | %if %{without xulrunner} | |
246 | %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins | |
247 | %endif | |
248 | ||
249 | %{__make} -C obj-%{_target_cpu}/browser/installer stage-package \ | |
250 | DESTDIR=$RPM_BUILD_ROOT \ | |
251 | MOZ_PKG_APPDIR=%{_libdir}/%{name} \ | |
252 | PKG_SKIP_STRIP=1 | |
253 | ||
254 | # move arch independant ones to datadir | |
255 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome | |
256 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults | |
257 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions | |
258 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/icons | |
259 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/modules $RPM_BUILD_ROOT%{_datadir}/%{name}/modules | |
260 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins | |
261 | %if %{without xulrunner} | |
262 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs | |
263 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res | |
264 | %endif | |
265 | ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome | |
266 | ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults | |
267 | ln -s ../../share/%{name}/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions | |
268 | ln -s ../../share/%{name}/modules $RPM_BUILD_ROOT%{_libdir}/%{name}/modules | |
269 | ln -s ../../share/%{name}/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/icons | |
270 | ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins | |
271 | %if %{without xulrunner} | |
272 | ln -s ../../share/%{name}/greprefs $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs | |
273 | ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res | |
274 | %endif | |
275 | ||
276 | %if %{without xulrunner} | |
277 | rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
278 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries | |
279 | %endif | |
280 | ||
281 | sed 's,@LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox | |
282 | ln -s mozilla-firefox $RPM_BUILD_ROOT%{_bindir}/firefox | |
283 | ||
284 | install browser/base/branding/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-firefox.png | |
285 | ||
286 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop | |
287 | ||
288 | # files created by regxpcom and firefox -register | |
289 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat | |
290 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat | |
291 | ||
292 | # what's this? it's content is invalid anyway. | |
293 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list | |
294 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/old-homepage-default.properties | |
295 | ||
296 | cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate | |
297 | #!/bin/sh | |
298 | umask 022 | |
299 | rm -f %{_libdir}/%{name}/components/{compreg,xpti}.dat | |
300 | ||
301 | # it attempts to touch files in $HOME/.mozilla | |
302 | # beware if you run this with sudo!!! | |
303 | export HOME=$(mktemp -d) | |
304 | # also TMPDIR could be pointing to sudo user's homedir | |
305 | unset TMPDIR TMP || : | |
306 | ||
307 | #LD_LIBRARY_PATH=%{_libdir}/%{name}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %{_libdir}/%{name}/regxpcom | |
308 | %{_libdir}/%{name}/firefox -register | |
309 | ||
310 | rm -rf $HOME | |
311 | EOF | |
312 | ||
313 | %clean | |
314 | rm -rf $RPM_BUILD_ROOT | |
315 | ||
316 | %pretrans | |
317 | if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then | |
318 | mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave} | |
319 | fi | |
320 | for d in chrome defaults extensions greprefs icons res searchplugins; do | |
321 | if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then | |
322 | install -d %{_datadir}/%{name} | |
323 | mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d | |
324 | fi | |
325 | done | |
326 | exit 0 | |
327 | ||
328 | %post | |
329 | %{_sbindir}/%{name}-chrome+xpcom-generate | |
330 | %if %{without xulrunner} | |
331 | %update_browser_plugins | |
332 | %endif | |
333 | ||
334 | %postun | |
335 | %if %{without xulrunner} | |
336 | if [ "$1" = 0 ]; then | |
337 | %update_browser_plugins | |
338 | fi | |
339 | %endif | |
340 | ||
341 | %files | |
342 | %defattr(644,root,root,755) | |
343 | %attr(755,root,root) %{_bindir}/%{name} | |
344 | %attr(755,root,root) %{_bindir}/firefox | |
345 | %attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate | |
346 | ||
347 | %if %{without xulrunner} | |
348 | # browser plugins v2 | |
349 | %{_browserpluginsconfdir}/browsers.d/%{name}.* | |
350 | %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist | |
351 | %endif | |
352 | ||
353 | %dir %{_libdir}/%{name} | |
354 | %attr(755,root,root) %{_libdir}/%{name}/libjemalloc.so | |
355 | %if %{without xulrunner} | |
356 | %attr(755,root,root) %{_libdir}/%{name}/libmozjs.so | |
357 | %attr(755,root,root) %{_libdir}/%{name}/libxpcom.so | |
358 | %attr(755,root,root) %{_libdir}/%{name}/libxul.so | |
359 | %endif | |
360 | %{_libdir}/%{name}/blocklist.xml | |
361 | ||
362 | %if %{with crashreporter} | |
363 | %{_libdir}/%{name}/crashreporter | |
364 | %{_libdir}/%{name}/crashreporter-override.ini | |
365 | %{_libdir}/%{name}/crashreporter.ini | |
366 | %{_libdir}/%{name}/Throbber-small.gif | |
367 | %endif | |
368 | ||
369 | # config? | |
370 | %{_libdir}/%{name}/.autoreg | |
371 | %{_libdir}/%{name}/application.ini | |
372 | ||
373 | %dir %{_libdir}/%{name}/components | |
374 | ||
375 | %{_libdir}/%{name}/components/aboutRights.js | |
376 | %{_libdir}/%{name}/components/aboutRobots.js | |
377 | %{_libdir}/%{name}/components/FeedConverter.js | |
378 | %{_libdir}/%{name}/components/FeedWriter.js | |
379 | %{_libdir}/%{name}/components/WebContentConverter.js | |
380 | %{_libdir}/%{name}/components/browser.xpt | |
381 | %{_libdir}/%{name}/components/fuelApplication.js | |
382 | %{_libdir}/%{name}/components/nsBrowserContentHandler.js | |
383 | %{_libdir}/%{name}/components/nsBrowserGlue.js | |
384 | %{_libdir}/%{name}/components/nsMicrosummaryService.js | |
385 | %{_libdir}/%{name}/components/nsPlacesTransactionsService.js | |
386 | %{_libdir}/%{name}/components/nsSafebrowsingApplication.js | |
387 | %{_libdir}/%{name}/components/nsSearchService.js | |
388 | %{_libdir}/%{name}/components/nsSearchSuggestions.js | |
389 | %{_libdir}/%{name}/components/nsSessionStartup.js | |
390 | %{_libdir}/%{name}/components/nsSessionStore.js | |
391 | %{_libdir}/%{name}/components/nsSetDefaultBrowser.js | |
392 | %{_libdir}/%{name}/components/nsSidebar.js | |
393 | %if %{without xulrunner} | |
394 | %{_libdir}/%{name}/platform.ini | |
395 | %{_libdir}/%{name}/components/FeedProcessor.js | |
396 | %{_libdir}/%{name}/components/jsconsole-clhandler.js | |
397 | %{_libdir}/%{name}/components/nsAddonRepository.js | |
398 | %{_libdir}/%{name}/components/nsBadCertHandler.js | |
399 | %{_libdir}/%{name}/components/nsBlocklistService.js | |
400 | %{_libdir}/%{name}/components/nsContentDispatchChooser.js | |
401 | %{_libdir}/%{name}/components/nsContentPrefService.js | |
402 | %{_libdir}/%{name}/components/nsDefaultCLH.js | |
403 | %{_libdir}/%{name}/components/nsDownloadManagerUI.js | |
404 | %{_libdir}/%{name}/components/nsExtensionManager.js | |
405 | %{_libdir}/%{name}/components/nsFilePicker.js | |
406 | %{_libdir}/%{name}/components/nsHandlerService.js | |
407 | %{_libdir}/%{name}/components/nsHelperAppDlg.js | |
408 | %{_libdir}/%{name}/components/nsLivemarkService.js | |
409 | %{_libdir}/%{name}/components/nsLoginInfo.js | |
410 | %{_libdir}/%{name}/components/nsLoginManager.js | |
411 | %{_libdir}/%{name}/components/nsLoginManagerPrompter.js | |
412 | %{_libdir}/%{name}/components/nsProxyAutoConfig.js | |
413 | %{_libdir}/%{name}/components/nsTaggingService.js | |
414 | %{_libdir}/%{name}/components/nsTryToClose.js | |
415 | %{_libdir}/%{name}/components/nsURLFormatter.js | |
416 | %{_libdir}/%{name}/components/nsUpdateService.js | |
417 | %{_libdir}/%{name}/components/nsUrlClassifierLib.js | |
418 | %{_libdir}/%{name}/components/nsUrlClassifierListManager.js | |
419 | %{_libdir}/%{name}/components/nsWebHandlerApp.js | |
420 | %{_libdir}/%{name}/components/pluginGlue.js | |
421 | %{_libdir}/%{name}/components/storage-Legacy.js | |
422 | %{_libdir}/%{name}/components/txEXSLTRegExFunctions.js | |
423 | %endif | |
424 | ||
425 | %attr(755,root,root) %{_libdir}/%{name}/components/libbrowsercomps.so | |
426 | %attr(755,root,root) %{_libdir}/%{name}/components/libbrowserdirprovider.so | |
427 | %if %{without xulrunner} | |
428 | %attr(755,root,root) %{_libdir}/%{name}/components/libdbusservice.so | |
429 | %attr(755,root,root) %{_libdir}/%{name}/components/libimgicon.so | |
430 | %endif | |
431 | ||
432 | %if %{with gnomevfs} | |
433 | %if %{without xulrunner} | |
434 | %attr(755,root,root) %{_libdir}/%{name}/components/libmozgnome.so | |
435 | %endif | |
436 | %attr(755,root,root) %{_libdir}/%{name}/components/libnkgnomevfs.so | |
437 | %endif | |
438 | ||
439 | %attr(755,root,root) %{_libdir}/%{name}/*.sh | |
440 | %attr(755,root,root) %{_libdir}/%{name}/firefox | |
441 | %if %{without xulrunner} | |
442 | %attr(755,root,root) %{_libdir}/%{name}/firefox-bin | |
443 | %dir %{_libdir}/%{name}/plugins | |
444 | %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so | |
445 | %attr(755,root,root) %{_libdir}/%{name}/mozilla-xremote-client | |
446 | %endif | |
447 | %{_pixmapsdir}/mozilla-firefox.png | |
448 | %{_desktopdir}/mozilla-firefox.desktop | |
449 | ||
450 | # symlinks | |
451 | %{_libdir}/%{name}/chrome | |
452 | %{_libdir}/%{name}/defaults | |
453 | %{_libdir}/%{name}/extensions | |
454 | %{_libdir}/%{name}/icons | |
455 | %{_libdir}/%{name}/modules | |
456 | %{_libdir}/%{name}/searchplugins | |
457 | %if %{without xulrunner} | |
458 | %{_libdir}/%{name}/dictionaries | |
459 | %{_libdir}/%{name}/greprefs | |
460 | %{_libdir}/%{name}/res | |
461 | %endif | |
462 | ||
463 | # browserconfig | |
464 | %{_libdir}/%{name}/browserconfig.properties | |
465 | ||
466 | %{_libdir}/%{name}/README.txt | |
467 | ||
468 | %dir %{_datadir}/%{name} | |
469 | %{_datadir}/%{name}/chrome | |
470 | %{_datadir}/%{name}/defaults | |
471 | %{_datadir}/%{name}/icons | |
472 | %{_datadir}/%{name}/modules | |
473 | %{_datadir}/%{name}/searchplugins | |
474 | %if %{without xulrunner} | |
475 | %{_datadir}/%{name}/greprefs | |
476 | %{_datadir}/%{name}/res | |
477 | %endif | |
478 | ||
479 | %dir %{_datadir}/%{name}/extensions | |
480 | # -dom-inspector subpackage? | |
481 | #%{_datadir}/%{name}/extensions/inspector@mozilla.org | |
482 | # the signature of the default theme | |
483 | %{_datadir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} | |
484 | ||
485 | # files created by regxpcom and firefox -register | |
486 | %ghost %{_libdir}/%{name}/components/compreg.dat | |
487 | %ghost %{_libdir}/%{name}/components/xpti.dat |