public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xfce4-power-manager] rawhide: Update to 4.20.1 + spec cleanup and modernization + silent rpmlint
Date: Fri, 31 Jul 2026 01:02:31 GMT [thread overview]
Message-ID: <178545975125.1.1497228134683991626.rpms-xfce4-power-manager-0fc026339008@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xfce4-power-manager
Branch : rawhide
Commit : 0fc02633900876d57a2df2e988a029bd4cea63cd
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-07-29T14:57:57-03:00
Stats : +49/-26 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/xfce4-power-manager/c/0fc02633900876d57a2df2e988a029bd4cea63cd?branch=rawhide
Log:
Update to 4.20.1 + spec cleanup and modernization + silent rpmlint
---
diff --git a/.gitignore b/.gitignore
index 6e4150c..0460901 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,4 @@ xfce4-power-manager-0.8.4.2.tar.bz2
/xfce4-power-manager-4.18.3.tar.bz2
/xfce4-power-manager-4.18.4.tar.bz2
/xfce4-power-manager-4.20.0.tar.bz2
+/xfce4-power-manager-4.20.1.tar.bz2
diff --git a/sources b/sources
index 1ee70c6..528758f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xfce4-power-manager-4.20.0.tar.bz2) = e61762b4ff374562fa3d70b1eb7c9928a1a7197df5b597763adf16435183fd693307267f37f0eb7dd08b573664a397d2fd22674b5db7e07ee9302089772ff6e7
+SHA512 (xfce4-power-manager-4.20.1.tar.bz2) = fd73e989856b3a69ab654a95d382523fc404c533b6b51b9194a28686008a7dd9fb5b8cc0b382127eea68a5c1809e8ad61bc0756585c1c2df3a569fd94024c374
diff --git a/xfce4-power-manager.spec b/xfce4-power-manager.spec
index c13a858..75e52d2 100644
--- a/xfce4-power-manager.spec
+++ b/xfce4-power-manager.spec
@@ -1,32 +1,44 @@
%global xfceversion 4.20
-Name: xfce4-power-manager
-Version: 4.20.0
-Release: %autorelease
-Summary: Power management for the Xfce desktop environment
+Name: xfce4-power-manager
+Version: 4.20.1
+Release: %autorelease
+Summary: Power management for the Xfce desktop environment
# Automatically converted from old format: GPLv2+ - review is highly recommended.
-License: GPL-2.0-or-later
-URL: http://goodies.xfce.org/projects/applications/%{name}
+License: GPL-2.0-or-later
+URL: http://goodies.xfce.org/projects/applications/%{name}
#VCS: git:git://git.xfce.org/xfce/xfce4-power-manager
-Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
-Source1: %{name}.xml
+Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
+Source1: %{name}.xml
-BuildRequires: make
+BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
-BuildRequires: pkgconfig(libxfconf-0) >= %{xfceversion}
-BuildRequires: pkgconfig(libxfce4ui-2) >= %{xfceversion}
-BuildRequires: pkgconfig(libxfce4panel-2.0) >= %{xfceversion}
-BuildRequires: pkgconfig(dbus-1) >= 0.60
-BuildRequires: pkgconfig(dbus-glib-1) >= 0.70
-BuildRequires: pkgconfig(libnotify) >= 0.4.1
-BuildRequires: pkgconfig(xrandr) >= 1.2.0
-BuildRequires: xorg-x11-proto-devel >= 1.0.0
BuildRequires: gettext
-BuildRequires: intltool
-BuildRequires: desktop-file-utils
-BuildRequires: upower-devel
BuildRequires: libappstream-glib
+BuildRequires: make
+BuildRequires: pkgconfig(gdk-wayland-3.0) >= 3.24.0
+BuildRequires: pkgconfig(gdk-x11-3.0) >= 3.24.0
+BuildRequires: pkgconfig(gio-2.0) >= 2.72.0
+BuildRequires: pkgconfig(gio-unix-2.0) >= 2.72.0
+BuildRequires: pkgconfig(glib-2.0) >= 2.72.0
+BuildRequires: pkgconfig(gmodule-2.0) >= 2.72.0
+BuildRequires: pkgconfig(gobject-2.0) >= 2.72.0
+BuildRequires: pkgconfig(gthread-2.0) >= 2.72.0
+BuildRequires: pkgconfig(gtk+-3.0) >= 3.24.0
+BuildRequires: pkgconfig(libnotify) >= 0.7.8
+BuildRequires: pkgconfig(libxfconf-0) >= %{xfceversion}
+BuildRequires: pkgconfig(libxfce4panel-2.0) >= %{xfceversion}
+BuildRequires: pkgconfig(libxfce4ui-2) >= %{xfceversion}
+BuildRequires: pkgconfig(libxfce4util-1.0) >= %{xfceversion}
+BuildRequires: pkgconfig(polkit-gobject-1) >= 0.102
+BuildRequires: pkgconfig(upower-glib) >= 0.99.10
+BuildRequires: pkgconfig(wayland-client) >= 1.20
+BuildRequires: pkgconfig(wayland-protocols) >= 1.25
+BuildRequires: pkgconfig(wayland-scanner) >= 1.20
+BuildRequires: pkgconfig(x11) >= 1.6.7
+BuildRequires: pkgconfig(xext) >= 1.0.0
+BuildRequires: pkgconfig(xrandr) >= 1.5.0
Requires: xfce4-panel >= %{xfceversion}
Requires: polkit
@@ -42,28 +54,38 @@ preferences.
%prep
%autosetup -p1
+
%build
%configure
%make_build
+
%install
%make_install
+# Rename hye locale to hy as expected by Fedora
+if [ -d %{buildroot}%{_datadir}/locale/hye ]; then
+ mv %{buildroot}%{_datadir}/locale/hye %{buildroot}%{_datadir}/locale/hy
+fi
+
# install xfpm default config
mkdir -p %{buildroot}%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
cp -p %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/
%find_lang %{name}
-desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-settings.desktop
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-settings.desktop
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
%files -f %{name}.lang
%license COPYING
%doc AUTHORS ChangeLog NEWS
-%{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/%{name}.xml
+%config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/%{name}.xml
%{_bindir}/%{name}
%{_bindir}/%{name}-settings
%{_sbindir}/xfce4-pm-helper
@@ -71,13 +93,13 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_libdir}/xfce4/panel/plugins/libxfce4powermanager.so
%{_datadir}/xfce4/panel/plugins/power-manager-plugin.desktop
%{_sbindir}/xfpm-power-backlight-helper
-%config %{_sysconfdir}/xdg/autostart/%{name}.desktop
+%config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}.desktop
%{_datadir}/applications/%{name}-settings.desktop
%{_datadir}/icons/hicolor/*/*/*.*
%{_datadir}/polkit-1/actions/org.xfce.power.policy
-%doc
%{_mandir}/man1/%{name}-settings.1.*
%{_mandir}/man1/%{name}.1.*
+
%changelog
%autochangelog
reply other threads:[~2026-07-31 1:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178545975125.1.1497228134683991626.rpms-xfce4-power-manager-0fc026339008@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox