SHA256
1
0
forked from pool/gdm
OBS User unknown
2007-10-19 02:30:55 +00:00
committed by Git OBS Bridge
parent 0ca3716e29
commit c4cbe41300
4 changed files with 56 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ PreReq: %insserv_prereq
License: GPL v2 or later
Group: System/GUI/GNOME
Version: 2.20.0
Release: 14
Release: 19
Summary: The GNOME 2.x Display Manager
Source: %{name}-%{version}.tar.bz2
Source1: gdm.pamd
@@ -30,6 +30,7 @@ Source2: gdm-autologin.pamd
# FIXME: See FIXME in the script.
Source3: SuSEconfig.gdm
Source5: sysconfig.displaymanager-gdm
Source6: dbus-gdm.conf
Patch0: gdm-conf.patch
Patch3: gdm-language-dialog-size.patch
Patch5: gdm-xdm-sessions.patch
@@ -58,6 +59,8 @@ Patch40: gdm-XKeepsCrashing-SaX2.patch
Patch43: gdm-language-hang.patch
Patch44: gdm-language-save.patch
Patch45: gdm-2.20.0-wait-for-restart.patch
# PATCH-FIX-UPSTREAM abuild.patch maw@novell.com -- already fixed in gdm trunk, will go away when we upgrade to 2.21
Patch46: abuild.patch
Url: http://www.gnome.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
DocDir: %{_defaultdocdir}
@@ -116,6 +119,7 @@ gnome-patch-translation-prepare
%patch43
%patch44
%patch45 -p1
%patch46 -p1
gnome-patch-translation-update
%build
@@ -150,6 +154,11 @@ chmod +x $RPM_BUILD_ROOT/sbin/conf.d/SuSEconfig.gdm
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
cp %{S:5} $RPM_BUILD_ROOT/var/adm/fillup-templates
%endif
#
%if %suse_version > 1030
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/dbus-1/system.d
cp %{S:6} $RPM_BUILD_ROOT/%{_sysconfdir}/dbus-1/system.d/gdm.conf
%endif
touch $RPM_BUILD_ROOT%{_sysconfdir}/gdm/gdm_sysconfig.conf
# gnome.desktop should be in gnome-session, ssh.desktop doesn't work
rm $RPM_BUILD_ROOT%{_datadir}/xsessions/ssh.desktop
@@ -245,9 +254,15 @@ sed -i s:DISPLAYMANAGER=/opt/gnome/sbin/gdm:DISPLAYMANAGER=/usr/sbin/gdm:g etc/i
%if %suse_version <= 1020
%dir /usr/share/xsessions
%endif
%if %suse_version > 1030
%{_sysconfdir}/dbus-1/system.d/gdm.conf
%endif
%files lang -f %{name}.lang
%changelog
* Thu Oct 18 2007 - maw@suse.de
- Install dbus-gdm.conf to /etc/dbus-1/system.d (#331725)
- Add abuild.patch.
* Thu Oct 11 2007 - sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Mon Sep 24 2007 - hpj@suse.de