[packages/gweather-locations] - new

qboosh qboosh at pld-linux.org
Wed Mar 25 05:49:34 CET 2026


commit 26f3cc2edf48a4591e3f3dae050befcd8b75dffb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Mar 25 05:49:34 2026 +0100

    - new

 gweather-locations.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)
---
diff --git a/gweather-locations.spec b/gweather-locations.spec
new file mode 100644
index 0000000..1ac1737
--- /dev/null
+++ b/gweather-locations.spec
@@ -0,0 +1,56 @@
+Summary:	Locations database for libgweather
+Summary(pl.UTF-8):	Baza danych miejsc dla libgweather
+Name:		gweather-locations
+Version:	2026.2
+Release:	1
+License:	GPL v2+
+Group:		Libraries
+Source0:	https://download.gnome.org/sources/gweather-locations/2026/%{name}-%{version}.tar.xz
+# Source0-md5:	6d600c6af383b611a17e5828adca81a9
+URL:		https://gitlab.gnome.org/GNOME/gweather-locations
+BuildRequires:	gettext-tools
+BuildRequires:	meson >= 1.0
+BuildRequires:	ninja >= 1.5
+BuildRequires:	python3 >= 1:3.2
+BuildRequires:	python3-pygobject3 >= 3
+BuildRequires:	rpmbuild(macros) >= 2.042
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# .dat is possibly arch-dependent, but nothing to debug
+%define		_enable_debug_packages	0
+
+%description
+The GWeather locations database contains a list of locations used by
+GNOME components through the GWeather library (libgweather).
+
+%description -l pl.UTF-8
+Baza danych miejsc GWeather zawiera listę położeń, używaną przez
+komponenty GNOME poprzez bibliotekę GWeather (libgweather).
+
+%prep
+%setup -q
+
+%build
+%meson
+
+%meson_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%meson_install
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc NEWS README.md
+%{_libdir}/gweather-locations
+%{_datadir}/gweather-locations
+# FIXME: libdir is arch-dependent, so pc location should be too
+%{_npkgconfigdir}/gweather-locations.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gweather-locations.git/commitdiff/26f3cc2edf48a4591e3f3dae050befcd8b75dffb



More information about the pld-cvs-commit mailing list