[gnome-power-manager] GNOME Power Manager 43.0



commit 98f8ac8275d413f141a3f422e731e3213fc1db03
Author: Richard Hughes <richard hughsie com>
Date:   Fri Sep 16 14:29:17 2022 +0100

    GNOME Power Manager 43.0

 RELEASE                                          |  6 +-
 contrib/gnome-power-manager.spec.in              | 81 ++++++++++--------------
 data/appdata/org.gnome.PowerStats.appdata.xml.in | 12 ++++
 meson.build                                      |  2 +-
 4 files changed, 49 insertions(+), 52 deletions(-)
---
diff --git a/RELEASE b/RELEASE
index 71af1bbc..e460e0dc 100644
--- a/RELEASE
+++ b/RELEASE
@@ -1,12 +1,10 @@
-Follow http://developer.gnome.org/dotplan/for_maintainers.html
-
 git log --format="%s" GNOME_POWER_MANAGER_3_30_0.. | grep -i -v trivial | grep -v Merge | uniq
 Add any user visible changes into ../data/appdata/org.gnome.PowerStats.appdata.xml.in
 
 Run "ninja dist", correct any problems encountered
 
-git commit -a -m "GNOME Power Manager 3.32.0"
-git tag -s GNOME_POWER_MANAGER_3_32_0 -m "==== Version 3.32.0 ===="
+git commit -a -m "GNOME Power Manager 43.0"
+git tag -s GNOME_POWER_MANAGER_43_0 -m "==== Version 43.0 ===="
 <wait>
 git push --tags
 git push
diff --git a/contrib/gnome-power-manager.spec.in b/contrib/gnome-power-manager.spec.in
index 96f4d300..3f59167f 100644
--- a/contrib/gnome-power-manager.spec.in
+++ b/contrib/gnome-power-manager.spec.in
@@ -1,33 +1,34 @@
 %define alphatag #ALPHATAG#
 
-Summary: GNOME power management service
-Name: gnome-power-manager
-Version: #VERSION#
-Release: 1.#BUILD#%{?alphatag}%{?dist}
-License: GPLv2+ and GFDL
-Group: Applications/System
-Source: http://download.gnome.org/sources/gnome-power-manager/3.21/gnome-power-manager-%{version}.tar.xz
-URL: http://projects.gnome.org/gnome-power-manager/
-
-BuildRequires: desktop-file-utils
-BuildRequires: gettext
-BuildRequires: cairo-devel
-BuildRequires: upower-devel >= 0.9.0
-BuildRequires: glib2-devel >= 2.25.9
-BuildRequires: gtk3-devel >= 2.91.3
-BuildRequires: docbook-utils
-BuildRequires: meson
-
-# obsolete sub-package
-Obsoletes: gnome-power-manager-extra <= 2.30.1
-Provides: gnome-power-manager-extra
+Name:           gnome-power-manager
+Version:        #VERSION#
+Release:        1.#BUILD#%{?alphatag}%{?dist}
+Summary:        GNOME power management service
+
+License:        GPLv2+ and GFDL
+URL:            https://projects.gnome.org/gnome-power-manager/
+Source0:        https://download.gnome.org/sources/gnome-power-manager/3.32/%{name}-%{version}.tar.xz
+
+BuildRequires:  gcc
+BuildRequires:  gettext
+BuildRequires:  meson
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(gobject-2.0)
+BuildRequires:  pkgconfig(gio-2.0)
+BuildRequires:  pkgconfig(gtk+-3.0)
+BuildRequires:  pkgconfig(gdk-3.0)
+BuildRequires:  pkgconfig(cairo)
+BuildRequires:  pkgconfig(upower-glib)
+BuildRequires:  docbook-utils
+BuildRequires:  desktop-file-utils
+BuildRequires:  libappstream-glib
 
 %description
 GNOME Power Manager uses the information and facilities provided by UPower
 displaying icons and handling user callbacks in an interactive GNOME session.
 
 %prep
-%setup -q
+%autosetup
 
 %build
 %meson
@@ -35,35 +36,21 @@ displaying icons and handling user callbacks in an interactive GNOME session.
 
 %install
 %meson_install
+%find_lang %{name} --with-gnome
 
-%find_lang %name --with-gnome
-
-%post
-touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
-
-%postun
-update-desktop-database %{_datadir}/applications &> /dev/null || :
-if [ $1 -eq 0 ]; then
-  touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
-  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
-  glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
-fi
-
-%posttrans
-gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
-update-desktop-database %{_datadir}/applications &> /dev/null || :
-glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.PowerStats.desktop
+appstream-util --nonet validate-relax %{buildroot}%{_datadir}/metainfo/org.gnome.PowerStats.appdata.xml
 
 %files -f %{name}.lang
 %license COPYING
-%doc AUTHORS README
-%{_bindir}/*
-%{_datadir}/applications/*.desktop
-%{_datadir}/glib-2.0/schemas/*.gschema.xml
-%{_datadir}/icons/hicolor/*/apps/org.gnome.PowerStats.*
-%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.PowerStats-symbolic.svg
-%{_mandir}/man1/*.1.gz
-%{_datadir}/metainfo/*.appdata.xml
+%doc AUTHORS README.md
+%{_bindir}/gnome-power-statistics
+%{_datadir}/applications/org.gnome.PowerStats.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.power-manager.gschema.xml
+%{_datadir}/icons/hicolor/*/apps/org.gnome.PowerStats*.*
+%{_datadir}/metainfo/org.gnome.PowerStats.appdata.xml
+%{_mandir}/man1/gnome-power-statistics.1*
 
 %changelog
 * #LONGDATE# Richard Hughes <richard hughsie com> #VERSION#-0.#BUILD##ALPHATAG#
diff --git a/data/appdata/org.gnome.PowerStats.appdata.xml.in 
b/data/appdata/org.gnome.PowerStats.appdata.xml.in
index e3746b30..93c29e73 100644
--- a/data/appdata/org.gnome.PowerStats.appdata.xml.in
+++ b/data/appdata/org.gnome.PowerStats.appdata.xml.in
@@ -29,6 +29,18 @@
    Validate with `appstream-util validate *.appdata.xml`
   -->
   <releases>
+    <release date="2022" version="43.0">
+      <description>
+        <p>
+          This is the first stable release for GNOME 3.32 which updates several
+          translations. Other fixes include:
+        </p>
+        <ul>
+          <li>Use theme color for axes label text</li>
+          <li>Set the number of x-axis ticks depending on the time range chosen</li>
+        </ul>
+      </description>
+    </release>
     <release date="2019-03-08" version="3.32.0">
       <description>
         <p>
diff --git a/meson.build b/meson.build
index b39ab4b5..28b1c66b 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project('gnome-power-manager', 'c',
-  version : '3.32.0',
+  version : '43.0',
   default_options : ['warning_level=1'],
   meson_version : '>=0.46.0'
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]