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