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