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