- build with gtk+3
authorMarcin Krol <hawk@tld-linux.org>
Sun, 12 Jul 2015 13:21:30 +0000 (13:21 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Sun, 12 Jul 2015 13:21:30 +0000 (13:21 +0000)
lxappearance.spec

index 0ff5353cfe0db1cfd54df78ba448d629c833836a..189bfdc70dbbccf9d01bda5cba39dddae275a3ae 100644 (file)
@@ -1,16 +1,7 @@
-#
-# Conditional build:
-%bcond_with            gtk3            # build GTK+3 disables GTK+2
-%bcond_without         gtk2    # build with GTK+2
-
-%if %{with gtk3}
-%undefine      with_gtk2
-%endif
-
 Summary:       Desktop-independent theme switcher for GTK+
 Name:          lxappearance
 Version:       0.6.1
-Release:       1
+Release:       2
 License:       GPL v3
 Group:         X11/Applications
 Source0:       http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
@@ -18,8 +9,7 @@ Source0:       http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
 Patch0:                mate-desktop.patch
 URL:           http://wiki.lxde.org/en/LXAppearance
 BuildRequires: gettext-tools
-%{?with_gtk2:BuildRequires:    gtk+2-devel >= 2:2.12.0}
-%{?with_gtk3:BuildRequires:    gtk+3-devel}
+BuildRequires: gtk+3-devel >= 3.0.0
 BuildRequires: intltool
 BuildRequires: pkgconfig
 BuildRequires: tar >= 1:1.22
@@ -44,7 +34,7 @@ Header files for lxappearance.
 
 %build
 %configure \
-       %{?with_gtk3:--enable-gtk3}
+       --enable-gtk3
 %{__make} V=1
 
 %install