public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfce4-sensors-plugin] f45: Update to 1.5.0
@ 2026-08-13 21:47 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-13 21:47 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/xfce4-sensors-plugin
Branch : f45
Commit : 31ee80509a6aea6443e1bf268481dc1fec477e1b
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-07-31T20:37:49-03:00
Stats : +38/-41 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/xfce4-sensors-plugin/c/31ee80509a6aea6443e1bf268481dc1fec477e1b?branch=f45
Log:
Update to 1.5.0
Switch from autotools to Meson build system
enable build for s390x again
spec cleanup and modernization
Signed-off-by: Filipe Rosset <rosset.filipe@gmail.com>
---
diff --git a/.gitignore b/.gitignore
index 2274197..c874ba0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@ xfce4-sensors-plugin-1.0.0.tar.bz2
/xfce4-sensors-plugin-1.4.3.tar.bz2
/xfce4-sensors-plugin-1.4.4.tar.bz2
/xfce4-sensors-plugin-1.4.5.tar.bz2
+/xfce4-sensors-plugin-1.5.0.tar.xz
diff --git a/sources b/sources
index 56ca271..445f2ea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xfce4-sensors-plugin-1.4.5.tar.bz2) = f47007e1673b0309865a786240b64b4f1392e94035dc524beb09196d3309fd9a5b49fd3c2b5532a0b3c514b85f6345ec127c01f85ade170ae26ed2bbbe3fa299
+SHA512 (xfce4-sensors-plugin-1.5.0.tar.xz) = 0ffd1e223a91740151ec3a114ca08df6c1a9451656ba59180a2a3e1a23661f441a31e6d4dbe87c417240875071430671029da63541acdd3069af517b7afcfe9e
diff --git a/xfce4-sensors-plugin.spec b/xfce4-sensors-plugin.spec
index 77e14fe..00f12a6 100644
--- a/xfce4-sensors-plugin.spec
+++ b/xfce4-sensors-plugin.spec
@@ -1,64 +1,62 @@
# Review at https://bugzilla.redhat.com/show_bug.cgi?id=173552
-%global minor_version 1.4
-%global xfceversion 4.18
+# VCS https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin
+
+%global minor_version 1.5
+%global xfceversion 4.20
Name: xfce4-sensors-plugin
-Version: 1.4.5
+Version: 1.5.0
Release: %autorelease
Summary: Sensors plugin for the Xfce panel
-# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
-URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
-Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.bz2
+URL: https://docs.xfce.org/panel-plugins/xfce4-sensors-plugin
+Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.xz
-BuildRequires: make
+BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
+BuildRequires: gettext
+BuildRequires: hddtemp
+BuildRequires: libnotify-devel >= 0.7
BuildRequires: libxfce4ui-devel >= %{xfceversion}
-BuildRequires: xfce4-panel-devel >= %{xfceversion}
+BuildRequires: libxfce4util-devel
BuildRequires: lm_sensors-devel >= 2.8
-BuildRequires: hddtemp
-BuildRequires: libnotify-devel >= 0.4
-BuildRequires: gettext
-BuildRequires: desktop-file-utils
-BuildRequires: libtool
+BuildRequires: meson
+BuildRequires: xfce4-panel-devel >= %{xfceversion}
-Requires: xfce4-panel >= %{xfceversion}
-Requires: lm_sensors >= 2.8
Requires: hddtemp
-# lm_sensors is not available on s390 and s390x
-ExcludeArch: s390 s390x
+Requires: lm_sensors >= 2.8
+Requires: xfce4-panel >= %{xfceversion}
+
+Obsoletes: %{name}-devel < 1.5.0
+Provides: %{name}-devel = %{version}-%{release}
%description
This plugin displays various hardware sensor values in the Xfce panel.
-%package devel
-Summary: Development files for xfce4-sensors-plugin
-Requires: %{name} = %{version}-%{release}
-Requires: libxfce4util-devel
-
-%description devel
-Static libraries and header files for the xfce4-sensors-plugin.
-
%prep
%autosetup -p1
-sed -i 's/libxfce4ui-1/libxfce4ui-2/g' lib/libxfce4sensors-1.0.pc.in
%build
-%configure --disable-static \
- --enable-sysfsacpi=yes \
- --with-pathhddtemp=%{_bindir}/hddtemp
-%make_build
+%meson \
+ -Dhddtemp=enabled \
+ -Dhddtemp-path=%{_bindir}/hddtemp \
+ -Dsysfsacpi=enabled \
+ -Dxnvctrl=disabled
+%meson_build
%install
-%make_install
+%meson_install
-%find_lang %{name}
+# Rename non-standard hye locale to hy
+if [ -d %{buildroot}%{_datadir}/locale/hye ]; then
+ mv %{buildroot}%{_datadir}/locale/hye %{buildroot}%{_datadir}/locale/hy
+fi
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
+%find_lang %{name}
desktop-file-install --vendor "" \
--add-category "System" \
@@ -68,12 +66,14 @@ desktop-file-install --vendor "" \
%{buildroot}%{_datadir}/applications/xfce4-sensors.desktop
+%check
+%meson_test
+
+
%files -f %{name}.lang
-%license COPYING
+%license COPYING LICENSE
%doc AUTHORS ChangeLog NEWS TODO
%{_bindir}/xfce4-sensors
-%dir %{_libdir}/xfce4/modules/
-%{_libdir}/xfce4/modules/libxfce4sensors.so.*
%{_libdir}/xfce4/panel/plugins/libxfce4-sensors-plugin.so
%{_datadir}/applications/xfce4-sensors.desktop
%{_datadir}/icons/hicolor/*/apps/xfce-sensors.png
@@ -81,10 +81,6 @@ desktop-file-install --vendor "" \
%{_datadir}/xfce4/panel/plugins/xfce4-sensors-plugin.*
%{_mandir}/man1/xfce4-sensors.1.gz
-%files devel
-%{_libdir}/pkgconfig/libxfce4sensors-1.0.pc
-%{_libdir}/xfce4/modules/libxfce4sensors.so
-
%changelog
%autochangelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-13 21:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-13 21:47 [rpms/xfce4-sensors-plugin] f45: Update to 1.5.0 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox