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