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