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