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 Name: lxsession
Version: 0.4.9.3.git20130914 Version: 0.5.1
Release: 0 Release: 0
Summary: LXDE Session Manager, required for running the desktop environment Summary: LXDE Session Manager, required for running the desktop environment
License: GPL-2.0 License: GPL-2.0
Group: System/GUI/LXDE Group: System/GUI/LXDE
Url: http://www.lxde.org/ 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 # 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 # 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() # 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: dbus-1-glib-devel
BuildRequires: docbook-utils BuildRequires: docbook-utils
BuildRequires: docbook-xsl-stylesheets 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 %prep
%setup -q %setup -q
%patch0 -p1 #%patch0 -p1
%if 0%{?suse_version} <= 1230 #%if 0%{?suse_version} <= 1230
%patch1 -p1 #%patch1 -p1
%endif #%endif
%if 0%{?suse_version} > 1220 #%if 0%{?suse_version} > 1220
%patch2 -p1 #%patch2 -p1
%endif #%endif
%build %build
autoreconf -fi
%configure \ %configure \
--enable-man --enable-man
make %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1