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