Accepting request 40748 from GNOME:Factory

Copy from GNOME:Factory/gnome-session based on submit request 40748 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/40748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-session?expand=0&rev=92
This commit is contained in:
OBS User autobuild 2010-05-28 16:22:41 +00:00 committed by Git OBS Bridge
commit 2826e760a5
2 changed files with 44 additions and 15 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun May 23 09:05:10 UTC 2010 - guido+opensuse.org@berhoerster.name
- Split off a -core subpackage with a minimal runtime version
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 30 03:46:15 CEST 2010 - vuntz@opensuse.org Tue Mar 30 03:46:15 CEST 2010 - vuntz@opensuse.org

View File

@ -19,7 +19,7 @@
Name: gnome-session Name: gnome-session
Version: 2.30.0 Version: 2.30.0
Release: 1 Release: 2
License: GPLv2+ License: GPLv2+
Summary: Session Tools for the GNOME 2.x Desktop Summary: Session Tools for the GNOME 2.x Desktop
Url: http://www.gnome.org Url: http://www.gnome.org
@ -51,10 +51,7 @@ BuildRequires: intltool
BuildRequires: tcpd-devel BuildRequires: tcpd-devel
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
Requires: %{name}-lang = %{version} Requires: %{name}-lang = %{version}
Requires: ConsoleKit Requires: %{name}-core = %{version}
Requires: dbus-1-x11
Requires: gconf-sanity-check
Requires: hicolor-icon-theme
# Programs that are in the default session (we use Requires since Recommends # Programs that are in the default session (we use Requires since Recommends
# might make it possible for some people to get an empty gnome-session, and # might make it possible for some people to get an empty gnome-session, and
# give the impression that it's broken) # give the impression that it's broken)
@ -67,12 +64,25 @@ Obsoletes: gnome-core
Provides: %{name}-branding = %{version} Provides: %{name}-branding = %{version}
Obsoletes: %{name}-branding < %{version} Obsoletes: %{name}-branding < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
%description %description
This package provides the basic session tools, like session management This package provides the basic session tools, like session management
functionality, for the GNOME 2.x Desktop. functionality, for the GNOME 2.x Desktop.
%package core
License: GPLv2+
Summary: Session Manager for GNOME -- Minimal Version
Requires: ConsoleKit
Requires: dbus-1-x11
Requires: gconf-sanity-check
Requires: hicolor-icon-theme
%gconf_schemas_prereq
%description core
This packages contain a minimal version of gnome-session, that can be used for
specific cases. The gnome-session package is needed for a fully functional
GNOME desktop.
%package gtk1-support %package gtk1-support
License: GPLv2+ License: GPLv2+
Summary: GTK+ 1.x compatibility layer for gnome-session Summary: GTK+ 1.x compatibility layer for gnome-session
@ -140,25 +150,39 @@ install -m644 %{S:7} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
%pre -f %{name}.schemas_pre %pre core -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans %posttrans core -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun %preun core -f %{name}.schemas_preun
%files -f %{name}.schemas_list %files
%defattr (-, root, root) %defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/gnome
%{_bindir}/* %{_bindir}/gnome-wm
%{_libexecdir}/gnome-session %{_bindir}/gnome-session-properties
%{_datadir}/gnome-session
%{_datadir}/applications/*.desktop %{_datadir}/applications/*.desktop
%{_datadir}/xsessions/*.desktop %{_datadir}/xsessions/*.desktop
%{_datadir}/icons/hicolor/*/*/*.* %{_datadir}/icons/hicolor/*/*/*.*
%doc %{_mandir}/man?/*.* %exclude %{_datadir}/icons/hicolor/scalable/apps/gnome-session-sleep.svg
%{_datadir}/gnome-session/session-properties.ui
%doc %{_mandir}/man1/gnome-session-properties.1*
%doc %{_mandir}/man1/gnome-wm.1*
%files core -f %{name}.schemas_list
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/gnome-session
%{_bindir}/gnome-session-save
%{_libexecdir}/gnome-session
# Exclude files shipped in other subpackages # Exclude files shipped in other subpackages
%exclude %{_libexecdir}/gnome-session/helpers/gnome-settings-daemon-helper %exclude %{_libexecdir}/gnome-session/helpers/gnome-settings-daemon-helper
%exclude %{_libexecdir}/gnome-session/helpers/gnome-session-splash %exclude %{_libexecdir}/gnome-session/helpers/gnome-session-splash
%dir %{_datadir}/gnome-session
%{_datadir}/gnome-session/gsm-inhibit-dialog.ui
%{_datadir}/icons/hicolor/scalable/apps/gnome-session-sleep.svg
%doc %{_mandir}/man1/gnome-session.1*
%doc %{_mandir}/man1/gnome-session-save.1*
%files gtk1-support %files gtk1-support
%defattr (-, root, root) %defattr (-, root, root)