diff --git a/fix_require_libxfce4ui.patch b/fix_require_libxfce4ui.patch deleted file mode 100644 index a52d7ca..0000000 --- a/fix_require_libxfce4ui.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -uNr xfce4-sensors-plugin-1.3.95.orig/lib/libxfce4sensors-1.0.pc.in xfce4-sensors-plugin-1.3.95/lib/libxfce4sensors-1.0.pc.in ---- xfce4-sensors-plugin-1.3.95.orig/lib/libxfce4sensors-1.0.pc.in 2012-04-16 16:29:57.000000000 +0800 -+++ xfce4-sensors-plugin-1.3.95/lib/libxfce4sensors-1.0.pc.in 2021-08-18 17:52:54.374728479 +0800 -@@ -9,7 +9,7 @@ - - Name: libxfce4sensors - Description: Library for the Xfce 4 Sensors Plugin and Viewer --Requires: libxfce4util-1.0 libxfce4ui-1 -+Requires: libxfce4util-1.0 libxfce4ui-2 - Version: @PACKAGE_VERSION@ - Libs: -L${libdir} -lxfce4sensors - Cflags: -I${includedir}/xfce4/ diff --git a/xfce4-sensors-plugin-1.3.95.tar.bz2 b/xfce4-sensors-plugin-1.3.95.tar.bz2 deleted file mode 100644 index 6ac0699..0000000 Binary files a/xfce4-sensors-plugin-1.3.95.tar.bz2 and /dev/null differ diff --git a/xfce4-sensors-plugin-1.4.4.tar.bz2 b/xfce4-sensors-plugin-1.4.4.tar.bz2 new file mode 100644 index 0000000..e2891d1 Binary files /dev/null and b/xfce4-sensors-plugin-1.4.4.tar.bz2 differ diff --git a/xfce4-sensors-plugin.spec b/xfce4-sensors-plugin.spec index b0fd6b2..d34284c 100644 --- a/xfce4-sensors-plugin.spec +++ b/xfce4-sensors-plugin.spec @@ -1,16 +1,17 @@ -%global minorversion 1.3 +%global minorversion 1.4 %global xfceversion 4.16 Name: xfce4-sensors-plugin -Version: 1.3.95 -Release: 2 +Version: 1.4.4 +Release: 1 Summary: Hardware sensors plugin for the Xfce panel License: GPLv2+ -URL: http://goodies.xfce.org/projects/panel-plugins/%{name} -Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 -Patch0: fix_require_libxfce4ui.patch +URL: https://goodies.xfce.org/projects/panel-plugins/%{name} +Source0: https://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: make +BuildRequires: gcc-c++ BuildRequires: libnotify-devel >= 0.4 BuildRequires: libxfce4ui-devel >= %{xfceversion} BuildRequires: lm_sensors-devel >= 2.8 @@ -29,12 +30,12 @@ Requires: xfce4-panel >= %{xfceversion} The sensors plugin provides a handy way to monitor your hard disk, processor, fans, and other critical hardware right on your Xfce panel. -%package devel +%package devel Summary: Development files for xfce4-sensors-plugin Requires: %{name} = %{version}-%{release} Requires: libxfce4util-devel -%description devel +%description devel Static libraries and header files for the xfce4-sensors-plugin. %prep @@ -42,8 +43,8 @@ Static libraries and header files for the xfce4-sensors-plugin. %build %configure --disable-static \ - --enable-sysfsacpi=yes \ - --with-pathhddtemp=%{_bindir}/hddtemp + --enable-sysfsacpi=yes \ + --with-pathhddtemp=%{_bindir}/hddtemp %make_build %install @@ -79,6 +80,9 @@ desktop-file-install --vendor "" \ %{_libdir}/xfce4/modules/libxfce4sensors.so %changelog +* Mon Jan 02 2023 lin zhang - 1.4.4-1 +- update to 1.4.4 + * Wed Aug 18 2021 zhanglin - 1.3.95-2 - fix Require libxfce4ui-1