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