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