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