commit 6b270a3bdbb31301dc57432bf30d2f7254743df6
Author: Jan Palus <at...@pld-linux.org>
Date:   Thu Sep 22 23:55:49 2016 +0200

    up to 1.16.0
    
    - upstream switched to gtk3 exclusively

 mate-polkit.spec | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)
---
diff --git a/mate-polkit.spec b/mate-polkit.spec
index 6e50ee3..44dcb1c 100644
--- a/mate-polkit.spec
+++ b/mate-polkit.spec
@@ -1,32 +1,28 @@
 #
 # Conditional build:
 %bcond_without appindicator    # application indicators support
-%bcond_with    gtk3            # use GTK+ 3.x instead of 2.x
 
-%define        gtk2_ver        2:2.24.0
-%define        gtk3_ver        3.0.0
+%define        gtk3_ver        3.14.0
 Summary:       Integrates polkit authentication for MATE desktop
 Summary(pl.UTF-8):     Integracja uwierzytelniania polkit ze środowiskiem MATE
 Name:          mate-polkit
-Version:       1.14.0
+Version:       1.16.0
 Release:       1
 License:       LGPL v2+
 Group:         X11/Applications
-Source0:       
http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz
-# Source0-md5: 1259f8b245917ecfb22fc9d8ff309d2c
+Source0:       
http://pub.mate-desktop.org/releases/1.16/%{name}-%{version}.tar.xz
+# Source0-md5: 1ef6ab9f6baac3ef3386039fb51c1edb
 URL:           http://wiki.mate-desktop.org/mate-polkit
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake >= 1:1.9
 BuildRequires: gettext-tools >= 0.10.40
 BuildRequires: glib2-devel >= 1:2.36.0
 BuildRequires: gobject-introspection-devel >= 0.6.2
-%{!?with_gtk3:BuildRequires:   gtk+2-devel >= %{gtk2_ver}}
-%{?with_gtk3:BuildRequires:    gtk+3-devel >= %{gtk3_ver}}
+BuildRequires: gtk+3-devel >= %{gtk3_ver}
 BuildRequires: gtk-doc >= 1.3
 BuildRequires: intltool >= 0.35.0
 %if %{with appindicator}
-%{!?with_gtk3:BuildRequires:   libappindicator-gtk2-devel >= 0.0.13}
-%{?with_gtk3:BuildRequires:    libappindicator-gtk3-devel >= 0.0.13}
+BuildRequires: libappindicator-gtk3-devel >= 0.0.13
 %endif
 BuildRequires: libtool >= 2:2.2.6
 BuildRequires: mate-common
@@ -37,12 +33,10 @@ BuildRequires:      xz
 # needed for gobject-introspection support (Gtk-2.0.gir -> Gdk-2.0.gir -> 
cairo-1.0.gir, which requires libcairo-gobject.so)
 BuildRequires: cairo-gobject-devel
 Requires:      glib2 >= 1:2.36.0
-%{!?with_gtk3:Requires:        gtk+2 >= %{gtk2_ver}}
-%{?with_gtk3:Requires: gtk+3 >= %{gtk3_ver}}
+Requires:      gtk+3 >= %{gtk3_ver}
 Requires:      polkit-libs >= 0.97
 %if %{with appindicator}
-%{!?with_gtk3:Requires:        libappindicator-gtk2 >= 0.0.13}
-%{?with_gtk3:Requires: libappindicator-gtk3 >= 0.0.13}
+Requires:      libappindicator-gtk3 >= 0.0.13
 %endif
 #Provides:     PolicyKit-authentication-agent
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -61,8 +55,7 @@ Summary(pl.UTF-8):    Pliki programistyczne biblioteki 
mate-polkit
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Requires:      glib2-devel >= 1:2.36.0
-%{!?with_gtk3:Requires:        gtk+2-devel >= %{gtk2_ver}}
-%{?with_gtk3:Requires: gtk+3-devel >= %{gtk3_ver}}
+Requires:      gtk+3-devel >= %{gtk3_ver}
 Requires:      polkit-devel >= 0.97
 
 %description devel
@@ -83,8 +76,7 @@ Pliki programistyczne biblioteki mate-polkit.
 %configure \
        %{!?with_appindicator:--disable-appindicator} \
        --disable-silent-rules \
-       --disable-static \
-       %{?with_gtk3:--with-gtk=3.0}
+       --disable-static
 
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-polkit.git/commitdiff/6b270a3bdbb31301dc57432bf30d2f7254743df6

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to