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