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