- more MimeTypes (unified with iceweasel)
[packages/firefox.git] / mozilla-firefox.spec
CommitLineData
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 34Summary: Firefox Community Edition web browser
948d1385 35Summary(pl.UTF-8): Firefox Community Edition - przeglądarka WWW
ea721d92 36Name: mozilla-firefox
d97ddc70 37Version: 3.6.3
e6902292 38Release: 1
4ab16c9e 39License: MPL 1.1 or GPL v2+ or LGPL v2.1+
51c0f20a 40Group: X11/Applications/Networking
d97ddc70
JB
41Source0: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.bz2
42# Source0-md5: 5e4541ab23084b7b14ba228291ce2688
7c7475d0 43Source1: %{name}.desktop
44Source2: %{name}.sh
2a673919 45Patch0: %{name}-install.patch
6ef56845 46Patch1: %{name}-gcc3.patch
47Patch2: %{name}-agent.patch
48Patch3: %{name}-agent-ac.patch
20ac5a05 49Patch4: %{name}-ti-agent.patch
29b16068 50Patch5: %{name}-branding.patch
51Patch6: %{name}-prefs.patch
d1eea1c3 52Patch7: %{name}-nss_cflags.patch
d97ddc70
JB
53Patch8: %{name}-no-subshell.patch
54Patch9: %{name}-libpng.patch
5f561b4c 55URL: http://www.mozilla.org/projects/firefox/
4ab16c9e 56%{?with_gnomevfs:BuildRequires: GConf2-devel >= 1.2.1}
d97ddc70 57BuildRequires: alsa-lib-devel
e933d2a8 58BuildRequires: automake
d97ddc70 59BuildRequires: bzip2-devel
2a673919 60BuildRequires: cairo-devel >= 1.6.0
09328230 61BuildRequires: dbus-glib-devel >= 0.60
4ab16c9e 62%{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.0}
2a673919 63BuildRequires: gtk+2-devel >= 2:2.10
2a673919 64%{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1}
d97ddc70 65BuildRequires: hunspell-devel
8a88dcf7 66BuildRequires: libIDL-devel >= 0.8.0
d97ddc70 67BuildRequires: libdnet-devel
4ab16c9e
JB
68%{?with_gnomevfs:BuildRequires: libgnome-devel >= 2.0}
69%{?with_gnomeui:BuildRequires: libgnomeui-devel >= 2.2.0}
d97ddc70 70BuildRequires: libiw-devel
ea721d92 71BuildRequires: libjpeg-devel >= 6b
d97ddc70 72BuildRequires: libnotify-devel
2a673919 73BuildRequires: libpng(APNG)-devel >= 0.10
1dd3785b 74BuildRequires: libpng-devel >= 1.2.7
ea721d92 75BuildRequires: libstdc++-devel
d97ddc70
JB
76BuildRequires: nspr-devel >= 1:4.8
77BuildRequires: nss-devel >= 1:3.12.3
09328230 78BuildRequires: pango-devel >= 1:1.10.0
56cf7ebf 79BuildRequires: perl-modules >= 5.004
1bb00684 80BuildRequires: pkgconfig
aef94f18 81BuildRequires: python-modules
6b1581cf 82BuildRequires: rpm >= 4.4.9-56
2a673919 83BuildRequires: rpmbuild(macros) >= 1.453
d97ddc70
JB
84BuildRequires: sqlite3-devel >= 3.6.15
85BuildRequires: startup-notification-devel >= 0.8
446ffaab
JB
86BuildRequires: xorg-lib-libXext-devel
87BuildRequires: xorg-lib-libXft-devel >= 2.1
88BuildRequires: xorg-lib-libXinerama-devel
89BuildRequires: xorg-lib-libXp-devel
de5abc0a 90BuildRequires: xorg-lib-libXt-devel
f99152f1 91%if %{with xulrunner}
d97ddc70 92BuildRequires: xulrunner-devel >= 2:%{xulrunner_ver}
f99152f1 93%endif
b0a3aa79 94BuildRequires: zip
1dd3785b 95BuildRequires: zlib-devel >= 1.2.3
f37c2ce5 96Requires(post): mktemp >= 1.5-18
d97ddc70
JB
97%if %{with xulrunner}
98%requires_eq_to xulrunner xulrunner-devel
99%else
1408fb17 100Requires: browser-plugins >= 2.0
2a673919 101Requires: cairo >= 1.6.0
d97ddc70 102Requires: gtk+2 >= 2:2.18
2a673919 103Requires: libpng(APNG) >= 0.10
d97ddc70
JB
104Requires: myspell-common
105Requires: nspr >= 1:4.8
106Requires: nss >= 1:3.12.3
107Requires: sqlite3 >= %{sqlite_build_version}
f99152f1 108%endif
0d52cac8 109Provides: wwwbrowser
51c0f20a 110Obsoletes: mozilla-firebird
2620301e 111Obsoletes: mozilla-firefox-lang-en < 2.0.0.8-3
c2814220 112Obsoletes: mozilla-firefox-libs
ea721d92 113BuildRoot: %{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
127Firefox Community Edition is an open-source web browser, designed for
128standards compliance, performance and portability.
ea721d92 129
eace6cdf 130%description -l pl.UTF-8
c0bec9dd 131Firefox Community Edition jest przeglądarką WWW rozpowszechnianą
e236f127 132zgodnie z ideami ruchu otwartego oprogramowania oraz tworzoną z myślą
133o zgodności ze standardami, wydajnością i przenośnością.
ea721d92 134
135%prep
d97ddc70
JB
136%setup -qc
137mv -f mozilla-%{xulrunner_main} mozilla
56143477 138cd 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 165cd mozilla
52befddb 166cp -f %{_datadir}/automake/config.* build/autoconf
52befddb 167
d97ddc70
JB
168cat << EOF > .mozconfig
169. \$topsrcdir/browser/config/mozconfig
52befddb 170
2620301e 171mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu}
2620301e 172
f37c2ce5 173# Options for 'configure' (same as command-line options).
52befddb 174ac_add_options --prefix=%{_prefix}
175ac_add_options --exec-prefix=%{_exec_prefix}
176ac_add_options --bindir=%{_bindir}
177ac_add_options --sbindir=%{_sbindir}
178ac_add_options --sysconfdir=%{_sysconfdir}
179ac_add_options --datadir=%{_datadir}
180ac_add_options --includedir=%{_includedir}
181ac_add_options --libdir=%{_libdir}
182ac_add_options --libexecdir=%{_libexecdir}
183ac_add_options --localstatedir=%{_localstatedir}
184ac_add_options --sharedstatedir=%{_sharedstatedir}
185ac_add_options --mandir=%{_mandir}
186ac_add_options --infodir=%{_infodir}
cf471ce5 187%if %{?debug:1}0
f37c2ce5 188ac_add_options --disable-optimize
52befddb 189ac_add_options --enable-debug
190ac_add_options --enable-debug-modules
f37c2ce5
ER
191ac_add_options --enable-debugger-info-modules
192ac_add_options --enable-crash-on-assert
52befddb 193%else
194ac_add_options --disable-debug
2620301e 195ac_add_options --disable-debug-modules
f37c2ce5 196ac_add_options --disable-logging
2a673919 197ac_add_options --enable-optimize="%{rpmcflags} -Os"
52befddb 198%endif
d97ddc70
JB
199ac_add_options --disable-strip
200ac_add_options --disable-strip-libs
52befddb 201%if %{with tests}
202ac_add_options --enable-tests
c4f9bb37 203%else
52befddb 204ac_add_options --disable-tests
c4f9bb37 205%endif
6800f9e1 206%if %{with gnomeui}
f37c2ce5
ER
207ac_add_options --enable-gnomeui
208%else
f37c2ce5
ER
209ac_add_options --disable-gnomeui
210%endif
6800f9e1
JB
211%if %{with gnomevfs}
212ac_add_options --enable-gnomevfs
213%else
214ac_add_options --disable-gnomevfs
215%endif
2a673919 216ac_add_options --disable-crashreporter
52befddb 217ac_add_options --disable-installer
f37c2ce5
ER
218ac_add_options --disable-javaxpcom
219ac_add_options --disable-updater
2a673919 220ac_add_options --disable-xprint
d97ddc70
JB
221ac_add_options --enable-canvas
222ac_add_options --enable-libxul
223ac_add_options --enable-pango
2a673919 224ac_add_options --enable-startup-notification
164d575d 225ac_add_options --enable-svg
52befddb 226ac_add_options --enable-system-cairo
d97ddc70 227ac_add_options --enable-system-hunspell
dfdf0ac8 228ac_add_options --enable-system-sqlite
2a673919 229ac_add_options --enable-xinerama
f37c2ce5 230ac_add_options --with-distribution-id=org.pld-linux
f99152f1 231%if %{with xulrunner}
d97ddc70 232ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)
f99152f1 233%endif
2a673919 234ac_add_options --with-pthreads
d97ddc70 235ac_add_options --with-system-bz2
2620301e 236ac_add_options --with-system-jpeg
52befddb 237ac_add_options --with-system-nspr
f37c2ce5 238ac_add_options --with-system-nss
f37c2ce5 239ac_add_options --with-system-png
2620301e 240ac_add_options --with-system-zlib
6162f349 241ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name}
52befddb 242EOF
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
250rm -rf $RPM_BUILD_ROOT
56143477 251cd mozilla
45f27404 252install -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
264install -d \
265 $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
266
f86547d4
ER
267# move arch independant ones to datadir
268mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome
269mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults
f86547d4 270mv $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions
f86547d4 271mv $RPM_BUILD_ROOT%{_libdir}/%{name}/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/icons
2a673919 272mv $RPM_BUILD_ROOT%{_libdir}/%{name}/modules $RPM_BUILD_ROOT%{_datadir}/%{name}/modules
f86547d4 273mv $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins
f99152f1 274%if %{without xulrunner}
275mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs
276mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res
277%endif
d97ddc70 278
f86547d4
ER
279ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome
280ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults
f86547d4 281ln -s ../../share/%{name}/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions
2a673919 282ln -s ../../share/%{name}/modules $RPM_BUILD_ROOT%{_libdir}/%{name}/modules
f86547d4 283ln -s ../../share/%{name}/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/icons
f86547d4 284ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins
f99152f1 285%if %{without xulrunner}
286ln -s ../../share/%{name}/greprefs $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs
287ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res
288%endif
f86547d4 289
f99152f1 290%if %{without xulrunner}
ade6d95c 291rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
4d687af8 292ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries
f99152f1 293%endif
4d687af8 294
7c7475d0 295sed 's,@LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox
8bc15110 296ln -s mozilla-firefox $RPM_BUILD_ROOT%{_bindir}/firefox
ea721d92 297
d97ddc70
JB
298cp -a browser/branding/unofficial/content/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-firefox.png
299cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
ea721d92 300
d97ddc70 301# files created by firefox -register
6162f349
ER
302touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat
303touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat
f37c2ce5 304
d97ddc70
JB
305%if %{with xulrunner}
306rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/run-mozilla.sh
307%endif
308rm $RPM_BUILD_ROOT%{_libdir}/%{name}/LICENSE
309rm $RPM_BUILD_ROOT%{_libdir}/%{name}/README.txt
310rm $RPM_BUILD_ROOT%{_libdir}/%{name}/components/components.list
f86547d4 311
f37c2ce5 312cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate
6d77929c 313#!/bin/sh
050f03d2 314umask 022
6162f349 315rm -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!!!
319export HOME=$(mktemp -d)
320# also TMPDIR could be pointing to sudo user's homedir
321unset TMPDIR TMP || :
3eeab518 322
6162f349 323%{_libdir}/%{name}/firefox -register
3eeab518 324
56143477 325rm -rf $HOME
6d77929c 326EOF
3eeab518 327
6d77929c
JB
328%clean
329rm -rf $RPM_BUILD_ROOT
3eeab518 330
b1662829 331%pretrans
ade6d95c
ER
332if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then
333 mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave}
334fi
2a673919 335for 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
340done
341exit 0
342
6d77929c 343%post
f37c2ce5 344%{_sbindir}/%{name}-chrome+xpcom-generate
4d9eecad
ER
345%update_browser_plugins
346
347%postun
348if [ "$1" = 0 ]; then
349 %update_browser_plugins
350fi
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
This page took 0.144689 seconds and 4 git commands to generate.