[packages/gnome-shell-extension-openweather] - new

baggins baggins at pld-linux.org
Tue Jun 24 01:50:46 CEST 2025


commit e7af7400bba7bb4b6cf0800772eb4d3beae5bdd6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jun 24 01:55:49 2025 +0200

    - new

 gnome-48.patch                         | 22 +++++++++++++++++
 gnome-shell-extension-openweather.spec | 43 ++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
---
diff --git a/gnome-shell-extension-openweather.spec b/gnome-shell-extension-openweather.spec
new file mode 100644
index 0000000..dc509b4
--- /dev/null
+++ b/gnome-shell-extension-openweather.spec
@@ -0,0 +1,43 @@
+Summary:	Display weather information for any location on Earth
+Name:		gnome-shell-extension-openweather
+Version:	139
+Release:	1
+License:	GPL v3+
+Source0:	https://github.com/penguin-teal/gnome-openweather/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	6348b6d7787773b91a5271cda34a198f
+URL:		https://extensions.gnome.org/extension/6655/openweather/
+Patch0:		gnome-48.patch
+BuildRequires:	gettext-devel
+BuildRequires:	glib2-devel
+BuildArch:	noarch
+
+%description
+OpenWeather (%uuid) is a simple extension for displaying weather
+conditions and forecasts for any location on Earth in the GNOME Shell.
+It provides support for multiple locations with editable names using
+coordinates to store the locations, a beautiful layout, and more.
+Weather data is fetched from OpenWeatherMap including 3 hour forecasts
+for up to 5 days.
+
+%prep
+%setup -q -n gnome-openweather-%{version}
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name} --all-name
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS README.md
+%{_datadir}/glib-2.0/schemas/*.gschema.xml
+%{_datadir}/gnome-shell/extensions/openweather-extension at penguin-teal.github.io
diff --git a/gnome-48.patch b/gnome-48.patch
new file mode 100644
index 0000000..6a7b233
--- /dev/null
+++ b/gnome-48.patch
@@ -0,0 +1,22 @@
+From ef21e2d100a564015505ecf0cbc8b8d496b18b1e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jeremy=20B=C3=ADcha?= <jeremy.bicha at canonical.com>
+Date: Sun, 23 Feb 2025 15:44:53 -0500
+Subject: [PATCH] Mark compatible with GNOME Shell 48
+
+---
+ metadata.json | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/metadata.json b/metadata.json
+index 0f0e375..8169cb9 100644
+--- a/metadata.json
++++ b/metadata.json
+@@ -1,7 +1,7 @@
+ {
+     "name": "OpenWeather Refined",
+     "description": "Display weather for the current or a specified location. Fork of OpenWeather.\nWeather data is provided by OpenWeatherMap.org or WeatherAPI.com or VisualCrossing.com.\nIf location is set to \"My Location,\" which is the case by default on laptops, this extension will use location services and Nominatim (from OpenStreetMap.org), or infoip.io if that failed.",
+-    "shell-version": [ "45", "46", "47" ],
++    "shell-version": [ "45", "46", "47", "48" ],
+     "url": "https://github.com/penguin-teal/gnome-openweather",
+     "uuid": "openweather-extension at penguin-teal.github.io",
+     "settings-schema": "org.gnome.shell.extensions.openweatherrefined",
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-shell-extension-openweather.git/commitdiff/e7af7400bba7bb4b6cf0800772eb4d3beae5bdd6



More information about the pld-cvs-commit mailing list