]>
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..) | |
2f695f11 | 6 | # |
ca6a7239 JB |
7 | # Conditional build: |
8 | %bcond_with tests # enable tests (whatever they check) | |
56cf7ebf | 9 | %bcond_without gnome # disable all GNOME components (gnomevfs, gnome, gnomeui) |
5bc92bd8 ER |
10 | %bcond_with tidy # disable htmlvalidator extension (tidy) |
11 | # | |
12 | %define _tidy_ver 0.839 | |
13 | %define _firefox_ver 2.0.0.4 | |
c4f9bb37 | 14 | # |
52dbdf60 | 15 | Summary: Firefox Community Edition web browser |
948d1385 | 16 | Summary(pl.UTF-8): Firefox Community Edition - przeglądarka WWW |
ea721d92 | 17 | Name: mozilla-firefox |
8033a708 | 18 | Version: 2.0.0.4 |
19 | Release: 1 | |
ea721d92 | 20 | License: MPL/LGPL |
51c0f20a | 21 | Group: X11/Applications/Networking |
8359e4e0 | 22 | Source0: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}-source.tar.bz2 |
8033a708 | 23 | # Source0-md5: 99c14794976b2532addfcd2d836c6bb2 |
5bc92bd8 ER |
24 | Source1: http://users.skynet.be/mgueury/mozilla/tidy_08x_source.zip |
25 | # Source1-md5: ad63736e9d57de3e6c69696319b34b3b | |
26 | Source2: %{name}.desktop | |
27 | Source3: %{name}.sh | |
d541162e | 28 | Patch0: mozilla-install.patch |
52befddb | 29 | Patch1: %{name}-lib_path.patch |
5bc92bd8 | 30 | Patch2: %{name}-addon-tidy.patch |
52befddb | 31 | Patch3: %{name}-nopangoxft.patch |
52befddb | 32 | Patch5: %{name}-fonts.patch |
524aaeae | 33 | Patch69: %{name}-agent.patch |
4d687af8 | 34 | Patch7: %{name}-myspell.patch |
f37c2ce5 ER |
35 | # if ac rebuild is needed... |
36 | #PatchX: %{name}-ac.patch | |
5f561b4c | 37 | URL: http://www.mozilla.org/projects/firefox/ |
56cf7ebf | 38 | %{?with_gnome:BuildRequires: GConf2-devel >= 1.2.1} |
e933d2a8 | 39 | BuildRequires: automake |
56cf7ebf | 40 | BuildRequires: cairo-devel >= 1.0.0 |
75e09104 | 41 | %{?with_gnome:BuildRequires: gnome-vfs2-devel >= 2.0} |
af914259 | 42 | BuildRequires: gtk+2-devel >= 1:2.0.0 |
809fe433 | 43 | BuildRequires: krb5-devel |
8a88dcf7 | 44 | BuildRequires: libIDL-devel >= 0.8.0 |
56cf7ebf | 45 | %{?with_gnome:BuildRequires: libgnome-devel >= 2.0} |
46 | %{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0} | |
ea721d92 | 47 | BuildRequires: libjpeg-devel >= 6b |
1dd3785b | 48 | BuildRequires: libpng-devel >= 1.2.7 |
ea721d92 | 49 | BuildRequires: libstdc++-devel |
4d687af8 | 50 | BuildRequires: myspell-devel |
f37c2ce5 ER |
51 | BuildRequires: nspr-devel >= 1:4.6.3 |
52 | BuildRequires: nss-devel >= 1:3.11.3-3 | |
5bc92bd8 | 53 | %{?with_tidy:BuildRequires: opensp-devel} |
56cf7ebf | 54 | BuildRequires: pango-devel >= 1:1.6.0 |
55 | BuildRequires: perl-modules >= 5.004 | |
1bb00684 | 56 | BuildRequires: pkgconfig |
4d9eecad | 57 | BuildRequires: rpmbuild(macros) >= 1.356 |
446ffaab JB |
58 | BuildRequires: xorg-lib-libXext-devel |
59 | BuildRequires: xorg-lib-libXft-devel >= 2.1 | |
60 | BuildRequires: xorg-lib-libXinerama-devel | |
61 | BuildRequires: xorg-lib-libXp-devel | |
de5abc0a | 62 | BuildRequires: xorg-lib-libXt-devel |
b0a3aa79 | 63 | BuildRequires: zip |
1dd3785b | 64 | BuildRequires: zlib-devel >= 1.2.3 |
f37c2ce5 | 65 | Requires(post): mktemp >= 1.5-18 |
ca6a7239 | 66 | Requires: %{name}-lang-resources = %{version} |
f37c2ce5 | 67 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
1408fb17 | 68 | Requires: browser-plugins >= 2.0 |
f37c2ce5 | 69 | Requires: nspr >= 1:4.6.3 |
1a285f98 | 70 | Requires: nss >= 1:3.11.3 |
0d52cac8 | 71 | Provides: wwwbrowser |
51c0f20a | 72 | Obsoletes: mozilla-firebird |
ea721d92 | 73 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
74 | ||
34dd92dd JB |
75 | # firefox/thunderbird/seamonkey provide their own versions |
76 | %define _noautoreqdep libgkgfx.so libgtkxtbin.so libjsj.so libxpcom_compat.so libxpcom_core.so | |
6162f349 | 77 | %define _noautoprovfiles %{_libdir}/%{name}/components |
4c7e703c | 78 | # we don't want these to satisfy xulrunner-devel |
626daa28 | 79 | %define _noautoprov libgtkembedmoz.so libmozjs.so libxpcom.so libxul.so |
4c7e703c | 80 | # and as we don't provide them, don't require either |
626daa28 | 81 | %define _noautoreq libgtkembedmoz.so libmozjs.so libxpcom.so libxul.so |
c14d6140 | 82 | |
2de50ddb | 83 | %define specflags -fno-strict-aliasing -fno-tree-vrp -fno-stack-protector |
d3b02e37 | 84 | |
ea721d92 | 85 | %description |
52dbdf60 ER |
86 | Firefox Community Edition is an open-source web browser, designed for |
87 | standards compliance, performance and portability. | |
ea721d92 | 88 | |
eace6cdf | 89 | %description -l pl.UTF-8 |
c0bec9dd | 90 | Firefox Community Edition jest przeglądarką WWW rozpowszechnianą |
e236f127 | 91 | zgodnie z ideami ruchu otwartego oprogramowania oraz tworzoną z myślą |
92 | o zgodności ze standardami, wydajnością i przenośnością. | |
ea721d92 | 93 | |
f37c2ce5 | 94 | %package libs |
52dbdf60 | 95 | Summary: Firefox Community Edition shared libraries |
948d1385 | 96 | Summary(pl.UTF-8): Biblioteki współdzielone przeglądarki Firefox Community Edition |
f37c2ce5 | 97 | Group: Libraries |
7c40e3fe | 98 | Conflicts: mozilla-firefox < 2.0-1.4 |
f37c2ce5 ER |
99 | |
100 | %description libs | |
52dbdf60 | 101 | Firefox Community Edition shared libraries. |
f37c2ce5 | 102 | |
eace6cdf JR |
103 | %description libs -l pl.UTF-8 |
104 | Biblioteki współdzielone przeglądarki Firefox Community Edition. | |
7c40e3fe | 105 | |
cdbdbff1 | 106 | %package lang-en |
52dbdf60 | 107 | Summary: English resources for Firefox Community Edition |
948d1385 | 108 | Summary(pl.UTF-8): Anglojęzyczne zasoby dla przeglądarki Firefox Community Edition |
22a45100 | 109 | Group: X11/Applications/Networking |
ca6a7239 JB |
110 | Requires: %{name} = %{version}-%{release} |
111 | Provides: %{name}-lang-resources = %{version}-%{release} | |
cdbdbff1 | 112 | |
113 | %description lang-en | |
52dbdf60 | 114 | English resources for Firefox Community Edition. |
cdbdbff1 | 115 | |
eace6cdf JR |
116 | %description lang-en -l pl.UTF-8 |
117 | Anglojęzyczne zasoby dla przeglądarki Firefox Community Edition. | |
cdbdbff1 | 118 | |
ea721d92 | 119 | %prep |
5bc92bd8 ER |
120 | %setup -qc %{?with_tidy:-a1} |
121 | %if %{with tidy} | |
122 | mv mozilla_tidy_source/mozilla/extensions/tidy mozilla/extensions/tidy | |
123 | mv mozilla_tidy_source/tidy_extension . | |
124 | rm -rf mozilla/extensions/tidy/opensp | |
125 | %endif | |
56143477 | 126 | cd mozilla |
d541162e | 127 | %patch0 -p1 |
52befddb | 128 | %patch1 -p1 |
5bc92bd8 | 129 | %patch2 -p1 |
52befddb | 130 | %patch3 -p1 |
52befddb | 131 | %patch5 -p1 |
4d687af8 | 132 | %patch7 -p1 |
524aaeae | 133 | %patch69 -p1 |
a4a42caf | 134 | |
f37c2ce5 ER |
135 | # use system |
136 | #rm -rf mozilla/nsprpub mozilla/security/nss | |
137 | ||
ea721d92 | 138 | %build |
56143477 | 139 | cd mozilla |
f37c2ce5 ER |
140 | export CFLAGS="%{rpmcflags} $(%{_bindir}/pkg-config mozilla-nspr --cflags-only-I)" |
141 | export CXXFLAGS="%{rpmcflags} $(%{_bindir}/pkg-config mozilla-nspr --cflags-only-I)" | |
52befddb | 142 | |
143 | cp -f %{_datadir}/automake/config.* build/autoconf | |
144 | cp -f %{_datadir}/automake/config.* nsprpub/build/autoconf | |
145 | cp -f %{_datadir}/automake/config.* directory/c-sdk/config/autoconf | |
146 | ||
52befddb | 147 | cat << 'EOF' > .mozconfig |
148 | . $topsrcdir/browser/config/mozconfig | |
149 | ||
f37c2ce5 | 150 | # Options for 'configure' (same as command-line options). |
52befddb | 151 | ac_add_options --prefix=%{_prefix} |
152 | ac_add_options --exec-prefix=%{_exec_prefix} | |
153 | ac_add_options --bindir=%{_bindir} | |
154 | ac_add_options --sbindir=%{_sbindir} | |
155 | ac_add_options --sysconfdir=%{_sysconfdir} | |
156 | ac_add_options --datadir=%{_datadir} | |
157 | ac_add_options --includedir=%{_includedir} | |
158 | ac_add_options --libdir=%{_libdir} | |
159 | ac_add_options --libexecdir=%{_libexecdir} | |
160 | ac_add_options --localstatedir=%{_localstatedir} | |
161 | ac_add_options --sharedstatedir=%{_sharedstatedir} | |
162 | ac_add_options --mandir=%{_mandir} | |
163 | ac_add_options --infodir=%{_infodir} | |
cf471ce5 | 164 | %if %{?debug:1}0 |
f37c2ce5 | 165 | ac_add_options --disable-optimize |
52befddb | 166 | ac_add_options --enable-debug |
167 | ac_add_options --enable-debug-modules | |
f37c2ce5 ER |
168 | ac_add_options --enable-debugger-info-modules |
169 | ac_add_options --enable-crash-on-assert | |
52befddb | 170 | %else |
171 | ac_add_options --disable-debug | |
f37c2ce5 ER |
172 | ac_add_options --disable-logging |
173 | ac_add_options --enable-optimize="%{rpmcflags}" | |
52befddb | 174 | %endif |
175 | %if %{with tests} | |
176 | ac_add_options --enable-tests | |
c4f9bb37 | 177 | %else |
52befddb | 178 | ac_add_options --disable-tests |
c4f9bb37 | 179 | %endif |
f37c2ce5 ER |
180 | %if %{with gnome} |
181 | ac_add_options --enable-gnomevfs | |
182 | ac_add_options --enable-gnomeui | |
183 | %else | |
184 | ac_add_options --disable-gnomevfs | |
185 | ac_add_options --disable-gnomeui | |
186 | %endif | |
52befddb | 187 | ac_add_options --disable-freetype2 |
188 | ac_add_options --disable-installer | |
f37c2ce5 ER |
189 | ac_add_options --disable-javaxpcom |
190 | ac_add_options --disable-updater | |
52befddb | 191 | ac_add_options --enable-default-toolkit=gtk2 |
164d575d | 192 | ac_add_options --enable-svg |
52befddb | 193 | ac_add_options --enable-system-cairo |
4d687af8 | 194 | ac_add_options --enable-system-myspell |
52befddb | 195 | ac_add_options --enable-xft |
f37c2ce5 | 196 | ac_add_options --with-distribution-id=org.pld-linux |
52befddb | 197 | ac_add_options --with-system-nspr |
f37c2ce5 | 198 | ac_add_options --with-system-nss |
52befddb | 199 | ac_add_options --with-system-zlib |
f37c2ce5 ER |
200 | ac_add_options --with-system-jpeg |
201 | ac_add_options --with-system-png | |
6162f349 | 202 | ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name} |
52befddb | 203 | ac_cv_visibility_pragma=no |
204 | EOF | |
33f81726 | 205 | |
1698621e | 206 | %{__make} -j1 -f client.mk build \ |
3d445135 | 207 | CC="%{__cc}" \ |
33f81726 | 208 | CXX="%{__cxx}" |
ea721d92 | 209 | |
210 | %install | |
211 | rm -rf $RPM_BUILD_ROOT | |
56143477 | 212 | cd mozilla |
45f27404 | 213 | install -d \ |
f37c2ce5 | 214 | $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \ |
45f27404 | 215 | $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \ |
93639547 | 216 | $RPM_BUILD_ROOT%{_datadir}/%{name} |
75e09104 | 217 | |
6162f349 | 218 | %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins |
4d9eecad | 219 | |
f37c2ce5 | 220 | %{__make} -C xpinstall/packager stage-package \ |
d541162e | 221 | DESTDIR=$RPM_BUILD_ROOT \ |
6162f349 | 222 | MOZ_PKG_APPDIR=%{_libdir}/%{name} \ |
f37c2ce5 | 223 | PKG_SKIP_STRIP=1 |
ea721d92 | 224 | |
f86547d4 ER |
225 | # move arch independant ones to datadir |
226 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome | |
227 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults | |
f86547d4 ER |
228 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions |
229 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs | |
230 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/icons | |
231 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/init.d $RPM_BUILD_ROOT%{_datadir}/%{name}/init.d | |
232 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res | |
233 | mv $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins | |
234 | ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome | |
235 | ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults | |
f86547d4 ER |
236 | ln -s ../../share/%{name}/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions |
237 | ln -s ../../share/%{name}/greprefs $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs | |
238 | ln -s ../../share/%{name}/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/icons | |
239 | ln -s ../../share/%{name}/init.d $RPM_BUILD_ROOT%{_libdir}/%{name}/init.d | |
240 | ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res | |
241 | ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins | |
242 | ||
ade6d95c | 243 | rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries |
4d687af8 ER |
244 | ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries |
245 | ||
5bc92bd8 | 246 | sed 's,@LIBDIR@,%{_libdir},' %{SOURCE3} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox |
f37c2ce5 | 247 | ln -s mozilla-firefox $RPM_BUILD_ROOT%{_bindir}/firefox |
ea721d92 | 248 | |
f37c2ce5 | 249 | install browser/base/branding/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-firefox.png |
ea721d92 | 250 | |
5bc92bd8 | 251 | install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop |
ea721d92 | 252 | |
7c40e3fe | 253 | # header/development files |
93639547 ER |
254 | rm $RPM_BUILD_ROOT%{_libdir}/%{name}/xpidl |
255 | rm $RPM_BUILD_ROOT%{_libdir}/%{name}/xpt_dump | |
256 | rm $RPM_BUILD_ROOT%{_libdir}/%{name}/xpt_link | |
75e09104 | 257 | |
f37c2ce5 | 258 | # files created by regxpcom and firefox -register |
6162f349 ER |
259 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat |
260 | touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat | |
f37c2ce5 | 261 | |
f86547d4 ER |
262 | # what's this? it's content is invalid anyway. |
263 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list | |
264 | ||
f37c2ce5 | 265 | cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate |
6d77929c | 266 | #!/bin/sh |
050f03d2 | 267 | umask 022 |
6162f349 | 268 | rm -f %{_libdir}/%{name}/components/{compreg,xpti}.dat |
3eeab518 | 269 | |
f37c2ce5 ER |
270 | # it attempts to touch files in $HOME/.mozilla |
271 | # beware if you run this with sudo!!! | |
272 | export HOME=$(mktemp -d) | |
273 | # also TMPDIR could be pointing to sudo user's homedir | |
274 | unset TMPDIR TMP || : | |
3eeab518 | 275 | |
6162f349 ER |
276 | LD_LIBRARY_PATH=%{_libdir}/%{name}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %{_libdir}/%{name}/regxpcom |
277 | %{_libdir}/%{name}/firefox -register | |
3eeab518 | 278 | |
56143477 | 279 | rm -rf $HOME |
6d77929c | 280 | EOF |
3eeab518 | 281 | |
6d77929c JB |
282 | %clean |
283 | rm -rf $RPM_BUILD_ROOT | |
3eeab518 | 284 | |
b1662829 | 285 | %pretrans |
ade6d95c ER |
286 | if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then |
287 | mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave} | |
288 | fi | |
4d687af8 | 289 | for d in chrome defaults extensions greprefs icons init.d res searchplugins; do |
f86547d4 ER |
290 | if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then |
291 | install -d %{_datadir}/%{name} | |
292 | mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d | |
293 | fi | |
294 | done | |
295 | exit 0 | |
296 | ||
6d77929c | 297 | %post |
f37c2ce5 | 298 | %{_sbindir}/%{name}-chrome+xpcom-generate |
4d9eecad ER |
299 | %update_browser_plugins |
300 | ||
301 | %postun | |
302 | if [ "$1" = 0 ]; then | |
303 | %update_browser_plugins | |
304 | fi | |
ea0245e6 | 305 | |
ea721d92 | 306 | %files |
307 | %defattr(644,root,root,755) | |
f37c2ce5 | 308 | %attr(755,root,root) %{_bindir}/%{name} |
fb0d8197 | 309 | %attr(755,root,root) %{_bindir}/firefox |
f37c2ce5 ER |
310 | %attr(755,root,root) %{_sbindir}/%{name}-chrome+xpcom-generate |
311 | ||
4d9eecad ER |
312 | # browser plugins v2 |
313 | %{_browserpluginsconfdir}/browsers.d/%{name}.* | |
314 | %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist | |
315 | ||
6162f349 ER |
316 | %dir %{_libdir}/%{name}/components |
317 | %attr(755,root,root) %{_libdir}/%{name}/components/*.so | |
318 | %{_libdir}/%{name}/components/*.js | |
319 | %{_libdir}/%{name}/components/*.xpt | |
320 | %dir %{_libdir}/%{name}/plugins | |
321 | %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so | |
6162f349 ER |
322 | %attr(755,root,root) %{_libdir}/%{name}/*.sh |
323 | %attr(755,root,root) %{_libdir}/%{name}/m* | |
324 | %attr(755,root,root) %{_libdir}/%{name}/f* | |
325 | %attr(755,root,root) %{_libdir}/%{name}/regxpcom | |
93639547 ER |
326 | %attr(755,root,root) %{_libdir}/%{name}/xpcshell |
327 | %attr(755,root,root) %{_libdir}/%{name}/xpicleanup | |
328 | %{_pixmapsdir}/mozilla-firefox.png | |
329 | %{_desktopdir}/mozilla-firefox.desktop | |
cdbdbff1 | 330 | |
f86547d4 ER |
331 | # symlinks |
332 | %{_libdir}/%{name}/chrome | |
333 | %{_libdir}/%{name}/defaults | |
334 | %{_libdir}/%{name}/dictionaries | |
335 | %{_libdir}/%{name}/extensions | |
336 | %{_libdir}/%{name}/greprefs | |
337 | %{_libdir}/%{name}/icons | |
338 | %{_libdir}/%{name}/init.d | |
339 | %{_libdir}/%{name}/res | |
340 | %{_libdir}/%{name}/searchplugins | |
f37c2ce5 ER |
341 | |
342 | # browserconfig | |
6162f349 | 343 | %{_libdir}/%{name}/browserconfig.properties |
f37c2ce5 | 344 | |
6162f349 ER |
345 | %{_libdir}/%{name}/LICENSE |
346 | %{_libdir}/%{name}/README.txt | |
f86547d4 ER |
347 | |
348 | %dir %{_datadir}/%{name} | |
349 | %{_datadir}/%{name}/chrome | |
350 | %{_datadir}/%{name}/defaults | |
f86547d4 ER |
351 | %{_datadir}/%{name}/greprefs |
352 | %{_datadir}/%{name}/icons | |
353 | %{_datadir}/%{name}/init.d | |
354 | %{_datadir}/%{name}/res | |
355 | %{_datadir}/%{name}/searchplugins | |
356 | ||
357 | %dir %{_datadir}/%{name}/extensions | |
358 | # -dom-inspector subpackage? | |
359 | %{_datadir}/%{name}/extensions/inspector@mozilla.org | |
360 | # the signature of the default theme | |
361 | %{_datadir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} | |
f37c2ce5 ER |
362 | |
363 | # files created by regxpcom and firefox -register | |
6162f349 ER |
364 | %ghost %{_libdir}/%{name}/components/compreg.dat |
365 | %ghost %{_libdir}/%{name}/components/xpti.dat | |
f37c2ce5 ER |
366 | |
367 | %files libs | |
368 | %defattr(644,root,root,755) | |
6162f349 ER |
369 | %dir %{_libdir}/%{name} |
370 | %attr(755,root,root) %{_libdir}/%{name}/*.so | |
f37c2ce5 | 371 | |
cdbdbff1 | 372 | %files lang-en |
ecf01c4d | 373 | %defattr(644,root,root,755) |
f86547d4 ER |
374 | %{_datadir}/%{name}/chrome/en-US.jar |
375 | %{_datadir}/%{name}/chrome/en-US.manifest |