Browse Source

mate-power-manager 1.18.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11012 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 7 years ago
parent
commit
31a2ed674d
1 changed files with 16 additions and 11 deletions
  1. 16 11
      m/mate-power-manager/mate-power-manager-vl.spec

+ 16 - 11
m/mate-power-manager/mate-power-manager-vl.spec

@@ -1,27 +1,28 @@
+%define major_ver 1.18
+%define ver %{major_ver}.0
+%define rel 1
+
 Summary:	A Power Manager for MATE
 Name:		mate-power-manager
-Version:	1.16.2
-Release:	1%{?_dist_release}
+Version:	%{ver}
+Release:	%{rel}%{?_dist_release}
 License:	GPLv2
 Group:		Applications/System
 URL:		http://mate-desktop.org/
 
-Source0:	http://pub.mate-desktop.org/releases/1.16/%{name}-%{version}.tar.xz
+Source0:	http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
 
 # patch for Vine
-Patch1001:	mate-power-manager-1.16.0-use-vine-sleep-helper.patch
 Patch1002:	mate-power-manager-1.12.0-vine-settings.patch
 
 BuildRequires:	mate-common
-BuildRequires:	mate-doc-utils
 BuildRequires:	libnotify-devel
 BuildRequires:	mate-desktop-devel
 BuildRequires:	mate-panel-devel
-BuildRequires:	gtk2-devel
+BuildRequires:	gtk3-devel
 BuildRequires:	dbus-glib-devel
-BuildRequires:	libcanberra-devel
-BuildRequires:	libwnck-devel
-BuildRequires:	unique-devel
+BuildRequires:	libcanberra-gtk3-devel
+BuildRequires:	libwnck3-devel
 BuildRequires:	upower-devel
 BuildRequires:	popt-devel
 BuildRequires:	libgnome-keyring-devel
@@ -30,7 +31,6 @@ BuildRequires:	gtk-doc
 BuildRequires:	autoconf
 BuildRequires:	automake
 
-Requires:	vine-sleep-helper
 Requires(posttrans,postun):	glib2
 Requires(post,postun):	desktop-file-utils
 
@@ -55,7 +55,6 @@ MATE Power Manager comes in three main parts:
 
 %prep
 %setup -q
-%patch1001 -p1 -b .vine
 %patch1002 -p1 -b .vine
 
 %build
@@ -126,6 +125,12 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 
 
 %changelog
+* Sat Apr  8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
+- update to 1.18.0
+- move to GTK3+
+- drop BR: mate-doc-utils, unique-devel
+- drop use-vine-sleep-helper patch (Patch1001)
+
 * Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.2-1
 - update to 1.16.2