X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=mozilla-firefox.spec;h=29a5c610e162cda56b6c2921fb08af7256bd14e1;hb=6494fee67b5395de3532e82b87c1f7a05e847426;hp=c50d18446963036b7691d70719dc426a5c5abbb7;hpb=1408fb17dc4a32f4fca1921fe1dc08af945c48c8;p=packages%2Ffirefox.git diff --git a/mozilla-firefox.spec b/mozilla-firefox.spec index c50d184..29a5c61 100644 --- a/mozilla-firefox.spec +++ b/mozilla-firefox.spec @@ -1,145 +1,174 @@ +# NOTE +# - we use iceweasel in pld linux +# # TODO: # - handle locales differently (runtime, since it's possible to do) # - see ftp://ftp.debian.org/debian/pool/main/m/mozilla-firefox/*diff* # for hints how to make locales -# - make it more pld-like (bookmarks, default page etc..) -# - add dictionaries outside of mozilla +# - (12:22:58) patrys: can you also move _libdir/mozilla-firefox to just _libdir/firefox? +# (12:23:25) patrys: it's not like we ship official firefox +# - fix wrapper script to allow playing with profiles (must not use -remote) # # Conditional build: -%bcond_with tests # enable tests (whatever they check) -%bcond_without gnome # disable all GNOME components (gnomevfs, gnome, gnomeui) -# -Summary: Mozilla Firefox web browser -Summary(pl): Mozilla Firefox - przegl±darka WWW +%bcond_with tests # enable tests (whatever they check) +%bcond_without gnomeui # disable gnomeui support +%bcond_without gnomevfs # disable GNOME comp. (gconf+libgnome+gnomevfs) and gnomevfs ext. +%bcond_without gnome # disable all GNOME components (gnome+gnomeui+gnomevfs) +%bcond_without kerberos # disable krb5 support +%bcond_without xulrunner # system xulrunner + +%if %{without gnome} +%undefine with_gnomeui +%undefine with_gnomevfs +%endif + +# convert firefox release number to platform version: 3.6.x -> 1.9.2.x +%define xulrunner_main 1.9.2 +%define xulrunner_ver %(v=%{version}; echo %{xulrunner_main}${v#3.6}) + +%if %{without xulrunner} +# The actual sqlite version (see RHBZ#480989): +%define sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo ERROR) +%endif + +Summary: Firefox Community Edition web browser +Summary(pl.UTF-8): Firefox Community Edition - przeglądarka WWW Name: mozilla-firefox -Version: 2.0.0.1 -Release: 2 -License: MPL/LGPL +Version: 3.6.3 +Release: 1 +License: MPL 1.1 or GPL v2+ or LGPL v2.1+ Group: X11/Applications/Networking -Source0: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}-source.tar.bz2 -# Source0-md5: 7a1fc804ed735c5b7e9b1498bac8b5db +Source0: ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%{version}/source/firefox-%{version}.source.tar.bz2 +# Source0-md5: 5e4541ab23084b7b14ba228291ce2688 Source1: %{name}.desktop Source2: %{name}.sh -Patch0: mozilla-install.patch -Patch1: %{name}-lib_path.patch -Patch3: %{name}-nopangoxft.patch -Patch5: %{name}-fonts.patch -# if ac rebuild is needed... -#PatchX: %{name}-ac.patch +Patch0: %{name}-install.patch +Patch1: %{name}-gcc3.patch +Patch2: %{name}-agent.patch +Patch3: %{name}-agent-ac.patch +Patch4: %{name}-ti-agent.patch +Patch5: %{name}-branding.patch +Patch6: %{name}-prefs.patch +Patch7: %{name}-nss_cflags.patch +Patch8: %{name}-no-subshell.patch +Patch9: %{name}-libpng.patch URL: http://www.mozilla.org/projects/firefox/ -%{?with_gnome:BuildRequires: GConf2-devel >= 1.2.1} +%{?with_gnomevfs:BuildRequires: GConf2-devel >= 1.2.1} +BuildRequires: alsa-lib-devel BuildRequires: automake -BuildRequires: cairo-devel >= 1.0.0 -%{?with_gnome:BuildRequires: gnome-vfs2-devel >= 2.0} -BuildRequires: gtk+2-devel >= 1:2.0.0 -BuildRequires: heimdal-devel >= 0.7.1 +BuildRequires: bzip2-devel +BuildRequires: cairo-devel >= 1.6.0 +BuildRequires: dbus-glib-devel >= 0.60 +%{?with_gnomevfs:BuildRequires: gnome-vfs2-devel >= 2.0} +BuildRequires: gtk+2-devel >= 2:2.10 +%{?with_kerberos:BuildRequires: heimdal-devel >= 0.7.1} +BuildRequires: hunspell-devel BuildRequires: libIDL-devel >= 0.8.0 -%{?with_gnome:BuildRequires: libgnome-devel >= 2.0} -%{?with_gnome:BuildRequires: libgnomeui-devel >= 2.2.0} +BuildRequires: libdnet-devel +%{?with_gnomevfs:BuildRequires: libgnome-devel >= 2.0} +%{?with_gnomeui:BuildRequires: libgnomeui-devel >= 2.2.0} +BuildRequires: libiw-devel BuildRequires: libjpeg-devel >= 6b +BuildRequires: libnotify-devel +BuildRequires: libpng(APNG)-devel >= 0.10 BuildRequires: libpng-devel >= 1.2.7 BuildRequires: libstdc++-devel -BuildRequires: nspr-devel >= 1:4.6.3 -BuildRequires: nss-devel >= 1:3.11.3-3 -BuildRequires: pango-devel >= 1:1.6.0 +BuildRequires: nspr-devel >= 1:4.8 +BuildRequires: nss-devel >= 1:3.12.3 +BuildRequires: pango-devel >= 1:1.10.0 BuildRequires: perl-modules >= 5.004 BuildRequires: pkgconfig -BuildRequires: rpmbuild(macros) >= 1.356 +BuildRequires: python-modules +BuildRequires: rpm >= 4.4.9-56 +BuildRequires: rpmbuild(macros) >= 1.453 +BuildRequires: sqlite3-devel >= 3.6.15 +BuildRequires: startup-notification-devel >= 0.8 BuildRequires: xorg-lib-libXext-devel BuildRequires: xorg-lib-libXft-devel >= 2.1 BuildRequires: xorg-lib-libXinerama-devel BuildRequires: xorg-lib-libXp-devel BuildRequires: xorg-lib-libXt-devel +%if %{with xulrunner} +BuildRequires: xulrunner-devel >= 2:%{xulrunner_ver} +%endif BuildRequires: zip BuildRequires: zlib-devel >= 1.2.3 Requires(post): mktemp >= 1.5-18 -Requires: %{name}-lang-resources = %{version} -Requires: %{name}-libs = %{epoch}:%{version}-%{release} +%if %{with xulrunner} +%requires_eq_to xulrunner xulrunner-devel +%else Requires: browser-plugins >= 2.0 -Requires: nspr >= 1:4.6.3 -Requires: nss >= 1:3.11.3 +Requires: cairo >= 1.6.0 +Requires: gtk+2 >= 2:2.18 +Requires: libpng(APNG) >= 0.10 +Requires: myspell-common +Requires: nspr >= 1:4.8 +Requires: nss >= 1:3.12.3 +Requires: sqlite3 >= %{sqlite_build_version} +%endif Provides: wwwbrowser Obsoletes: mozilla-firebird +Obsoletes: mozilla-firefox-lang-en < 2.0.0.8-3 +Obsoletes: mozilla-firefox-libs BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -# mozilla and firefox provide their own versions -%define _noautoreqdep libgkgfx.so libgtkembedmoz.so libgtkxtbin.so libjsj.so libmozjs.so libxpcom.so libxpcom_compat.so libxpcom_core.so -%define _noautoprovfiles %{_libdir}/%{name}/components +# don't satisfy other packages (don't use %{name} here) +%define _noautoprovfiles %{_libdir}/mozilla-firefox +# and as we don't provide them, don't require either +%define _noautoreq libmozjs.so libxpcom.so libxul.so libjemalloc.so +%if "%{cc_version}" >= "3.4" +%define specflags -fno-strict-aliasing -fno-tree-vrp -fno-stack-protector +%else %define specflags -fno-strict-aliasing +%endif %description -Mozilla Firefox is an open-source web browser, designed for standards -compliance, performance and portability. - -%description -l pl -Mozilla Firefox jest open sourcow± przegl±dark± sieci WWW, stworzon± z -my¶l± o zgodno¶ci ze standardami, wydajno¶ci± i przeno¶no¶ci±. - -%package libs -Summary: Mozilla Firefox shared libraries -Summary(pl): Biblioteki wspó³dzielone przegl±darki Mozilla Firefox -Group: Libraries -Conflicts: mozilla-firefox < 2.0-1.4 - -%description libs -Mozilla Firefox shared libraries. - -%description libs -l pl -Biblioteki wspó³dzielone przegl±darki Mozilla Firefox. - -%package devel -Summary: Headers for developing programs that will use Mozilla Firefox -Summary(pl): Mozilla Firefox - pliki nag³ówkowe -Group: X11/Development/Libraries -Requires: %{name}-libs = %{epoch}:%{version}-%{release} -Requires: nspr-devel >= 1:4.6.3 -Requires: nss-devel >= 1:3.11.3-3 -Obsoletes: mozilla-devel - -%description devel -Mozilla Firefox development package. - -%description devel -l pl -Pliki nag³ówkowe przegl±darki Mozilla Firefox. - -%package lang-en -Summary: English resources for Mozilla Firefox -Summary(pl): Anglojêzyczne zasoby dla przegl±darki Mozilla Firefox -Group: X11/Applications/Networking -Requires: %{name} = %{version}-%{release} -Provides: %{name}-lang-resources = %{version}-%{release} - -%description lang-en -English resources for Mozilla Firefox. +Firefox Community Edition is an open-source web browser, designed for +standards compliance, performance and portability. -%description lang-en -l pl -Anglojêzyczne zasoby dla przegl±darki Mozilla Firefox. +%description -l pl.UTF-8 +Firefox Community Edition jest przeglądarką WWW rozpowszechnianą +zgodnie z ideami ruchu otwartego oprogramowania oraz tworzoną z myślą +o zgodności ze standardami, wydajnością i przenośnością. %prep %setup -qc +mv -f mozilla-%{xulrunner_main} mozilla cd mozilla + %patch0 -p1 -%patch1 -p1 + +%if "%{cc_version}" < "3.4" +%patch1 -p2 +%endif + +%if "%{pld_release}" == "th" +%patch2 -p1 +%endif + +%if "%{pld_release}" == "ac" %patch3 -p1 -%patch5 -p1 +%endif -sed -i 's/\(-lgss\)\(\W\)/\1disable\2/' configure +%if "%{pld_release}" == "ti" +%patch4 -p1 +%endif -# use system -#rm -rf mozilla/nsprpub mozilla/security/nss +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p2 +%patch9 -p0 %build cd mozilla -export CFLAGS="%{rpmcflags} $(%{_bindir}/pkg-config mozilla-nspr --cflags-only-I)" -export CXXFLAGS="%{rpmcflags} $(%{_bindir}/pkg-config mozilla-nspr --cflags-only-I)" - cp -f %{_datadir}/automake/config.* build/autoconf -cp -f %{_datadir}/automake/config.* nsprpub/build/autoconf -cp -f %{_datadir}/automake/config.* directory/c-sdk/config/autoconf -cat << 'EOF' > .mozconfig -. $topsrcdir/browser/config/mozconfig +cat << EOF > .mozconfig +. \$topsrcdir/browser/config/mozconfig + +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-%{_target_cpu} # Options for 'configure' (same as command-line options). ac_add_options --prefix=%{_prefix} @@ -163,39 +192,57 @@ ac_add_options --enable-debugger-info-modules ac_add_options --enable-crash-on-assert %else ac_add_options --disable-debug +ac_add_options --disable-debug-modules ac_add_options --disable-logging -ac_add_options --enable-optimize="%{rpmcflags}" +ac_add_options --enable-optimize="%{rpmcflags} -Os" %endif +ac_add_options --disable-strip +ac_add_options --disable-strip-libs %if %{with tests} ac_add_options --enable-tests %else ac_add_options --disable-tests %endif -%if %{with gnome} -ac_add_options --enable-gnomevfs +%if %{with gnomeui} ac_add_options --enable-gnomeui %else -ac_add_options --disable-gnomevfs ac_add_options --disable-gnomeui %endif -ac_add_options --disable-freetype2 +%if %{with gnomevfs} +ac_add_options --enable-gnomevfs +%else +ac_add_options --disable-gnomevfs +%endif +ac_add_options --disable-crashreporter ac_add_options --disable-installer ac_add_options --disable-javaxpcom ac_add_options --disable-updater -ac_add_options --enable-default-toolkit=gtk2 +ac_add_options --disable-xprint +ac_add_options --enable-canvas +ac_add_options --enable-libxul +ac_add_options --enable-pango +ac_add_options --enable-startup-notification +ac_add_options --enable-svg ac_add_options --enable-system-cairo -ac_add_options --enable-xft +ac_add_options --enable-system-hunspell +ac_add_options --enable-system-sqlite +ac_add_options --enable-xinerama ac_add_options --with-distribution-id=org.pld-linux +%if %{with xulrunner} +ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul) +%endif +ac_add_options --with-pthreads +ac_add_options --with-system-bz2 +ac_add_options --with-system-jpeg ac_add_options --with-system-nspr ac_add_options --with-system-nss -ac_add_options --with-system-zlib -ac_add_options --with-system-jpeg ac_add_options --with-system-png +ac_add_options --with-system-zlib ac_add_options --with-default-mozilla-five-home=%{_libdir}/%{name} -ac_cv_visibility_pragma=no EOF %{__make} -j1 -f client.mk build \ + STRIP="/bin/true" \ CC="%{__cc}" \ CXX="%{__cxx}" @@ -205,73 +252,62 @@ cd mozilla install -d \ $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}} \ $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \ - $RPM_BUILD_ROOT%{_datadir}/%{name} \ - $RPM_BUILD_ROOT{%{_includedir},%{_pkgconfigdir}} + $RPM_BUILD_ROOT%{_datadir}/%{name} %browser_plugins_add_browser %{name} -p %{_libdir}/%{name}/plugins -%{__make} -C xpinstall/packager stage-package \ +%{__make} -C obj-%{_target_cpu}/browser/installer stage-package \ DESTDIR=$RPM_BUILD_ROOT \ MOZ_PKG_APPDIR=%{_libdir}/%{name} \ PKG_SKIP_STRIP=1 +install -d \ + $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins + # move arch independant ones to datadir mv $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome $RPM_BUILD_ROOT%{_datadir}/%{name}/chrome mv $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults $RPM_BUILD_ROOT%{_datadir}/%{name}/defaults -mv $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries $RPM_BUILD_ROOT%{_datadir}/%{name}/dictionaries mv $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions $RPM_BUILD_ROOT%{_datadir}/%{name}/extensions -mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs mv $RPM_BUILD_ROOT%{_libdir}/%{name}/icons $RPM_BUILD_ROOT%{_datadir}/%{name}/icons -mv $RPM_BUILD_ROOT%{_libdir}/%{name}/init.d $RPM_BUILD_ROOT%{_datadir}/%{name}/init.d -mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res +mv $RPM_BUILD_ROOT%{_libdir}/%{name}/modules $RPM_BUILD_ROOT%{_datadir}/%{name}/modules mv $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins $RPM_BUILD_ROOT%{_datadir}/%{name}/searchplugins +%if %{without xulrunner} +mv $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs $RPM_BUILD_ROOT%{_datadir}/%{name}/greprefs +mv $RPM_BUILD_ROOT%{_libdir}/%{name}/res $RPM_BUILD_ROOT%{_datadir}/%{name}/res +%endif + ln -s ../../share/%{name}/chrome $RPM_BUILD_ROOT%{_libdir}/%{name}/chrome ln -s ../../share/%{name}/defaults $RPM_BUILD_ROOT%{_libdir}/%{name}/defaults -ln -s ../../share/%{name}/dictionaries $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries ln -s ../../share/%{name}/extensions $RPM_BUILD_ROOT%{_libdir}/%{name}/extensions -ln -s ../../share/%{name}/greprefs $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs +ln -s ../../share/%{name}/modules $RPM_BUILD_ROOT%{_libdir}/%{name}/modules ln -s ../../share/%{name}/icons $RPM_BUILD_ROOT%{_libdir}/%{name}/icons -ln -s ../../share/%{name}/init.d $RPM_BUILD_ROOT%{_libdir}/%{name}/init.d -ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res ln -s ../../share/%{name}/searchplugins $RPM_BUILD_ROOT%{_libdir}/%{name}/searchplugins +%if %{without xulrunner} +ln -s ../../share/%{name}/greprefs $RPM_BUILD_ROOT%{_libdir}/%{name}/greprefs +ln -s ../../share/%{name}/res $RPM_BUILD_ROOT%{_libdir}/%{name}/res +%endif + +%if %{without xulrunner} +rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries +ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{_libdir}/%{name}/dictionaries +%endif sed 's,@LIBDIR@,%{_libdir},' %{SOURCE2} > $RPM_BUILD_ROOT%{_bindir}/mozilla-firefox ln -s mozilla-firefox $RPM_BUILD_ROOT%{_bindir}/firefox -install browser/base/branding/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-firefox.png - -install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} - -# header/development files -cp -rfLp dist/include $RPM_BUILD_ROOT%{_includedir}/%{name} -cp -rfLp dist/idl $RPM_BUILD_ROOT%{_includedir}/%{name} -ln -sf necko/nsIURI.h $RPM_BUILD_ROOT%{_includedir}/mozilla-firefox/nsIURI.h -install dist/bin/regxpcom $RPM_BUILD_ROOT%{_bindir} -mv $RPM_BUILD_ROOT{%{_libdir}/%{name},%{_bindir}}/xpidl -mv $RPM_BUILD_ROOT{%{_libdir}/%{name},%{_bindir}}/xpt_dump -mv $RPM_BUILD_ROOT{%{_libdir}/%{name},%{_bindir}}/xpt_link +cp -a browser/branding/unofficial/content/icon64.png $RPM_BUILD_ROOT%{_pixmapsdir}/mozilla-firefox.png +cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop -# pkgconfig files -for f in build/unix/*.pc; do - sed -e 's/firefox-%{version}/mozilla-firefox/' $f > $RPM_BUILD_ROOT%{_pkgconfigdir}/${f##*/} -done - -# already provided by standalone packages -rm $RPM_BUILD_ROOT%{_pkgconfigdir}/firefox-{nss,nspr}.pc - -sed -i -e 's#firefox-nspr =.*#mozilla-nspr#g' -e 's#irefox-nss =.*#mozilla-nss#g' \ - $RPM_BUILD_ROOT%{_pkgconfigdir}/*.pc - -# includedir/dom CFLAGS -sed -i -e '/Cflags:/{/{includedir}\/dom/!s,$, -I${includedir}/dom,}' \ - $RPM_BUILD_ROOT%{_pkgconfigdir}/firefox-plugin.pc - -# files created by regxpcom and firefox -register +# files created by firefox -register touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/compreg.dat touch $RPM_BUILD_ROOT%{_libdir}/%{name}/components/xpti.dat -# what's this? it's content is invalid anyway. -rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list +%if %{with xulrunner} +rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/run-mozilla.sh +%endif +rm $RPM_BUILD_ROOT%{_libdir}/%{name}/LICENSE +rm $RPM_BUILD_ROOT%{_libdir}/%{name}/README.txt +rm $RPM_BUILD_ROOT%{_libdir}/%{name}/components/components.list cat << 'EOF' > $RPM_BUILD_ROOT%{_sbindir}/%{name}-chrome+xpcom-generate #!/bin/sh @@ -284,7 +320,6 @@ export HOME=$(mktemp -d) # also TMPDIR could be pointing to sudo user's homedir unset TMPDIR TMP || : -LD_LIBRARY_PATH=%{_libdir}/%{name}${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %{_libdir}/%{name}/regxpcom %{_libdir}/%{name}/firefox -register rm -rf $HOME @@ -293,8 +328,11 @@ EOF %clean rm -rf $RPM_BUILD_ROOT -%pre -for d in chrome defaults dictionaries extensions greprefs icons init.d res searchplugins; do +%pretrans +if [ -d %{_libdir}/%{name}/dictionaries ] && [ ! -L %{_libdir}/%{name}/dictionaries ]; then + mv -v %{_libdir}/%{name}/dictionaries{,.rpmsave} +fi +for d in chrome defaults extensions greprefs icons res searchplugins; do if [ -d %{_libdir}/%{name}/$d ] && [ ! -L %{_libdir}/%{name}/$d ]; then install -d %{_datadir}/%{name} mv %{_libdir}/%{name}/$d %{_datadir}/%{name}/$d @@ -321,75 +359,141 @@ fi %{_browserpluginsconfdir}/browsers.d/%{name}.* %config(noreplace) %verify(not md5 mtime size) %{_browserpluginsconfdir}/blacklist.d/%{name}.*.blacklist +%dir %{_libdir}/%{name} +%if %{without xulrunner} +%attr(755,root,root) %{_libdir}/%{name}/libmozjs.so +%attr(755,root,root) %{_libdir}/%{name}/libxpcom.so +%attr(755,root,root) %{_libdir}/%{name}/libxul.so +%endif +%{_libdir}/%{name}/blocklist.xml + +%if %{with crashreporter} +%{_libdir}/%{name}/crashreporter +%{_libdir}/%{name}/crashreporter-override.ini +%{_libdir}/%{name}/crashreporter.ini +%{_libdir}/%{name}/Throbber-small.gif +%endif + +# config? +%{_libdir}/%{name}/.autoreg +%{_libdir}/%{name}/application.ini + %dir %{_libdir}/%{name}/components -%attr(755,root,root) %{_libdir}/%{name}/components/*.so -%{_libdir}/%{name}/components/*.js -%{_libdir}/%{name}/components/*.xpt + +%{_libdir}/%{name}/components/FeedConverter.js +%{_libdir}/%{name}/components/FeedWriter.js +%{_libdir}/%{name}/components/WebContentConverter.js +%{_libdir}/%{name}/components/browser.xpt +%{_libdir}/%{name}/components/fuelApplication.js +%{_libdir}/%{name}/components/nsBrowserContentHandler.js +%{_libdir}/%{name}/components/nsBrowserGlue.js +%{_libdir}/%{name}/components/nsMicrosummaryService.js +%{_libdir}/%{name}/components/nsPlacesTransactionsService.js +%{_libdir}/%{name}/components/nsPrivateBrowsingService.js +%{_libdir}/%{name}/components/nsSafebrowsingApplication.js +%{_libdir}/%{name}/components/nsSessionStartup.js +%{_libdir}/%{name}/components/nsSessionStore.js +%{_libdir}/%{name}/components/nsSetDefaultBrowser.js +%{_libdir}/%{name}/components/nsSidebar.js +%if %{without xulrunner} +%{_libdir}/%{name}/platform.ini +%{_libdir}/%{name}/components/FeedProcessor.js +%{_libdir}/%{name}/components/GPSDGeolocationProvider.js +%{_libdir}/%{name}/components/NetworkGeolocationProvider.js +%{_libdir}/%{name}/components/jsconsole-clhandler.js +%{_libdir}/%{name}/components/nsAddonRepository.js +%{_libdir}/%{name}/components/nsBadCertHandler.js +%{_libdir}/%{name}/components/nsBlocklistService.js +%{_libdir}/%{name}/components/nsContentDispatchChooser.js +%{_libdir}/%{name}/components/nsContentPrefService.js +%{_libdir}/%{name}/components/nsDefaultCLH.js +%{_libdir}/%{name}/components/nsDownloadManagerUI.js +%{_libdir}/%{name}/components/nsExtensionManager.js +%{_libdir}/%{name}/components/nsFilePicker.js +%{_libdir}/%{name}/components/nsFormAutoComplete.js +%{_libdir}/%{name}/components/nsHandlerService.js +%{_libdir}/%{name}/components/nsHelperAppDlg.js +%{_libdir}/%{name}/components/nsLivemarkService.js +%{_libdir}/%{name}/components/nsLoginInfo.js +%{_libdir}/%{name}/components/nsLoginManager.js +%{_libdir}/%{name}/components/nsLoginManagerPrompter.js +%{_libdir}/%{name}/components/nsPlacesAutoComplete.js +%{_libdir}/%{name}/components/nsPlacesDBFlush.js +%{_libdir}/%{name}/components/nsProxyAutoConfig.js +%{_libdir}/%{name}/components/nsSearchService.js +%{_libdir}/%{name}/components/nsSearchSuggestions.js +%{_libdir}/%{name}/components/nsTaggingService.js +%{_libdir}/%{name}/components/nsTryToClose.js +%{_libdir}/%{name}/components/nsURLFormatter.js +%{_libdir}/%{name}/components/nsUpdateService.js +%{_libdir}/%{name}/components/nsUpdateTimerManager.js +%{_libdir}/%{name}/components/nsUrlClassifierLib.js +%{_libdir}/%{name}/components/nsUrlClassifierListManager.js +%{_libdir}/%{name}/components/nsWebHandlerApp.js +%{_libdir}/%{name}/components/pluginGlue.js +%{_libdir}/%{name}/components/storage-Legacy.js +%{_libdir}/%{name}/components/storage-mozStorage.js +%{_libdir}/%{name}/components/txEXSLTRegExFunctions.js +%endif + +%attr(755,root,root) %{_libdir}/%{name}/components/libbrowsercomps.so +%attr(755,root,root) %{_libdir}/%{name}/components/libbrowserdirprovider.so +%if %{without xulrunner} +%attr(755,root,root) %{_libdir}/%{name}/components/libdbusservice.so +%attr(755,root,root) %{_libdir}/%{name}/components/libimgicon.so +%endif + +%if %{with gnomevfs} +%if %{without xulrunner} +%attr(755,root,root) %{_libdir}/%{name}/components/libmozgnome.so +%endif +%attr(755,root,root) %{_libdir}/%{name}/components/libnkgnomevfs.so +%endif + +%attr(755,root,root) %{_libdir}/%{name}/firefox %dir %{_libdir}/%{name}/plugins +%if %{without xulrunner} +%attr(755,root,root) %{_libdir}/%{name}/run-mozilla.sh +%attr(755,root,root) %{_libdir}/%{name}/firefox-bin %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so -%attr(755,root,root) %{_libdir}/%{name}/*.sh -%attr(755,root,root) %{_libdir}/%{name}/m* -%attr(755,root,root) %{_libdir}/%{name}/f* -%attr(755,root,root) %{_libdir}/%{name}/regxpcom -%attr(755,root,root) %{_libdir}/%{name}/x* -%{_pixmapsdir}/* -%{_desktopdir}/*.desktop +%attr(755,root,root) %{_libdir}/%{name}/mozilla-xremote-client +%endif +%{_pixmapsdir}/mozilla-firefox.png +%{_desktopdir}/mozilla-firefox.desktop # symlinks %{_libdir}/%{name}/chrome %{_libdir}/%{name}/defaults -%{_libdir}/%{name}/dictionaries %{_libdir}/%{name}/extensions -%{_libdir}/%{name}/greprefs %{_libdir}/%{name}/icons -%{_libdir}/%{name}/init.d -%{_libdir}/%{name}/res +%{_libdir}/%{name}/modules %{_libdir}/%{name}/searchplugins +%if %{without xulrunner} +%{_libdir}/%{name}/dictionaries +%{_libdir}/%{name}/greprefs +%{_libdir}/%{name}/res +%endif # browserconfig %{_libdir}/%{name}/browserconfig.properties -%{_libdir}/%{name}/LICENSE -%{_libdir}/%{name}/README.txt - %dir %{_datadir}/%{name} %{_datadir}/%{name}/chrome %{_datadir}/%{name}/defaults -%{_datadir}/%{name}/dictionaries -%{_datadir}/%{name}/greprefs %{_datadir}/%{name}/icons -%{_datadir}/%{name}/init.d -%{_datadir}/%{name}/res +%{_datadir}/%{name}/modules %{_datadir}/%{name}/searchplugins +%if %{without xulrunner} +%{_datadir}/%{name}/greprefs +%{_datadir}/%{name}/res +%endif %dir %{_datadir}/%{name}/extensions # -dom-inspector subpackage? -%{_datadir}/%{name}/extensions/inspector@mozilla.org +#%{_datadir}/%{name}/extensions/inspector@mozilla.org # the signature of the default theme %{_datadir}/%{name}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} -# files created by regxpcom and firefox -register +# files created by firefox -register %ghost %{_libdir}/%{name}/components/compreg.dat %ghost %{_libdir}/%{name}/components/xpti.dat - -%files libs -%defattr(644,root,root,755) -%dir %{_libdir}/%{name} -%attr(755,root,root) %{_libdir}/%{name}/*.so - -%files devel -%defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/regxpcom -%attr(755,root,root) %{_bindir}/xpidl -%attr(755,root,root) %{_bindir}/xpt_dump -%attr(755,root,root) %{_bindir}/xpt_link -%{_includedir}/%{name} -%{_pkgconfigdir}/* - -%files lang-en -%defattr(644,root,root,755) -%{_datadir}/%{name}/chrome/en-US.jar -%{_datadir}/%{name}/chrome/en-US.manifest -# probably should share these with all mozilla apps -%{_datadir}/%{name}/dictionaries/en-US.aff -%{_datadir}/%{name}/dictionaries/en-US.dic