Search
j0ke.net Open Build Service
>
Projects
>
mozilla
>
seamonkey
> seamonkey.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File seamonkey.spec of Package seamonkey
# # spec file for package seamonkey (Version 1.1.13) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: seamonkey # Checklist for updating: # * Copy new sources (don't forget enigmail) and patches # to your package checkout. # * Increment Version: as necessary # * Update releasedate # * Ensure patches are in sync among all releases # * configure.patch should be the last patch applied against the mozilla # source itself; the following patches apply to other tarballs. # * configure.patch is regenerated (when necessary) by applying # pango-cairo.patch, dbus.patch, startup.patch to an unpacked source, # and then running autoconf 2.13. debian.suse.de used to have this # version installed. For more info see # http://developer.mozilla.org/en/docs/How_Mozilla's_build_system_works # * Update the .changes file # * Update this checklist if necessary and keep it in sync on all supported # platforms. BuildRequires: gcc-c++ libgnomeui-devel libidl-devel orbit-devel update-desktop-files zip unzip %if 0%{?suse_version} > 1020 BuildRequires: fdupes %endif # fixing broken requirements on 9.3 %if 0%{?suse_version} <= 930 BuildRequires: freetype2-devel popt-devel # fix broken SLES9 requirements %if 0%{?suse_version} == 910 BuildRequires: pkgconfig gnome-vfs2 libgnome libgnomeui %endif %endif License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) Provides: web_browser Version: 1.1.13 Release: 1 Summary: The successor of the Mozilla Application Suite Url: http://www.mozilla.org/projects/seamonkey Group: Productivity/Networking/Web/Browsers %if 0%{?suse_version} > 1000 Provides: mozilla = 1.8 Obsoletes: mozilla < 1.8 %endif Source: seamonkey-source-%{version}.tar.bz2 Source1: seamonkey-desktop.tar.bz2 Source2: add-plugins.sh.in Source3: mozilla.sh.in Source4: suse-default-prefs.js Source5: LEOPlugin_MN.zip Source6: search-addons.tar.bz2 Source8: addon-certs.txt Source9: enigmail-0.95.7.tar.bz2 Source11: rebuild-databases.sh.in Source12: README.installed-chrome Source13: mozilla-make-package.pl Source14: mozex.jar Patch1: replytolist.patch Patch2: prefs.patch Patch3: list-replyto-clobber.patch Patch4: packages-unix.patch Patch5: disable-gconf.patch Patch6: prdtoa.patch Patch7: mozilla-bookmarks.diff Patch8: gnome-vfs.patch Patch9: abuild.patch Patch10: mips.patch Patch11: freetype.dif Patch12: misc.dif Patch13: nss-opt.patch Patch14: xremote.patch Patch15: autoconf.dif Patch16: canvas-xlibs.patch Patch17: mozilla-default-plugin-less-annoying.patch Patch18: mozilla-gcc4.3-fixes.patch Patch19: mozilla-path_len.patch Patch22: cjk-postscript-fonts.dif Patch27: postscript.patch Patch29: cups-paper.patch Patch30: unused-includes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: libstdc++ /bin/sh coreutils %define _unpackaged_files_terminate_build 0 %define releasedate 2008111000 %define progname seamonkey %define prefix /usr %define progdir %_libdir/%{progname} %define my_provides %{_tmppath}/my-provides %define my_requires %{_tmppath}/my-requires %if 0%{?suse_version} > 920 %define libgssapi libgssapi_krb5.so.2 %else %define libgssapi libgssapi.so.1 %endif ### build options %define milestone 1 %define debug 0 %define build_enigmail 1 ### build options end # the following conditions are always met in Factory by definition # so using %opensuse_bs is secure for now %if 0%{?suse_version} > 930 || 0%{?opensuse_bs} BuildRequires: mozilla-nspr-devel PreReq: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) %endif %if 0%{?suse_version} > 1010 || 0%{?opensuse_bs} BuildRequires: mozilla-nss-devel PreReq: mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss) %endif %if %build_enigmail Requires: /usr/bin/gpg %if 0%{?suse_version} > 1020 Requires: pinentry-dialog %endif %endif %description Originally based on the Netscape Communicator source, the SeaMonkey project grew to be the most advanced web browser currently available. It supports new techniques like CSS2, MathML, SVG, XML, transparent PNGs, and its look is fully theme-able. Authors: -------- SeaMonkey Council <seamonkey-council@mozilla.org> %package mail License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) Summary: The SeaMonkey Mail Client Group: Productivity/Networking/Email/Clients PreReq: %{name} = %{version} %if 0%{?suse_version} > 1000 Provides: mozilla-mail Obsoletes: mozilla-mail %endif %description mail A mail and news client based on the SeaMonkey web browser. This client supports IMAP, POP3, and NNTP, and has an easy to use interface. Authors: -------- SeaMonkey Council <seamonkey-council@mozilla.org> %package irc License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) Summary: IRC for SeaMonkey Group: Productivity/Networking/IRC PreReq: %{name} = %{version} %if 0%{?suse_version} > 1000 Provides: mozilla-irc Obsoletes: mozilla-irc %endif %description irc An IRC Client (Chatzilla) for SeaMonkey. Authors: -------- SeaMonkey Council <seamonkey-council@mozilla.org> %package venkman License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) Summary: The SeaMonkey JavaScript Debugger Group: Development/Tools/Debuggers PreReq: %{name} = %{version} %if 0%{?suse_version} > 1000 Provides: mozilla-venkman Obsoletes: mozilla-venkman %endif %description venkman A javascript debugger for the SeaMonkey web browser. Authors: -------- SeaMonkey Council <seamonkey-council@mozilla.org> %package dom-inspector License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) Summary: The SeaMonkey DOM Inspector Group: Development/Tools/Navigators PreReq: %{name} = %{version} %if 0%{?suse_version} > 1000 Provides: mozilla-dom-inspector Obsoletes: mozilla-dom-inspector %endif %description dom-inspector This is a tool that allows you to inspect the DOM for web pages in SeaMonkey. This is of great use to people who are doing SeaMonkey chrome development or web page development. Authors: -------- SeaMonkey Council <seamonkey-council@mozilla.org> %package spellchecker License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) Summary: A Spell Checker for SeaMonkey Group: Productivity/Networking/Email/Utilities PreReq: %{name} = %{version} # most likely not needed #PreReq: myspell-dictionary %if 0%{?suse_version} > 1000 Provides: mozilla-spellchecker Obsoletes: mozilla-spellchecker %endif %description spellchecker This package contains a spell checker application for the SeaMonkey Internet application suite. Authors: -------- SeaMonkey Council <seamonkey-council@mozilla.org> %prep %setup -n mozilla -b 1 -b 9 -q %patch1 %patch2 %patch3 %patch4 %patch5 %patch6 %patch7 %patch8 %patch9 %patch10 %patch11 %patch12 %patch13 #%patch14 %patch15 %patch16 %patch17 -p2 %patch18 %patch19 -p1 %patch22 %patch27 %patch29 %patch30 # additional CA certificates cd $RPM_BUILD_DIR/mozilla/security/nss/lib/ckfw/builtins cat %{SOURCE8} >> certdata.txt make generate PERL=/usr/bin/perl %build export MOZ_BUILD_DATE=%{releasedate} export MOZILLA_OFFICIAL=1 export BUILD_OFFICIAL=1 export CFLAGS="$RPM_OPT_FLAGS -g -fno-strict-aliasing" %if 0%{?suse_version} > 1000 export CFLAGS="$CFLAGS -fstack-protector" %endif # enigmail build fails with visibility enabled %if 0%{?suse_version} > 1020 %ifarch x86_64 s390 s390x export ac_cv_visibility_hidden="no" %endif # hopefully only temporary for gcc 4.3 %if 0%{?suse_version} > 1030 export ac_cv_visibility_hidden="no" %endif %endif export CXXFLAGS="$CFLAGS" ./configure --enable-application=suite \ --disable-tests \ --enable-extensions=default \ --enable-xinerama --enable-crypto \ --enable-reorder \ %if 0%{?suse_version} <= 920 --enable-strip \ %endif --enable-svg \ --enable-canvas \ %if %debug --enable-debug \ %else --disable-debug --disable-dtd-debug \ %endif --enable-xft \ %if 0%{?suse_version} > 930 --enable-pango \ %endif --disable-freetype2 \ --enable-default-toolkit=gtk2 \ --with-default-mozilla-five-home=%{progdir} \ %if 0%{?suse_version} > 930 || 0%{?opensuse_bs} --with-system-nspr \ %endif %if 0%{?suse_version} > 930 --enable-system-cairo \ %endif %if 0%{?suse_version} > 1010 || 0%{?opensuse_bs} --with-system-nss \ %endif --libdir=%{progdir} \ --sysconfdir=%{_sysconfdir} \ --mandir=%{_mandir} \ --prefix=%{prefix} \ --with-system-jpeg \ --with-system-png \ --with-system-mng \ --with-system-zlib \ --enable-ldap-experimental \ --disable-installer \ --enable-xtf make %{?jobs:-j%jobs} # ### enigmail build %if %build_enigmail mv $RPM_BUILD_DIR/enigmail $RPM_BUILD_DIR/mozilla/mailnews/extensions/ (cd $RPM_BUILD_DIR/mozilla/mailnews/extensions/enigmail; ./makemake -r; make) %endif %install DESTDIR=$RPM_BUILD_ROOT \ make install # # remove unneeded stuff rm -rf $RPM_BUILD_ROOT/usr/share/idl/ rm -rf $RPM_BUILD_ROOT/usr/include/seamonkey/ rm -rf $RPM_BUILD_ROOT%{progdir}/pkgconfig/ # movemail installation mkdir -p $RPM_BUILD_ROOT%{progdir}/isp/ cp -fL dist/bin/isp/* \ $RPM_BUILD_ROOT%{progdir}/isp/ # ### create file-lists ### # chmod u+x %{SOURCE13} # mozilla rm -f %{_tmppath}/mozilla.list echo %defattr\(-,root,root\) > %{_tmppath}/mozilla.list %{SOURCE13} --package langenus \ --output-file %{_tmppath}/mozilla.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} %{SOURCE13} --package regus \ --output-file %{_tmppath}/mozilla.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} %{SOURCE13} --package deflenus \ --output-file %{_tmppath}/mozilla.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} %{SOURCE13} --package xpcom \ --output-file %{_tmppath}/mozilla.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} %{SOURCE13} --package browser \ --output-file %{_tmppath}/mozilla.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} %{SOURCE13} --package psm \ --output-file %{_tmppath}/mozilla.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} %{SOURCE13} --package reporter \ --output-file %{_tmppath}/mozilla.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} %if 0%{?suse_version} < 1000 %{SOURCE13} --package nspr \ --output-file %{_tmppath}/mozilla.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} %endif %if 0%{?suse_version} <= 1010 %{SOURCE13} --package nss \ --output-file %{_tmppath}/mozilla.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} %endif # mozilla-mail rm -f %{_tmppath}/mozilla-mail.list echo %defattr\(-,root,root\) > %{_tmppath}/mozilla-mail.list %{SOURCE13} --package mail \ --output-file %{_tmppath}/mozilla-mail.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} # mozilla-irc rm -f %{_tmppath}/mozilla-chat.list echo %defattr\(-,root,root\) > %{_tmppath}/mozilla-chat.list %{SOURCE13} --package chatzilla \ --output-file %{_tmppath}/mozilla-chat.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} # mozilla-venkman rm -f %{_tmppath}/mozilla-venkman.list echo %defattr\(-,root,root\) > %{_tmppath}/mozilla-venkman.list %{SOURCE13} --package venkman \ --output-file %{_tmppath}/mozilla-venkman.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} # mozilla-dom-inspector rm -f %{_tmppath}/mozilla-inspector.list echo %defattr\(-,root,root\) > %{_tmppath}/mozilla-inspector.list %{SOURCE13} --package inspector \ --output-file %{_tmppath}/mozilla-inspector.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} # mozilla-spellchecker rm -f %{_tmppath}/mozilla-spellchecker.list echo %defattr\(-,root,root\) > %{_tmppath}/mozilla-spellchecker.list %{SOURCE13} --package spellcheck \ --output-file %{_tmppath}/mozilla-spellchecker.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{progdir} \ --install-root %{progdir} # overwrite the mozilla start-script and link it to /usr/bin mkdir --parents $RPM_BUILD_ROOT/usr/bin sed "s:%%PREFIX:%{prefix}:g s:%%PROGDIR:%{progdir}:g s:%%APPNAME:%{progname}:g s:%%PROFILE:.mozilla:g" \ %{SOURCE3} > $RPM_BUILD_ROOT%{progdir}/%{progname}.sh chmod 755 $RPM_BUILD_ROOT%{progdir}/%{progname}.sh ln -sf ../..%{progdir}/%{progname}.sh $RPM_BUILD_ROOT/usr/bin/%{progname} # apply SUSE defaults sed -e 's,RPM_VERSION,%{version}-%{release},g s,GSSAPI,%{libgssapi},g' \ %{SOURCE4} > suse-default-prefs cp suse-default-prefs $RPM_BUILD_ROOT/%{progdir}/defaults/pref/all-novell.js rm suse-default-prefs # Desktop definition mkdir -p $RPM_BUILD_ROOT/usr/share/applications install -m 644 $RPM_BUILD_DIR/*.desktop \ $RPM_BUILD_ROOT/usr/share/applications mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/ install -m 644 $RPM_BUILD_DIR/*.png $RPM_BUILD_ROOT/usr/share/pixmaps/ # gtk icons (for gtk2 build) mkdir -p $RPM_BUILD_ROOT%{progdir}/icons cp -f $RPM_BUILD_DIR/mozilla/widget/src/gtk/*.xpm $RPM_BUILD_ROOT%{progdir}/icons # install add-plugins.sh sed "s:%%PROGDIR:%{progdir}:g s:%%APPNAME:%{progname}:g" \ %{SOURCE2} > $RPM_BUILD_ROOT%{progdir}/add-plugins.sh chmod 755 $RPM_BUILD_ROOT%{progdir}/add-plugins.sh ########## # ADDONS # sed "s:%%PREFIX:%{prefix}:g s:%%PROGDIR:%{progdir}:g" \ %{SOURCE11} > $RPM_BUILD_ROOT%{progdir}/rebuild-databases.sh chmod 755 $RPM_BUILD_ROOT%{progdir}/rebuild-databases.sh unzip %{SOURCE5} LEO.* -d $RPM_BUILD_DIR (cd $RPM_BUILD_ROOT%{progdir}/searchplugins ; tar xjf %{SOURCE6}) cp -f $RPM_BUILD_DIR/LEO* $RPM_BUILD_ROOT%{progdir}/searchplugins # registry ;-) pushd $RPM_BUILD_ROOT%{progdir} LD_LIBRARY_PATH=`pwd`:`pwd`/.. MOZILLA_FIVE_HOME=`pwd` MOZ_DISABLE_GCONF=1 ./regxpcom LD_LIBRARY_PATH=`pwd`:`pwd`/.. MOZILLA_FIVE_HOME=`pwd` MOZ_DISABLE_GCONF=1 ./regchrome # workaround for xpti.dat sed "s:$RPM_BUILD_ROOT::g" components/xpti.dat > components/xpti.dat.new && \ mv -f components/xpti.dat.new components/xpti.dat popd # install enigmail %if %build_enigmail cp -f $RPM_BUILD_DIR/mozilla/dist/bin/chrome/enigmail.jar $RPM_BUILD_ROOT%{progdir}/chrome/ cp -f $RPM_BUILD_DIR/mozilla/dist/bin/chrome/enigmail-skin.jar $RPM_BUILD_ROOT%{progdir}/chrome/ cp -f $RPM_BUILD_DIR/mozilla/dist/bin/components/enig* $RPM_BUILD_ROOT%{progdir}/components/ cp -f $RPM_BUILD_DIR/mozilla/dist/bin/components/libenigmime.so $RPM_BUILD_ROOT%{progdir}/components/ cp -f $RPM_BUILD_DIR/mozilla/dist/bin/components/ipc.xpt $RPM_BUILD_ROOT%{progdir}/components/ cp -f $RPM_BUILD_DIR/mozilla/dist/bin/defaults/pref/enigmail.js $RPM_BUILD_ROOT%{progdir}/defaults/pref/ %endif # install mozex install -m 0644 %SOURCE14 $RPM_BUILD_ROOT%{progdir}/chrome/ # ghost-files [ -f $RPM_BUILD_ROOT%{progdir}/components/compreg.dat ] || \ touch $RPM_BUILD_ROOT%{progdir}/components/compreg.dat [ -d $RPM_BUILD_ROOT%{progdir}/res/dtd ] || \ mkdir -p $RPM_BUILD_ROOT%{progdir}/res/dtd [ -d $RPM_BUILD_ROOT%{progdir}/res/fonts ] || \ mkdir -p $RPM_BUILD_ROOT%{progdir}/res/fonts # chrome registry %if %build_enigmail cat <<EOF >> $RPM_BUILD_ROOT%{progdir}/chrome/installed-chrome.txt content,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/ locale,install,url,jar:resource:/chrome/enigmail.jar!/locale/en-US/enigmail/ skin,install,url,jar:resource:/chrome/enigmail-skin.jar!/skin/classic/enigmail/ skin,install,url,jar:resource:/chrome/enigmail-skin.jar!/skin/modern/enigmail/ EOF %endif echo content,install,url,jar:resource:/chrome/mozex.jar!/content/mozex/ >> $RPM_BUILD_ROOT%{progdir}/chrome/installed-chrome.txt echo skin,install,select,modern/1.0 >> $RPM_BUILD_ROOT%{progdir}/chrome/installed-chrome.txt echo locale,install,select,en-US >> $RPM_BUILD_ROOT%{progdir}/chrome/installed-chrome.txt mkdir -p $RPM_BUILD_ROOT%{progdir}/installed-chrome.d/locales cp -f $RPM_BUILD_ROOT%{progdir}/chrome/installed-chrome.txt $RPM_BUILD_ROOT%{progdir}/installed-chrome.d/mozilla sed '/installed-chrome.txt/d' <%{_tmppath}/mozilla.list >%{_tmppath}/mozilla.list~ && mv %{_tmppath}/mozilla.list~ %{_tmppath}/mozilla.list # avoid "file listed twice" grep -v "searchplugins" %{_tmppath}/mozilla.list > %{_tmppath}/mozilla.list~ && mv %{_tmppath}/mozilla.list~ %{_tmppath}/mozilla.list # touch $RPM_BUILD_ROOT%{progdir}/installed-chrome.d/manual touch $RPM_BUILD_ROOT%{progdir}/chrome/locale.alias %suse_update_desktop_file seamonkey Network WebBrowser GTK %suse_update_desktop_file seamonkey-mail Network Email GTK %suse_update_desktop_file seamonkey-composer Network WebDevelopment GTK %if 0%{?suse_version} == 1000 || 0%{?suse_version} == 1010 # modify provides and requires lists cat << EOF > %{my_provides} grep -vE "libnss3.so|libnssckbi.so|libsmime3.so|libsoftokn3.so|libssl3.so" | %{__find_provides} EOF chmod 755 %{my_provides} %define __find_provides %{my_provides} cat << EOF > %{my_requires} grep -vE "libnss3.so|libnssckbi.so|libsmime3.so|libsoftokn3.so|libssl3.so|libpipnss.so" | %{__find_requires} EOF chmod 755 %{my_requires} %define __find_requires %{my_requires} %endif %if 0%{?suse_version} > 1020 # Some sites use different partitions for /usr/(lib|lib64) and /usr/share. Since you # can't create hardlinks across partitions, we'll do this more than once. %fdupes $RPM_BUILD_ROOT%{progdir} %fdupes $RPM_BUILD_ROOT%{_datadir} %endif %clean rm -rf $RPM_BUILD_ROOT rm -f %{_tmppath}/mozilla*.list %if 0%{?suse_version} == 1000 || 0%{?suse_version} == 1010 rm -f %{my_provides} rm -f %{my_requires} %endif %post %progdir/rebuild-databases.sh %progdir/add-plugins.sh > /dev/null 2>&1 exit 0 %post mail %progdir/rebuild-databases.sh exit 0 %post dom-inspector %progdir/rebuild-databases.sh exit 0 %post venkman %progdir/rebuild-databases.sh exit 0 %post irc %progdir/rebuild-databases.sh exit 0 %post spellchecker %progdir/rebuild-databases.sh %progdir/add-plugins.sh > /dev/null 2>&1 exit 0 %postun mail %progdir/rebuild-databases.sh exit 0 %postun dom-inspector %progdir/rebuild-databases.sh exit 0 %postun venkman %progdir/rebuild-databases.sh exit 0 %postun irc %progdir/rebuild-databases.sh exit 0 %postun spellchecker %progdir/rebuild-databases.sh %progdir/add-plugins.sh > /dev/null 2>&1 exit 0 %preun if [ "$1" = "0" ]; then # deinstallation rm -f %{progdir}/plugins/* %{progdir}/dictionaries/* rm -rf %{progdir}/chrome/overlayinfo rm -f %{progdir}/chrome/*.rdf fi exit 0 %triggerin -- myspell-dictionary %progdir/add-plugins.sh > /dev/null 2>&1 exit 0 %triggerpostun -- myspell-dictionary %progdir/add-plugins.sh > /dev/null 2>&1 exit 0 %files -f %{_tmppath}/mozilla.list %defattr(-,root,root) %attr(755,root,root) %{progdir}/rebuild-databases.sh %attr(755,root,root) %{progdir}/add-plugins.sh %attr(755,root,root) %{progdir}/%{progname}.sh %dir %{progdir}/installed-chrome.d %dir %{progdir}/installed-chrome.d/locales %dir %{progdir}/res %dir %{progdir}/res/dtd %dir %{progdir}/res/html %dir %{progdir}/res/fonts %if !%milestone %dir %{progdir}/res/samples %dir %{progdir}/res/samples/sampleimages %endif %dir %{progdir}/res/entityTables %{progdir}/searchplugins %{progdir}/icons %{progdir}/isp/ %dir %{progdir}/components %dir %{progdir}/chrome %{progdir}/chrome/mozex.jar %dir %{progdir}/chrome/icons %dir %{progdir}/chrome/icons/default %dir %{progdir}/defaults %dir %{progdir}/defaults/pref %{progdir}/defaults/pref/all-novell.js %dir %{progdir}/defaults/autoconfig %dir %{progdir}/defaults/wallet %dir %{progdir}/defaults/messenger %dir %{progdir}/defaults/messenger/US %dir %{progdir}/defaults/profile %dir %{progdir}/defaults/profile/US %dir %{progdir}/greprefs %dir %{progdir}/plugins %dir %{progdir}/init.d/ %dir %{progdir}/ %doc %{_mandir}/man1/%{progname}.1.gz %verify (not md5 mtime size) %{progdir}/components/xpti.dat %verify (not md5 mtime size) %{progdir}/components/compreg.dat /usr/bin/%{progname} /usr/share/applications/seamonkey.desktop /usr/share/applications/seamonkey-composer.desktop /usr/share/pixmaps/%{progname}-orig.png /usr/share/pixmaps/%{progname}.png /usr/share/pixmaps/%{progname}-composer.png %{progdir}/installed-chrome.d/mozilla %verify (not md5 mtime size) %{progdir}/installed-chrome.d/manual %ghost %{progdir}/chrome/installed-chrome.txt %ghost %verify (not md5 mtime size) %{progdir}/chrome/locale.alias %files mail -f %{_tmppath}/mozilla-mail.list %defattr(-,root,root) /usr/share/applications/seamonkey-mail.desktop /usr/share/pixmaps/%{progname}-mail.png # enigmail %if %build_enigmail %{progdir}/chrome/enigmail.jar %{progdir}/chrome/enigmail-skin.jar %{progdir}/components/enigmail.xpt %{progdir}/components/enigmail.js %{progdir}/components/enigprefs-service.js %{progdir}/components/libenigmime.so %{progdir}/components/enigmime.xpt %{progdir}/components/ipc.xpt %{progdir}/defaults/pref/enigmail.js %endif %files irc -f %{_tmppath}/mozilla-chat.list %defattr(-,root,root) %files venkman -f %{_tmppath}/mozilla-venkman.list %defattr(-,root,root) %files dom-inspector -f %{_tmppath}/mozilla-inspector.list %defattr(-,root,root) %files spellchecker -f %{_tmppath}/mozilla-spellchecker.list %defattr(-,root,root) %dir %{progdir}/dictionaries