andrea florio 2014-10-21 07:48:46 +00:00 committed by Git OBS Bridge
parent e25a51c0e2
commit 2f948f473f

View File

@ -17,19 +17,19 @@
Name: lxsession
Version: 0.4.9.3.git20130914
Version: 0.5.1
Release: 0
Summary: LXDE Session Manager, required for running the desktop environment
License: GPL-2.0
Group: System/GUI/LXDE
Url: http://www.lxde.org/
Source: %{name}-%{version}.tar.gz
Source: %{name}-%{version}.tar.zz
# PATCH-FIX-UPSTREAM marguerite@opensuse.org - can't build gtk2 generated .c file with gtk3
Patch0: lxsession-0.4.9.3-gtk3-fix.patch
#Patch0: lxsession-0.4.9.3-gtk3-fix.patch
# PATCH-FIX-UPSTREAM marguerite@opensuse.org - don't bump libgee version, it's no sense
Patch1: lxsession-0.4.9.3-lower-libgee.patch
#Patch1: lxsession-0.4.9.3-lower-libgee.patch
# PATCH-FIX-UPSTREAM marguerite@opensuse.org - hide_all() is no more in gtk3, replace with hide()
Patch2: lxsession-0.4.9.3-gtk3-hide_all.patch
#Patch2: lxsession-0.4.9.3-gtk3-hide_all.patch
BuildRequires: dbus-1-glib-devel
BuildRequires: docbook-utils
BuildRequires: docbook-xsl-stylesheets
@ -56,16 +56,15 @@ use when a user logs out and to restart them the next time the user logs in.
%prep
%setup -q
%patch0 -p1
%if 0%{?suse_version} <= 1230
%patch1 -p1
%endif
%if 0%{?suse_version} > 1220
%patch2 -p1
%endif
#%patch0 -p1
#%if 0%{?suse_version} <= 1230
#%patch1 -p1
#%endif
#%if 0%{?suse_version} > 1220
#%patch2 -p1
#%endif
%build
autoreconf -fi
%configure \
--enable-man
make %{?_smp_mflags} V=1