]> git.pld-linux.org Git - packages/mate-polkit.git/blobdiff - mate-polkit.spec
up to 1.12.0
[packages/mate-polkit.git] / mate-polkit.spec
index 27fc1977ba1a4657cd3a95e733bd8d1241cfce99..af4f88d8a660d0e01f26023b02ee20f03e0a657a 100644 (file)
@@ -3,25 +3,28 @@
 # Conditional build:
 %bcond_with    gtk3            # use GTK+ 3.x instead of 2.x
 
+%define        gtk2_ver        2:2.24.0
+%define        gtk3_ver        3.0.0
 Summary:       Integrates polkit authentication for MATE desktop
 Summary(pl.UTF-8):     Integracja uwierzytelniania polkit ze środowiskiem MATE
 Name:          mate-polkit
-Version:       1.8.0
-Release:       2
+Version:       1.12.0
+Release:       1
 License:       LGPL v2+
 Group:         X11/Applications
-Source0:       http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
-# Source0-md5: bd7dfb225e1ba6aac3c5752d496071d8
+Source0:       http://pub.mate-desktop.org/releases/1.12/%{name}-%{version}.tar.xz
+# Source0-md5: f97529b87420913ba1ca335e358f4c04
 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 >= 2:2.17.1}
-%{?with_gtk3:BuildRequires:    gtk+3-devel >= 3.0.0}
+%{!?with_gtk3:BuildRequires:   gtk+2-devel >= %{gtk2_ver}}
+%{?with_gtk3:BuildRequires:    gtk+3-devel >= %{gtk3_ver}}
 BuildRequires: gtk-doc >= 1.3
 BuildRequires: intltool >= 0.35.0
-BuildRequires: libtool
+BuildRequires: libtool >= 2:2.2.6
 BuildRequires: mate-common
 BuildRequires: pkgconfig
 BuildRequires: polkit-devel >= 0.97
@@ -31,15 +34,16 @@ BuildRequires:      xz
 # https://bugzilla.redhat.com/show_bug.cgi?id=847419#c17 asserts this is a bug (elsewhere)
 # but I'm not entirely sure -- rex
 BuildRequires: cairo-gobject-devel
-%{!?with_gtk3:Requires:        gtk+2 >= 2:2.17.1}
-%{?with_gtk3:Requires: gtk+3 >= 3.0.0}
+Requires:      glib2 >= 1:2.36.0
+%{!?with_gtk3:Requires:        gtk+2 >= %{gtk2_ver}}
+%{?with_gtk3:Requires: gtk+3 >= %{gtk3_ver}}
 Requires:      polkit-libs >= 0.97
 #Provides:     PolicyKit-authentication-agent
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-MATE polkit integrates polkit with the MATE Desktop environment.
-MATE polkit is a fork of GNOME polkit.
+MATE polkit integrates polkit with the MATE Desktop environment. MATE
+polkit is a fork of GNOME polkit.
 
 %description -l pl.UTF-8
 Integracja uwierzytelniania polkit ze środowiskiem MATE. MATE polkit
@@ -50,8 +54,9 @@ Summary:      Development files for mate-polkit library
 Summary(pl.UTF-8):     Pliki programistyczne biblioteki mate-polkit
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-%{!?with_gtk3:Requires:        gtk+2-devel >= 2:2.17.1}
-%{?with_gtk3:Requires: gtk+3-devel >= 3.0.0}
+Requires:      glib2-devel >= 1:2.36.0
+%{!?with_gtk3:Requires:        gtk+2-devel >= %{gtk2_ver}}
+%{?with_gtk3:Requires: gtk+3-devel >= %{gtk3_ver}}
 Requires:      polkit-devel >= 0.97
 
 %description devel
This page took 0.08486 seconds and 4 git commands to generate.