2005-10-26 Glynn Foster <
[email protected]>
* bug-buddy.spec: Add autofoo.
--- a/ChangeLog Wed Oct 26 02:24:53 2005 +0000
+++ b/ChangeLog Wed Oct 26 02:46:28 2005 +0000
@@ -1,3 +1,7 @@
+2005-10-26 Glynn Foster <[email protected]>
+
+ * bug-buddy.spec: Add autofoo.
+
2005-10-26 Glynn Foster <[email protected]>
* ext-sources/defaults.list: Update.
--- a/Solaris/SUNWgnome-crash-report.spec Wed Oct 26 02:24:53 2005 +0000
+++ b/Solaris/SUNWgnome-crash-report.spec Wed Oct 26 02:46:28 2005 +0000
@@ -26,6 +26,11 @@
SUNW_BaseDir: %{_basedir}
%include default-depend.inc
+%package root
+Summary: GNOME crash report generator - platform dependent files, / filesystem
+SUNW_BaseDir: /
+%include default-depend.inc
+
%if %build_l10n
%package l10n
Summary: %{summary} - l10n files
@@ -50,7 +55,23 @@
%install
%bug_buddy.install -d %name-%version
+export GCONF_CONFIG_SOURCE=xml::$RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults
+for S in $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/*.schemas; do
+ %{_bindir}/gconftool-2 --makefile-install-rule $S >/dev/null
+done
+chmod -R a+rX $RPM_BUILD_ROOT/%{_sysconfdir}
+for f in apps/?gconf.xml \
+ schemas/?gconf.xml \
+ schemas/apps/?gconf.xml \
+ ; do
+ test ! -s $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f && \
+ rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f
+done
+
rm -rf $RPM_BUILD_ROOT%{_mandir}
+rm -rf $RPM_BUILD_ROOT%{_datadir}/application-registry
+rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
+rm -rf $RPM_BUILD_ROOT%{_datadir}/applications
%if %build_l10n
%else
@@ -74,13 +95,17 @@
%files share
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/pixmaps/bug-buddy.png
%{_datadir}/gnome/help/bug-buddy/C
-%{_datadir}/gnome/javahelp/zenity/C
+%{_datadir}/gnome/javahelp/bug-buddy/C
%{_datadir}/omf/bug-buddy/*-C.omf
%{_datadir}/bug-buddy
-%dir %attr(0755, root, bin) %{_mandir}
-%dir %attr(0755, root, bin) %{_mandir}/*
-%{_mandir}/*/*
+
+%files root
+%attr (0755, root, sys) %dir %{_sysconfdir}
+%defattr (-, root, other)
+%{_sysconfdir}/*
+%defattr (0755, root, sys)
%if %build_l10n
%files l10n
--- a/bug-buddy.spec Wed Oct 26 02:24:53 2005 +0000
+++ b/bug-buddy.spec Wed Oct 26 02:46:28 2005 +0000
@@ -53,12 +53,12 @@
fi
libtoolize --force
-glib-gettextize -f
+glib-gettextize --copy --force
intltoolize --force --copy
-aclocal $ACLOCAL_FLAGS
+aclocal $ACLOCAL_FLAGS -I .
+autoconf
autoheader
automake -a -c -f
-autoconf
# FIXME: Disable scrollkeeper for now
CFLAGS="$RPM_OPT_FLAGS" \