]>
Commit | Line | Data |
---|---|---|
82f606de | 1 | # NOTE: PLD distributes iceweasel instead |
dfdf0ac8 | 2 | # |
0d00fa1b AM |
3 | # TODO: |
4 | # - handle locales differently (runtime, since it's possible to do) | |
5 | # - see ftp://ftp.debian.org/debian/pool/main/m/mozilla-firefox/*diff* | |
f37c2ce5 | 6 | # for hints how to make locales |
cec5c010 ER |
7 | # - (12:22:58) patrys: can you also move _libdir/mozilla-firefox to just _libdir/firefox? |
8 | # (12:23:25) patrys: it's not like we ship official firefox | |
0af918cf | 9 | # - fix wrapper script to allow playing with profiles (must not use -remote) |
2f695f11 | 10 | # |
ca6a7239 | 11 | # Conditional build: |
4ab16c9e JB |
12 | %bcond_with tests # enable tests (whatever they check) |
13 | %bcond_without gnomeui # disable gnomeui support | |
9df03825 | 14 | %bcond_without gnome # synonym for gnomeui (gconf, libnotify and gio are still enabled) |
2a673919 | 15 | %bcond_without kerberos # disable krb5 support |
d97ddc70 | 16 | %bcond_without xulrunner # system xulrunner |
2a673919 | 17 | |
4ab16c9e JB |
18 | %if %{without gnome} |
19 | %undefine with_gnomeui | |
4ab16c9e | 20 | %endif |
2a673919 | 21 | |
d97ddc70 JB |
22 | %if %{without xulrunner} |
23 | # The actual sqlite version (see RHBZ#480989): | |
24 | %define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR) | |
25 | %endif | |
26 | ||
52dbdf60 | 27 | Summary: Firefox Community Edition web browser |
948d1385 | 28 | Summary(pl.UTF-8): Firefox Community Edition - przeglądarka WWW |
ea721d92 | 29 | Name: mozilla-firefox |
438df47f | 30 | Version: 9.0.1 |
e6902292 | 31 | Release: 1 |
4ab16c9e | 32 | License: MPL 1.1 or GPL v2+ or LGPL v2.1+ |
51c0f20a | 33 | Group: X11/Applications/Networking |
f1613d3d | 34 | Source0: http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.bz2 |
438df47f | 35 | # Source0-md5: 7cf2bd379792a9b232267c6a79680566 |
7c7475d0 | 36 | Source1: %{name}.desktop |
37 | Source2: %{name}.sh | |
2a673919 | 38 | Patch0: %{name}-install.patch |
6ef56845 | 39 | Patch1: %{name}-gcc3.patch |
40 | Patch2: %{name}-agent.patch | |
41 | Patch3: %{name}-agent-ac.patch | |
20ac5a05 | 42 | Patch4: %{name}-ti-agent.patch |
29b16068 | 43 | Patch5: %{name}-branding.patch |
44 | Patch6: %{name}-prefs.patch | |
d1eea1c3 | 45 | Patch7: %{name}-nss_cflags.patch |
d97ddc70 | 46 | Patch8: %{name}-no-subshell.patch |
5f561b4c | 47 | URL: http://www.mozilla.org/projects/firefox/ |
9df03825 | 48 | BuildRequires: GConf2-devel >= 1.2.1 |
0fca8d8d | 49 | BuildRequires: OpenGL-devel |
d97ddc70 | 50 | BuildRequires: alsa-lib-devel |
e933d2a8 | 51 | BuildRequires: automake |
d97ddc70 | 52 | BuildRequires: bzip2-devel |
0fca8d8d | 53 | BuildRequires: cairo-devel >= 1.10.2-5 |
09328230 | 54 | BuildRequires: dbus-glib-devel >= 0.60 |
9df03825 | 55 | BuildRequires: glib2-devel >= 1:2.18 |
2a673919 | 56 | BuildRequires: gtk+2-devel >= 2:2.10 |
2a673919 | 57 | %{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1} |
d97ddc70 | 58 | BuildRequires: hunspell-devel |
8a88dcf7 | 59 | BuildRequires: libIDL-devel >= 0.8.0 |
d97ddc70 | 60 | BuildRequires: libdnet-devel |
0fca8d8d | 61 | BuildRequires: libevent-devel >= 1.4.7 |
4ab16c9e | 62 | %{?with_gnomeui:BuildRequires: libgnomeui-devel >= 2.2.0} |
d97ddc70 | 63 | BuildRequires: libiw-devel |
ea721d92 | 64 | BuildRequires: libjpeg-devel >= 6b |
17eb28c6 | 65 | BuildRequires: libnotify-devel >= 0.4 |
2a673919 | 66 | BuildRequires: libpng(APNG)-devel >= 0.10 |
0fca8d8d | 67 | BuildRequires: libpng-devel >= 1.4.1 |
ea721d92 | 68 | BuildRequires: libstdc++-devel |
0fca8d8d | 69 | BuildRequires: libvpx-devel |
438df47f JB |
70 | BuildRequires: nspr-devel >= 1:4.8.9 |
71 | BuildRequires: nss-devel >= 1:3.13.1 | |
82f606de | 72 | BuildRequires: pango-devel >= 1:1.14.0 |
56cf7ebf | 73 | BuildRequires: perl-modules >= 5.004 |
1bb00684 | 74 | BuildRequires: pkgconfig |
aef94f18 | 75 | BuildRequires: python-modules |
6b1581cf | 76 | BuildRequires: rpm >= 4.4.9-56 |
9df03825 | 77 | BuildRequires: rpmbuild(macros) >= 1.601 |
438df47f | 78 | BuildRequires: sqlite3-devel >= 3.7.7.1 |
d97ddc70 | 79 | BuildRequires: startup-notification-devel >= 0.8 |
0fca8d8d | 80 | BuildRequires: xorg-lib-libXScrnSaver-devel |
446ffaab | 81 | BuildRequires: xorg-lib-libXext-devel |
446ffaab | 82 | BuildRequires: xorg-lib-libXinerama-devel |
de5abc0a | 83 | BuildRequires: xorg-lib-libXt-devel |
f99152f1 | 84 | %if %{with xulrunner} |
0fca8d8d | 85 | BuildRequires: xulrunner-devel >= 2:%{version} |
f99152f1 | 86 | %endif |
b0a3aa79 | 87 | BuildRequires: zip |
1dd3785b | 88 | BuildRequires: zlib-devel >= 1.2.3 |
f37c2ce5 | 89 | Requires(post): mktemp >= 1.5-18 |
d97ddc70 JB |
90 | %if %{with xulrunner} |
91 | %requires_eq_to xulrunner xulrunner-devel | |
92 | %else | |
1408fb17 | 93 | Requires: browser-plugins >= 2.0 |
0fca8d8d | 94 | Requires: cairo >= 1.10.2-5 |
82f606de | 95 | Requires: dbus-glib >= 0.60 |
d97ddc70 | 96 | Requires: gtk+2 >= 2:2.18 |
0fca8d8d | 97 | Requires: libpng >= 1.4.1 |
2a673919 | 98 | Requires: libpng(APNG) >= 0.10 |
d97ddc70 | 99 | Requires: myspell-common |
438df47f JB |
100 | Requires: nspr >= 1:4.8.9 |
101 | Requires: nss >= 1:3.13.1 | |
82f606de | 102 | Requires: pango >= 1:1.14.0 |
d97ddc70 | 103 | Requires: sqlite3 >= %{sqlite_build_version} |
82f606de | 104 | Requires: startup-notification >= 0.8 |
f99152f1 | 105 | %endif |
0d52cac8 | 106 | Provides: wwwbrowser |
51c0f20a | 107 | Obsoletes: mozilla-firebird |
2620301e | 108 | Obsoletes: mozilla-firefox-lang-en < 2.0.0.8-3 |
c2814220 | 109 | Obsoletes: mozilla-firefox-libs |
ea721d92 | 110 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
111 | ||
09328230 JB |
112 | # don't satisfy other packages (don't use %{name} here) |
113 | %define _noautoprovfiles %{_libdir}/mozilla-firefox | |
4c7e703c | 114 | # and as we don't provide them, don't require either |
0fca8d8d | 115 | %define _noautoreq libmozjs.so libxpcom.so libxul.so %{!?with_xulrunner:libmozalloc.so} |
c14d6140 | 116 | |
2a673919 | 117 | %if "%{cc_version}" >= "3.4" |
2de50ddb | 118 | %define specflags -fno-strict-aliasing -fno-tree-vrp -fno-stack-protector |
2a673919 PZ |
119 | %else |
120 | %define specflags -fno-strict-aliasing | |
121 | %endif | |
d3b02e37 | 122 | |
ea721d92 | 123 | %description |
52dbdf60 ER |
124 | Firefox Community Edition is an open-source web browser, designed for |
125 | standards compliance, performance and portability. | |
ea721d92 | 126 | |
eace6cdf | 127 | %description -l pl.UTF-8 |
c0bec9dd | 128 | Firefox Community Edition jest przeglądarką WWW rozpowszechnianą |
e236f127 | 129 | zgodnie z ideami ruchu otwartego oprogramowania oraz tworzoną z myślą |
130 | o zgodności ze standardami, wydajnością i przenośnością. | |
ea721d92 | 131 | |
132 | %prep | |
d97ddc70 | 133 | %setup -qc |
0fca8d8d | 134 | mv -f mozilla-release mozilla |
56143477 | 135 | cd mozilla |
d97ddc70 | 136 | |
d541162e | 137 | %patch0 -p1 |
6ef56845 | 138 | |
139 | %if "%{cc_version}" < "3.4" | |
140 | %patch1 -p2 | |
141 | %endif | |
142 | ||
143 | %if "%{pld_release}" == "th" | |
8bc15110 | 144 | %patch2 -p1 |
2a673919 | 145 | %endif |
6ef56845 | 146 | |
147 | %if "%{pld_release}" == "ac" | |
148 | %patch3 -p1 | |
149 | %endif | |
150 | ||
151 | %if "%{pld_release}" == "ti" | |
152 | %patch4 -p1 | |
6b1581cf | 153 | %endif |
a4a42caf | 154 | |
29b16068 | 155 | %patch5 -p1 |
156 | %patch6 -p1 | |
d1eea1c3 | 157 | %patch7 -p1 |
d97ddc70 | 158 | %patch8 -p2 |
29b16068 | 159 | |
438df47f JB |
160 | # config/rules.mk is patched by us and js/src/config/rules.mk |
161 | # is supposed to be exact copy | |
162 | cp -a config/rules.mk js/src/config/rules.mk | |
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 | 211 | ac_add_options --disable-gnomevfs |
2a673919 | 212 | ac_add_options --disable-crashreporter |
52befddb | 213 | ac_add_options --disable-installer |
f37c2ce5 ER |
214 | ac_add_options --disable-javaxpcom |
215 | ac_add_options --disable-updater | |
0fca8d8d | 216 | ac_add_options --enable-gio |
d97ddc70 JB |
217 | ac_add_options --enable-libxul |
218 | ac_add_options --enable-pango | |
0fca8d8d | 219 | ac_add_options --enable-shared-js |
2a673919 | 220 | ac_add_options --enable-startup-notification |
52befddb | 221 | ac_add_options --enable-system-cairo |
d97ddc70 | 222 | ac_add_options --enable-system-hunspell |
dfdf0ac8 | 223 | ac_add_options --enable-system-sqlite |
f37c2ce5 | 224 | ac_add_options --with-distribution-id=org.pld-linux |
f99152f1 | 225 | %if %{with xulrunner} |
d97ddc70 | 226 | ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul) |
f99152f1 | 227 | %endif |
2a673919 | 228 | ac_add_options --with-pthreads |
d97ddc70 | 229 | ac_add_options --with-system-bz2 |
2620301e | 230 | ac_add_options --with-system-jpeg |
0fca8d8d JB |
231 | ac_add_options --with-system-libevent |
232 | ac_add_options --with-system-libvpx | |
52befddb | 233 | ac_add_options --with-system-nspr |
f37c2ce5 | 234 | ac_add_options --with-system-nss |
f37c2ce5 | 235 | ac_add_options --with-system-png |
2620301e | 236 | ac_add_options --with-system-zlib |
6162f349 | 237 | ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name} |
52befddb | 238 | EOF |
33f81726 | 239 | |
0fca8d8d | 240 | %{__make} -f client.mk build \ |
2a673919 | 241 | STRIP="/bin/true" \ |
3d445135 | 242 | CC="%{__cc}" \ |
33f81726 | 243 | CXX="%{__cxx}" |
ea721d92 | 244 | |
245 | %install | |
246 | rm -rf $RPM_BUILD_ROOT | |
56143477 | 247 | cd mozilla |
45f27404 | 248 | install -d \ |
f37c2ce5 | 249 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \ |
45f27404 | 250 | $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \ |
93639547 | 251 | $RPM_BUILD_ROOT%{_datadir}/%{name} |
75e09104 | 252 | |
8bc15110 PZ |
253 | %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins |
254 | ||
2a673919 | 255 | %{__make} -C obj-%{_target_cpu}/browser/installer stage-package \ |
d541162e | 256 | DESTDIR=$RPM_BUILD_ROOT \ |
0fca8d8d | 257 | MOZ_PKG_DIR=%{_libdir}/%{name} \ |
f37c2ce5 | 258 | PKG_SKIP_STRIP=1 |
ea721d92 | 259 | |
d97ddc70 JB |
260 | install -d \ |
261 | $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins | |
262 | ||
0fca8d8d JB |
263 | %if %{with xulrunner} |
264 | # >= 5.0 seems to require this | |
265 | ln -s ../xulrunner $RPM_BUILD_ROOT%{_libdir}/%{name}/xulrunner | |
266 | %endif | |
267 | ||
f86547d4 ER |
268 | # move arch independant ones to datadir |
269 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome | |
270 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults | |
f86547d4 | 271 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions |
f86547d4 | 272 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/icons |
2a673919 | 273 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/modules $RPM_BUILD_ROOT%{_datadir}/%{name}/modules |
f86547d4 | 274 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins |
f99152f1 | 275 | %if %{without xulrunner} |
0fca8d8d | 276 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs.js $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs.js |
f99152f1 | 277 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res |
278 | %endif | |
d97ddc70 | 279 | |
f86547d4 ER |
280 | ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome |
281 | ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults | |
f86547d4 | 282 | ln -s ../../share/%{name}/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions |
2a673919 | 283 | ln -s ../../share/%{name}/modules $RPM_BUILD_ROOT%{_libdir}/%{name}/modules |
f86547d4 | 284 | ln -s ../../share/%{name}/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/icons |
f86547d4 | 285 | ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins |
f99152f1 | 286 | %if %{without xulrunner} |
0fca8d8d | 287 | ln -s ../../share/%{name}/greprefs.js $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs.js |
f99152f1 | 288 | ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res |
289 | %endif | |
f86547d4 | 290 | |
f99152f1 | 291 | %if %{without xulrunner} |
f1613d3d | 292 | %{__rm} -r $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries |
4d687af8 | 293 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries |
f99152f1 | 294 | %endif |
4d687af8 | 295 | |
7c7475d0 | 296 | sed 's,@LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox |
82f606de | 297 | chmod 755 $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox |
8bc15110 | 298 | ln -s mozilla-firefox $RPM_BUILD_ROOT%{_bindir}/firefox |
ea721d92 | 299 | |
d97ddc70 JB |
300 | cp -a browser/branding/unofficial/content/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-firefox.png |
301 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop | |
ea721d92 | 302 | |
d97ddc70 | 303 | # files created by firefox -register |
6162f349 ER |
304 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat |
305 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat | |
f37c2ce5 | 306 | |
d97ddc70 | 307 | %if %{with xulrunner} |
f1613d3d | 308 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/run-mozilla.sh |
d97ddc70 | 309 | %endif |
f86547d4 | 310 | |
f37c2ce5 | 311 | cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate |
6d77929c | 312 | #!/bin/sh |
050f03d2 | 313 | umask 022 |
6162f349 | 314 | rm -f %{_libdir}/%{name}/components/{compreg,xpti}.dat |
3eeab518 | 315 | |
f37c2ce5 ER |
316 | # it attempts to touch files in $HOME/.mozilla |
317 | # beware if you run this with sudo!!! | |
318 | export HOME=$(mktemp -d) | |
319 | # also TMPDIR could be pointing to sudo user's homedir | |
320 | unset TMPDIR TMP || : | |
3eeab518 | 321 | |
6162f349 | 322 | %{_libdir}/%{name}/firefox -register |
3eeab518 | 323 | |
56143477 | 324 | rm -rf $HOME |
6d77929c | 325 | EOF |
82f606de | 326 | chmod 755 $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate |
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 | |
0fca8d8d | 335 | for d in chrome defaults extensions greprefs.js 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? | |
2a673919 | 378 | %{_libdir}/%{name}/application.ini |
0fca8d8d | 379 | %{_libdir}/%{name}/chrome.manifest |
c2814220 | 380 | |
6162f349 | 381 | %dir %{_libdir}/%{name}/components |
2a673919 | 382 | |
fd4f0696 | 383 | %{_libdir}/%{name}/components/FeedConverter.js |
fd4f0696 | 384 | %{_libdir}/%{name}/components/FeedWriter.js |
0fca8d8d JB |
385 | %{_libdir}/%{name}/components/PlacesProtocolHandler.js |
386 | %{_libdir}/%{name}/components/Weave.js | |
2a673919 PZ |
387 | %{_libdir}/%{name}/components/WebContentConverter.js |
388 | %{_libdir}/%{name}/components/browser.xpt | |
389 | %{_libdir}/%{name}/components/fuelApplication.js | |
f99152f1 | 390 | %{_libdir}/%{name}/components/nsBrowserContentHandler.js |
391 | %{_libdir}/%{name}/components/nsBrowserGlue.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 | |
0fca8d8d JB |
398 | |
399 | %{_libdir}/%{name}/components/components.manifest | |
400 | %{_libdir}/%{name}/components/interfaces.manifest | |
401 | ||
f99152f1 | 402 | %if %{without xulrunner} |
403 | %{_libdir}/%{name}/platform.ini | |
0fca8d8d | 404 | %{_libdir}/%{name}/components/ConsoleAPI.js |
f99152f1 | 405 | %{_libdir}/%{name}/components/FeedProcessor.js |
d97ddc70 JB |
406 | %{_libdir}/%{name}/components/GPSDGeolocationProvider.js |
407 | %{_libdir}/%{name}/components/NetworkGeolocationProvider.js | |
0fca8d8d | 408 | %{_libdir}/%{name}/components/PlacesCategoriesStarter.js |
9df03825 | 409 | %{_libdir}/%{name}/components/TelemetryPing.js |
0fca8d8d JB |
410 | %{_libdir}/%{name}/components/addonManager.js |
411 | %{_libdir}/%{name}/components/amContentHandler.js | |
412 | %{_libdir}/%{name}/components/amWebInstallListener.js | |
413 | %{_libdir}/%{name}/components/contentAreaDropListener.js | |
414 | %{_libdir}/%{name}/components/contentSecurityPolicy.js | |
415 | %{_libdir}/%{name}/components/crypto-SDR.js | |
fd4f0696 | 416 | %{_libdir}/%{name}/components/jsconsole-clhandler.js |
5259c459 | 417 | %{_libdir}/%{name}/components/nsBadCertHandler.js |
2a673919 | 418 | %{_libdir}/%{name}/components/nsBlocklistService.js |
2a673919 PZ |
419 | %{_libdir}/%{name}/components/nsContentDispatchChooser.js |
420 | %{_libdir}/%{name}/components/nsContentPrefService.js | |
fd4f0696 | 421 | %{_libdir}/%{name}/components/nsDefaultCLH.js |
2a673919 | 422 | %{_libdir}/%{name}/components/nsDownloadManagerUI.js |
fd4f0696 | 423 | %{_libdir}/%{name}/components/nsFilePicker.js |
d97ddc70 | 424 | %{_libdir}/%{name}/components/nsFormAutoComplete.js |
0fca8d8d | 425 | %{_libdir}/%{name}/components/nsFormHistory.js |
2a673919 | 426 | %{_libdir}/%{name}/components/nsHandlerService.js |
fd4f0696 | 427 | %{_libdir}/%{name}/components/nsHelperAppDlg.js |
82f606de | 428 | %{_libdir}/%{name}/components/nsINIProcessor.js |
0fca8d8d | 429 | %{_libdir}/%{name}/components/nsInputListAutoComplete.js |
2a673919 PZ |
430 | %{_libdir}/%{name}/components/nsLivemarkService.js |
431 | %{_libdir}/%{name}/components/nsLoginInfo.js | |
432 | %{_libdir}/%{name}/components/nsLoginManager.js | |
433 | %{_libdir}/%{name}/components/nsLoginManagerPrompter.js | |
d97ddc70 | 434 | %{_libdir}/%{name}/components/nsPlacesAutoComplete.js |
0fca8d8d JB |
435 | %{_libdir}/%{name}/components/nsPlacesExpiration.js |
436 | %{_libdir}/%{name}/components/nsPrompter.js | |
fd4f0696 | 437 | %{_libdir}/%{name}/components/nsProxyAutoConfig.js |
d97ddc70 JB |
438 | %{_libdir}/%{name}/components/nsSearchService.js |
439 | %{_libdir}/%{name}/components/nsSearchSuggestions.js | |
2a673919 PZ |
440 | %{_libdir}/%{name}/components/nsTaggingService.js |
441 | %{_libdir}/%{name}/components/nsTryToClose.js | |
442 | %{_libdir}/%{name}/components/nsURLFormatter.js | |
d97ddc70 | 443 | %{_libdir}/%{name}/components/nsUpdateTimerManager.js |
9df03825 | 444 | %{_libdir}/%{name}/components/nsUrlClassifierHashCompleter.js |
fd4f0696 ER |
445 | %{_libdir}/%{name}/components/nsUrlClassifierLib.js |
446 | %{_libdir}/%{name}/components/nsUrlClassifierListManager.js | |
2a673919 | 447 | %{_libdir}/%{name}/components/nsWebHandlerApp.js |
2a673919 | 448 | %{_libdir}/%{name}/components/storage-Legacy.js |
d97ddc70 | 449 | %{_libdir}/%{name}/components/storage-mozStorage.js |
2a673919 | 450 | %{_libdir}/%{name}/components/txEXSLTRegExFunctions.js |
f99152f1 | 451 | %endif |
2a673919 PZ |
452 | |
453 | %attr(755,root,root) %{_libdir}/%{name}/components/libbrowsercomps.so | |
f99152f1 | 454 | %if %{without xulrunner} |
2a673919 | 455 | %attr(755,root,root) %{_libdir}/%{name}/components/libdbusservice.so |
f99152f1 | 456 | %endif |
2a673919 | 457 | |
9df03825 | 458 | %if %{without xulrunner} |
2a673919 | 459 | %attr(755,root,root) %{_libdir}/%{name}/components/libmozgnome.so |
2a673919 PZ |
460 | %endif |
461 | ||
2a673919 | 462 | %attr(755,root,root) %{_libdir}/%{name}/firefox |
d97ddc70 | 463 | %dir %{_libdir}/%{name}/plugins |
f99152f1 | 464 | %if %{without xulrunner} |
d97ddc70 | 465 | %attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh |
2a673919 | 466 | %attr(755,root,root) %{_libdir}/%{name}/firefox-bin |
f99152f1 | 467 | %attr(755,root,root) %{_libdir}/%{name}/mozilla-xremote-client |
82f606de | 468 | %attr(755,root,root) %{_libdir}/%{name}/plugin-container |
f99152f1 | 469 | %endif |
0fca8d8d | 470 | |
93639547 ER |
471 | %{_pixmapsdir}/mozilla-firefox.png |
472 | %{_desktopdir}/mozilla-firefox.desktop | |
cdbdbff1 | 473 | |
f86547d4 ER |
474 | # symlinks |
475 | %{_libdir}/%{name}/chrome | |
476 | %{_libdir}/%{name}/defaults | |
f86547d4 | 477 | %{_libdir}/%{name}/extensions |
f86547d4 | 478 | %{_libdir}/%{name}/icons |
2a673919 | 479 | %{_libdir}/%{name}/modules |
f86547d4 | 480 | %{_libdir}/%{name}/searchplugins |
0fca8d8d JB |
481 | %if %{with xulrunner} |
482 | %{_libdir}/%{name}/xulrunner | |
483 | %else | |
f99152f1 | 484 | %{_libdir}/%{name}/dictionaries |
0fca8d8d | 485 | %{_libdir}/%{name}/greprefs.js |
f99152f1 | 486 | %{_libdir}/%{name}/res |
487 | %endif | |
f37c2ce5 | 488 | |
f86547d4 ER |
489 | %dir %{_datadir}/%{name} |
490 | %{_datadir}/%{name}/chrome | |
491 | %{_datadir}/%{name}/defaults | |
f86547d4 | 492 | %{_datadir}/%{name}/icons |
2a673919 | 493 | %{_datadir}/%{name}/modules |
f86547d4 | 494 | %{_datadir}/%{name}/searchplugins |
f99152f1 | 495 | %if %{without xulrunner} |
0fca8d8d | 496 | %{_datadir}/%{name}/greprefs.js |
f99152f1 | 497 | %{_datadir}/%{name}/res |
498 | %endif | |
f86547d4 ER |
499 | |
500 | %dir %{_datadir}/%{name}/extensions | |
501 | # -dom-inspector subpackage? | |
2a673919 | 502 | #%{_datadir}/%{name}/extensions/inspector@mozilla.org |
f86547d4 ER |
503 | # the signature of the default theme |
504 | %{_datadir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} | |
f37c2ce5 | 505 | |
d97ddc70 | 506 | # files created by firefox -register |
6162f349 ER |
507 | %ghost %{_libdir}/%{name}/components/compreg.dat |
508 | %ghost %{_libdir}/%{name}/components/xpti.dat |