public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfce4-timer-plugin] f45: Update to 1.8.0 + switch to meson build system + spec cleanup and modernization
@ 2026-08-13 22:01 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-13 22:01 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xfce4-timer-plugin
Branch : f45
Commit : 6a305a1bf576539f3be0a410dc075a5dedb327f1
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-08-01T01:20:24-03:00
Stats  : +34/-34 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/xfce4-timer-plugin/c/6a305a1bf576539f3be0a410dc075a5dedb327f1?branch=f45

Log:
Update to 1.8.0 + switch to meson build system + spec cleanup and modernization

---
diff --git a/.gitignore b/.gitignore
index a23af1f..ec03acd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,2 @@
-xfce4-timer-plugin-0.6.1.tar.bz2
-/xfce4-timer-plugin-1.6.0.tar.bz2
-/xfce4-timer-plugin-1.7.0.tar.bz2
-/xfce4-timer-plugin-1.7.1.tar.bz2
-/xfce4-timer-plugin-1.7.2.tar.bz2
-/xfce4-timer-plugin-1.7.3.tar.bz2
+/xfce4-timer-plugin-*.tar.bz2
+/xfce4-timer-plugin-*.tar.xz

diff --git a/sources b/sources
index 8d7efce..eff79b2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xfce4-timer-plugin-1.7.3.tar.bz2) = aad16bac1c43a9bed529884e23392153fdeec9e6793a9815f3307c7ec2cb33a1bce86127bc009f80ecdfb4a44edcdaf8f63f139a382bad0001a14b007d741a55
+SHA512 (xfce4-timer-plugin-1.8.0.tar.xz) = 9729181248ee3aa6e90be8a6975a76121ce89c26131fc4eadb6840eec7059afb45f06ff9bae5e202e39d081bd898ece2fd236c5d64e1ab07a8c8ecb2c18558f0

diff --git a/xfce4-timer-plugin.spec b/xfce4-timer-plugin.spec
index 92f00cd..b7f264f 100644
--- a/xfce4-timer-plugin.spec
+++ b/xfce4-timer-plugin.spec
@@ -1,25 +1,22 @@
-%global minorver 1.7
-%global _hardened_build 1
-
-Name:		xfce4-timer-plugin
-Version:	1.7.3
-Release:	%autorelease
-Summary:	Timer 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/xfce4-timer-plugin/%{minorver}/%{name}-%{version}.tar.bz2
-
-BuildRequires: make
-BuildRequires:	gcc-c++
-BuildRequires:	xfce4-panel-devel
-BuildRequires:	libxfce4ui-devel
-BuildRequires:	libxml2-devel
-BuildRequires:	gettext
-BuildRequires:	intltool
-BuildRequires:	perl(XML::Parser)
-
-Requires:	xfce4-panel
+# CVS   https://gitlab.xfce.org/panel-plugins/xfce4-timer-plugin
+%global minorver 1.8
+
+Name:           xfce4-timer-plugin
+Version:        1.8.0
+Release:        %autorelease
+Summary:        Timer for the Xfce panel
+License:        GPL-2.0-or-later
+URL:            https://docs.xfce.org/panel-plugins/xfce4-timer-plugin/start
+Source0:        https://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/%{minorver}/%{name}-%{version}.tar.xz
+
+BuildRequires:  gcc-c++
+BuildRequires:  gettext
+BuildRequires:  libxfce4ui-devel
+BuildRequires:  libxml2-devel
+BuildRequires:  meson
+BuildRequires:  xfce4-panel-devel
+
+Requires:       xfce4-panel
 
 %description
 A timer for the Xfce panel. It supports countdown periods and alarms at 
@@ -29,23 +26,30 @@ certain times.
 %prep
 %autosetup
 
+
 %build
-%configure --disable-static
+%meson
+%meson_build
 
-%make_build
 
 %install
-%make_install
+%meson_install
+
+# 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_lang %{name}
 
 
 %files -f %{name}.lang
-%doc AUTHORS ChangeLog
+%doc AUTHORS NEWS README.md
 %license COPYING
-%{_libdir}/xfce4/panel/plugins/libxfcetimer*
+%{_libdir}/xfce4/panel/plugins/libxfcetimer.so
 %{_datadir}/xfce4/panel/plugins/xfce4-timer-plugin.desktop
 %{_datadir}/icons/hicolor/*/apps/xfce4-timer-plugin.*g
 
+
 %changelog
 %autochangelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-13 22:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-13 22:01 [rpms/xfce4-timer-plugin] f45: Update to 1.8.0 + switch to meson build system + spec cleanup and modernization Filipe Rosset

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox