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