-#
# Conditional build:
-%bcond_with gtk3 # build GTK+3 disables GTK+2
+%bcond_with gtk3 # build GTK+3 disables GTK+2
%bcond_without gtk2 # build with GTK+2
%if %{with gtk3}
%undefine with_gtk2
%endif
-Summary: a GTK+2 interface to XRandR for LXDE desktop
+Summary: GTK+2 interface to XRandR for LXDE desktop
Name: lxrandr
-Version: 0.1.2
-Release: 4
+Version: 0.3.0
+Release: 1
License: GPL v3
Group: X11/Applications
-Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.gz
-# Source0-md5: 8a7391581541bba58839ac11dbf5b575
+Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
+# Source0-md5: 250f0ebb09c1e02f430f951911ba1259
Patch0: mate-desktop.patch
URL: http://wiki.lxde.org/en/LXRandR
BuildRequires: gettext-tools
---- lxrandr-0.1.2/./data/lxrandr.desktop.in~ 2011-07-23 18:33:48.000000000 +0300
-+++ lxrandr-0.1.2/./data/lxrandr.desktop.in 2013-03-30 14:53:34.818033282 +0200
-@@ -6,3 +6,4 @@
+--- lxrandr-0.3.0/data/lxrandr.desktop.in 2015-07-21 15:47:34.283352391 +0000
++++ lxrandr-0.3.0/data/lxrandr.desktop.in 2015-07-21 15:50:58.705352391 +0000
+@@ -6,4 +6,4 @@
Terminal=false
Type=Application
- Categories=GTK;Settings;HardwareSettings;
-+NotShowIn=GNOME;MATE;XFCE;KDE;
+ Categories=GTK;Settings;HardwareSettings;X-LXDE-Settings;
+-NotShowIn=GNOME;KDE;XFCE;
++NotShowIn=GNOME;KDE;XFCE;MATE;