Fix file lists

This commit is contained in:
Matthias Clasen 2005-02-02 21:37:06 +00:00
parent 65ebff670d
commit c08dd66f46

View File

@ -46,6 +46,7 @@ Patch3: gnome-session-2.0.5-dithering.patch
## http://bugzilla.gnome.org/show_bug.cgi?id=106450 ## http://bugzilla.gnome.org/show_bug.cgi?id=106450
Patch4: gnome-session-2.2.0.2-splash-repaint.patch Patch4: gnome-session-2.2.0.2-splash-repaint.patch
Patch5: gnome-session-2.7.4-read-desktop-entries.patch Patch5: gnome-session-2.7.4-read-desktop-entries.patch
Patch6: gnome-session-2.9.4-gnome-common.patch
BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: pango-devel >= %{pango_version} BuildRequires: pango-devel >= %{pango_version}
@ -74,13 +75,15 @@ GNOME components and handles logout and saving the session.
%patch3 -p1 -b .dithering %patch3 -p1 -b .dithering
%patch4 -p1 -b .splash-repaint %patch4 -p1 -b .splash-repaint
%patch5 -p1 -b .read-desktop-entries %patch5 -p1 -b .read-desktop-entries
%patch6 -p1 -b .gnome-common
%build %build
#workaround broken perl-XML-Parser on 64bit arches #workaround broken perl-XML-Parser on 64bit arches
export PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.2 perl export PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.2 perl
automake-1.4 aclocal
automake
autoheader autoheader
autoconf autoconf
@ -95,11 +98,11 @@ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
desktop-file-install --vendor gnome --delete-original \ desktop-file-install --vendor gnome --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/control-center-2.0/capplets \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-only-show-in GNOME \ --add-only-show-in GNOME \
--add-category Settings \ --add-category Settings \
--add-category AdvancedSettings \ --add-category AdvancedSettings \
$RPM_BUILD_ROOT%{_datadir}/control-center-2.0/capplets/* $RPM_BUILD_ROOT%{_datadir}/applications/*
./mkinstalldirs $RPM_BUILD_ROOT/etc/X11/gdm/Sessions/ ./mkinstalldirs $RPM_BUILD_ROOT/etc/X11/gdm/Sessions/
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/gdm/Sessions/GNOME install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/gdm/Sessions/GNOME
@ -140,7 +143,7 @@ done
%doc AUTHORS COPYING ChangeLog NEWS README %doc AUTHORS COPYING ChangeLog NEWS README
%{_datadir}/gnome %{_datadir}/gnome
%{_datadir}/control-center-2.0 %{_datadir}/applications
%{_datadir}/man/man*/* %{_datadir}/man/man*/*
%{_bindir}/* %{_bindir}/*
%{_sysconfdir}/gconf/schemas/*.schemas %{_sysconfdir}/gconf/schemas/*.schemas