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