Accepting request 87359 from home:dimstar:branches:GNOME:Factory

reword for vuntz

OBS-URL: https://build.opensuse.org/request/show/87359
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=127
This commit is contained in:
Vincent Untz 2011-10-11 16:39:11 +00:00 committed by Git OBS Bridge
parent 38a69d50b3
commit d6c22353fc
2 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Oct 10 12:19:53 UTC 2011 - dimstar@opensuse.org
- Provide a gnome2-look-and-feel package that allows the user
to switch to GNOME 2 look and feel (GNOME Fallback mode) during
login or as his prefered default session. This is meant to ease
the transition of some users constantly requiring the old look
and feel.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 26 10:44:11 UTC 2011 - vuntz@opensuse.org Mon Sep 26 10:44:11 UTC 2011 - vuntz@opensuse.org

View File

@ -101,6 +101,15 @@ Requires: notification-daemon
This package contains the definition of the fallback GNOME session, This package contains the definition of the fallback GNOME session,
which is used when the graphics are not hardware-accelerated. which is used when the graphics are not hardware-accelerated.
%package -n gnome2-look-and-feel
Summary: GNOME Desktop with the GNOME 2 Look and Feel
Group: System/GUI/GNOME
Requires: %{name}-fallback-session
%description -n gnome2-look-and-feel
This package contains definitions to provide you with a GNOME 3 session
that looks and feels like a GNOME 2 session in most parts.
%package core %package core
License: GPLv2+ License: GPLv2+
Summary: Session Manager for GNOME -- Minimal Version Summary: Session Manager for GNOME -- Minimal Version
@ -149,9 +158,13 @@ install -d -m755 %{buildroot}%{_bindir}
install -m755 %SOURCE1 %{buildroot}%{_bindir}/gnome install -m755 %SOURCE1 %{buildroot}%{_bindir}/gnome
install -d -m755 %{buildroot}%{_datadir}/xsessions install -d -m755 %{buildroot}%{_datadir}/xsessions
install -m644 %SOURCE2 %{buildroot}%{_datadir}/xsessions/gnome.desktop install -m644 %SOURCE2 %{buildroot}%{_datadir}/xsessions/gnome.desktop
# Install a session file for gnome 2 look-and-feel (fallback mode)
install -m644 %{S:2} %{buildroot}%{_datadir}/xsessions/gnome2-look-and-feel.desktop
sed -i "s/^Exec=.*/Exec=gnome --session gnome-fallback/" %{buildroot}%{_datadir}/xsessions/gnome2-look-and-feel.desktop
install -m644 %{S:7} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ install -m644 %{S:7} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
%suse_update_desktop_file session-properties X-SuSE-ControlCenter-Personal %suse_update_desktop_file session-properties X-SuSE-ControlCenter-Personal
%suse_update_desktop_file %{buildroot}%{_datadir}/xsessions/gnome.desktop %suse_update_desktop_file %{buildroot}%{_datadir}/xsessions/gnome.desktop
%suse_update_desktop_file -N "GNOME 2 Look and Feel" %{buildroot}%{_datadir}/xsessions/gnome2-look-and-feel.desktop
%find_lang %{name}-3.0 %{?no_lang_C} %find_lang %{name}-3.0 %{?no_lang_C}
%fdupes %{buildroot} %fdupes %{buildroot}
@ -193,6 +206,10 @@ rm -rf %{buildroot}
%defattr (-, root, root) %defattr (-, root, root)
%{_datadir}/gnome-session/sessions/gnome-fallback.session %{_datadir}/gnome-session/sessions/gnome-fallback.session
%files -n gnome2-look-and-feel
%defattr(-, root, root)
%{_datadir}/xsessions/gnome2-look-and-feel.desktop
%files core %files core
%defattr (-, root, root) %defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README %doc AUTHORS COPYING ChangeLog NEWS README