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