|
@@ -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
|
|
|
|