[packages/libgweather4] - updated to 4.6.0

qboosh qboosh at pld-linux.org
Wed Mar 25 18:01:12 CET 2026


commit ee1144bcd6c395381c6139574984c939ffc68f78
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Mar 25 18:01:24 2026 +0100

    - updated to 4.6.0

 libgweather4.spec | 41 ++++++++++-------------------------------
 1 file changed, 10 insertions(+), 31 deletions(-)
---
diff --git a/libgweather4.spec b/libgweather4.spec
index 1c17a33..5686208 100644
--- a/libgweather4.spec
+++ b/libgweather4.spec
@@ -2,34 +2,26 @@
 # Conditional build:
 %bcond_without	apidocs		# gi-docgen generated API documentation
 %bcond_without	vala		# Vala API
-%bcond_without	libsoup3	# libsoup3/geocode-glib2 instead of libsoup 2.x/geocode-glib
 
 Summary:	Library to access weather information from online services for numerous locations
 Summary(pl.UTF-8):	Biblioteka dostępu do informacji pogodowych z serwisów internetowych dla różnych miejsc
 Name:		libgweather4
-Version:	4.4.4
-Release:	4
+Version:	4.6.0
+Release:	1
 License:	GPL v2+
 Group:		X11/Libraries
-Source0:	https://download.gnome.org/sources/libgweather/4.4/libgweather-%{version}.tar.xz
-# Source0-md5:	42c548a6d45f79c2120b0a0df8a74e68
+Source0:	https://download.gnome.org/sources/libgweather/4.6/libgweather-%{version}.tar.xz
+# Source0-md5:	c52f40f2e6d6708763f15eb17ce45b97
 URL:		https://wiki.gnome.org/Projects/LibGWeather
-%if %{with libsoup3}
 BuildRequires:	geocode-glib2-devel
-%else
-BuildRequires:	geocode-glib-devel
-%endif
 BuildRequires:	gettext-tools >= 0.18
 %{?with_apidocs:BuildRequires:	gi-docgen >= 2021.6}
 BuildRequires:	glib2-devel >= 1:2.68.0
 BuildRequires:	gobject-introspection-devel >= 0.10.0
-%if %{with libsoup3}
+BuildRequires:	gweather-locations
 BuildRequires:	libsoup3-devel >= 3.0.0
-%else
-BuildRequires:	libsoup-devel >= 2.44.0
-%endif
 BuildRequires:	libxml2-devel >= 1:2.6.30
-BuildRequires:	meson >= 0.57.0
+BuildRequires:	meson >= 1.5
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig >= 1:0.19
 BuildRequires:	python3 >= 1:3
@@ -42,11 +34,8 @@ BuildRequires:	xz
 Requires(post,postun):	/sbin/ldconfig
 Requires(post,postun):	glib2 >= 1:2.68.0
 Requires:	glib2 >= 1:2.68.0
-%if %{with libsoup3}
+Requires:	gweather-locations
 Requires:	libsoup3 >= 3.0.0
-%else
-Requires:	libsoup >= 2.44.0
-%endif
 Requires:	libxml2 >= 1:2.6.30
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -64,11 +53,7 @@ Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libgweather
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	glib2-devel >= 1:2.68.0
-%if %{with libsoup3}
 Requires:	libsoup3-devel >= 3.0.0
-%else
-Requires:	libsoup-devel >= 2.44.0
-%endif
 Requires:	libxml2-devel >= 1:2.6.30
 
 %description devel
@@ -122,7 +107,6 @@ API biblioteki libgweather dla języka Vala.
 %meson \
 	-Denable_vala=%{!?with_vala:false}%{?with_vala:true} \
 	-Dgtk_doc=%{__true_false apidocs} \
-	%{!?with_libsoup3:-Dsoup2=true} \
 	-Dzoneinfo_dir=%{_datadir}/zoneinfo
 
 %meson_build
@@ -157,20 +141,15 @@ rm -rf $RPM_BUILD_ROOT
 %files -f libgweather-4.0.lang
 %defattr(644,root,root,755)
 %doc NEWS README.md
-%attr(755,root,root) %{_libdir}/libgweather-4.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgweather-4.so.0
-%dir %{_libdir}/libgweather-4
-%{_libdir}/libgweather-4/Locations.bin
+%{_libdir}/libgweather-4.so.*.*.*
+%ghost %{_libdir}/libgweather-4.so.0
 %{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.enums.xml
 %{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.gschema.xml
-%dir %{_datadir}/libgweather-4
-%{_datadir}/libgweather-4/Locations.xml
-%{_datadir}/libgweather-4/locations.dtd
 %{_libdir}/girepository-1.0/GWeather-4.0.typelib
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgweather-4.so
+%{_libdir}/libgweather-4.so
 %{_includedir}/libgweather-4.0
 %{_pkgconfigdir}/gweather4.pc
 %{_datadir}/gir-1.0/GWeather-4.0.gir
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libgweather4.git/commitdiff/ee1144bcd6c395381c6139574984c939ffc68f78



More information about the pld-cvs-commit mailing list