public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfce4-weather-plugin] f45: Update to 0.12.0 + switch to meson build system + spec cleanup and modernization
@ 2026-08-13 21:57 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-13 21:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/xfce4-weather-plugin
Branch : f45
Commit : a41847bb534b0e210dff2772ef6593352ea8585c
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-07-31T23:34:58-03:00
Stats : +35/-46 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/xfce4-weather-plugin/c/a41847bb534b0e210dff2772ef6593352ea8585c?branch=f45
Log:
Update to 0.12.0 + switch to meson build system + spec cleanup and modernization
---
diff --git a/.gitignore b/.gitignore
index 18b52dd..c5fe324 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,21 +1,2 @@
-xfce4-weather-plugin-0.7.3.tar.bz2
-/xfce4-weather-plugin-0.7.4.tar.bz2
-/xfce4-weather-plugin-0.8.0.tar.bz2
-/xfce4-weather-plugin-0.8.1.tar.bz2
-/xfce4-weather-plugin-0.8.2.tar.bz2
-/xfce4-weather-plugin-0.8.3.tar.bz2
-/xfce4-weather-plugin-0.8.4.tar.bz2
-/xfce4-weather-plugin-0.8.5.tar.bz2
-/xfce4-weather-plugin-0.8.6.tar.bz2
-/xfce4-weather-plugin-0.8.7.tar.bz2
-/xfce4-weather-plugin-0.8.8.tar.bz2
-/xfce4-weather-plugin-0.8.9.tar.bz2
-/xfce4-weather-plugin-0.8.10.tar.bz2
-/xfce4-weather-plugin-0.8.11.tar.bz2
-/xfce4-weather-plugin-0.10.0.tar.bz2
-/xfce4-weather-plugin-0.10.1.tar.bz2
-/xfce4-weather-plugin-0.10.2.tar.bz2
-/xfce4-weather-plugin-0.11.0.tar.bz2
-/xfce4-weather-plugin-0.11.1.tar.bz2
-/xfce4-weather-plugin-0.11.2.tar.bz2
-/xfce4-weather-plugin-0.11.3.tar.bz2
+/xfce4-weather-plugin-*.tar.bz2
+/xfce4-weather-plugin-*.tar.xz
diff --git a/sources b/sources
index 9a9b0e8..0725576 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xfce4-weather-plugin-0.11.3.tar.bz2) = 48d0fc1d96848f21196e86678e4aa78360a76ad79d0046b68713a79c9d8746ccffc02d1f6828ff9b14a39ec8b3251db179b02f9e4e77874d4ac8238cbc2353e3
+SHA512 (xfce4-weather-plugin-0.12.0.tar.xz) = ea09332974b1bffc66e964f9f7c0584e80cd54371d38c8407f7435bf33590727c2d0b62dd8b6b4deced14dc9e4fdf2e15d7faefbda64cbd48787a08db28756cf
diff --git a/xfce4-weather-plugin.spec b/xfce4-weather-plugin.spec
index 2c49496..8621316 100644
--- a/xfce4-weather-plugin.spec
+++ b/xfce4-weather-plugin.spec
@@ -1,30 +1,30 @@
# Review: https://bugzilla.redhat.com/show_bug.cgi?id=173105
+# VCS https://gitlab.xfce.org/panel-plugins/xfce4-weather-plugin
-%global minorversion 0.11
+%global minorversion 0.12
-%global xfceversion 4.16
+%global xfceversion 4.20
Name: xfce4-weather-plugin
-Version: 0.11.3
+Version: 0.12.0
Release: %autorelease
Summary: Weather plugin for the Xfce panel
+License: GPL-2.0-or-later
+URL: https://docs.xfce.org/panel-plugins/xfce4-weather-plugin/start
+Source0: https://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.xz
-# Automatically converted from old format: BSD - review is highly recommended.
-License: LicenseRef-Callaway-BSD
-URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
-#VCS: git:git://git.xfce.org/panel-plugins/xfce4-weather-plugin
-Source0: http://archive.xfce.org/src/panel-plugins/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
-
-BuildRequires: make
-BuildRequires: gcc-c++
-BuildRequires: libxfce4ui-devel >= %{xfceversion}
-BuildRequires: xfce4-panel-devel >= %{xfceversion}
-BuildRequires: libsoup-devel >= 2.26.0
-BuildRequires: upower-devel >= 0.9.0
+BuildRequires: gcc
BuildRequires: gettext
-BuildRequires: intltool
-BuildRequires: libxml2-devel >= 2.4.0
BuildRequires: json-c-devel
+BuildRequires: libsoup3-devel
+BuildRequires: libxfce4ui-devel >= %{xfceversion}
+BuildRequires: libxfce4util-devel >= %{xfceversion}
+BuildRequires: libxml2-devel >= 2.4.0
+BuildRequires: meson
+BuildRequires: upower-devel >= 0.9.0
+BuildRequires: xfce4-panel-devel >= %{xfceversion}
+BuildRequires: xfconf-devel >= %{xfceversion}
+
Requires: xfce4-panel >= %{xfceversion}
%description
@@ -35,25 +35,33 @@ weather condition, using weather data provided by xoap.weather.com.
%prep
%autosetup
+
%build
-%configure
-%make_build
+%meson
+%meson_build
-%install
-%make_install
+%install
+%meson_install
-# remove la file
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
+# Rename non-standard hye locale to hy
+if [ -d %{buildroot}%{_datadir}/locale/hye ]; then
+ mv %{buildroot}%{_datadir}/locale/hye %{buildroot}%{_datadir}/locale/hy
+fi
# make sure debuginfo is generated properly
chmod -c +x %{buildroot}%{_libdir}/xfce4/panel/plugins/*.so
%find_lang %{name}
+
+%check
+%meson_test
+
+
%files -f %{name}.lang
%license COPYING
-%doc AUTHORS ChangeLog README
+%doc AUTHORS NEWS README
%{_libdir}/xfce4/panel/plugins/*.so
%{_datadir}/xfce4/panel/plugins/*.desktop
%{_datadir}/icons/hicolor/*/*/*
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-13 21:57 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:57 [rpms/xfce4-weather-plugin] f45: Update to 0.12.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