commit e62b7f92a64527199835bb0601c8723a295278cab8ba364a0d0eaad220124c7d Author: Adrian Schröter Date: Fri May 3 15:03:35 2024 +0200 Sync from SUSE:SLFO:Main libgweather4 revision 09deab105cb3b57356d0b85e06ace8bc diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/libgweather-4.2.0.tar.xz b/libgweather-4.2.0.tar.xz new file mode 100644 index 0000000..9e17189 --- /dev/null +++ b/libgweather-4.2.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af8a812da0d8976a000e1d62572c256086a817323fbf35b066dbfdd8d2ca6203 +size 2752164 diff --git a/libgweather4.changes b/libgweather4.changes new file mode 100644 index 0000000..d8dbd69 --- /dev/null +++ b/libgweather4.changes @@ -0,0 +1,91 @@ +------------------------------------------------------------------- +Sun Feb 26 20:26:03 UTC 2023 - Luciano Santos + +- Replace python3-gi-docgen build requirement with the more + reliable pkgconfig(gi-docgen). + +------------------------------------------------------------------- +Sun Sep 18 14:06:27 UTC 2022 - Bjørn Lie + +- Update to version 4.2.0: + + Allow overriding vapigen with older Meson versions. + + Documentation fixes. + + Build fixes with newer versions of Meson. + + Updated translations. + +------------------------------------------------------------------- +Sun Sep 4 18:22:52 UTC 2022 - Bjørn Lie + +- Update to version 4.1.1: + + Locations database changes + - Give proper name for Cannes-Mandelieu Airport + - Add name of Korean cities written in Hangul + - Update romanization of the name of Korean cities + - Re-organize India's locations based on states + - Add airports in Georgia + - Add various cities in Brazil + - Add various cities in Chile + - Add major cities and all international airports in Indonesia + - Replace cities in the Netherlands with the top 44 large + cities + - Add Dunedin, NZ + - Add Zhytomyr, UA + + Disable documentation when cross-compiling + + Fix issue with missing variable initialization + + Use Meson's gnome.post_install() instead of our custom script + + Add NWS weather provider for locations in the US + + Updated translations. +- Add pkgconfig(json-glib-1.0) BuildRequires: New dependency. + +------------------------------------------------------------------- +Mon Jul 18 08:52:01 UTC 2022 - Bjørn Lie + +- Update to version 4.1.0: + + Update dependency to geocode-glib-2.0. + + Switch to using libsoup3 by default. + + Add cities in: Greece, Turkey, India, Argentina. + + Fix various locations in Israel and Palestine. + + Fix test METAR service test suite. + + Updated translations. +- Replace pkgconfig(geocode-glib-1.0) and pkgconfig(libsoup-2.4) + with pkgconfig(geocode-glib-2.0) and pkgconfig(libsoup-3.0) + BuildRequires following upstreams port. +- Pass soup2=false to meson, build just soup3 support. + +------------------------------------------------------------------- +Fri Mar 18 16:46:56 UTC 2022 - Bjørn Lie + +- Update to version 4.0.0: + + Updated translations. +- Drop baselibs.conf, should not be needed for this new library. +- Use ldconfig_scriptlets macro for post(un) handling. + +------------------------------------------------------------------- +Thu Mar 3 17:20:48 UTC 2022 - Bjørn Lie + +- Update to version 3.99.0: + + Updated location database. + + Updated translations. + +------------------------------------------------------------------- +Wed Jan 12 21:43:30 UTC 2022 - Bjørn Lie + +- Update to version 3.91.0: + + Renamed `gweather-weather.h` to `gweather-info.h`. + + Removed GWeatherTimezone. + + New locations: Palestine cities, county capitals in Romania. + + Fix Vala binding of Location.detect_nearest_city(). + + Add GWeather.Location.has_timezone(). + + Depend on GLib ≥ 2.68. + + Fix build on 32bit architectures. + + Documentation updates in the migration guide. + + Updated translations. +- Pass soup2=true to meson, continue to build with old libsoup as + of now. + +------------------------------------------------------------------- +Wed Jan 12 10:55:13 UTC 2022 - Dominique Leuenberger + +- Initial package, version 3.90, based on libgweather (parallel + installable). + diff --git a/libgweather4.spec b/libgweather4.spec new file mode 100644 index 0000000..4d0166a --- /dev/null +++ b/libgweather4.spec @@ -0,0 +1,130 @@ +# +# spec file for package libgweather4 +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: libgweather4 +Version: 4.2.0 +Release: 0 +Summary: Library to get online weather information +License: GPL-2.0-or-later +Group: Development/Libraries/GNOME +URL: https://wiki.gnome.org/Projects/LibGWeather +Source0: https://download.gnome.org/sources/libgweather/4.2/libgweather-%{version}.tar.xz + +BuildRequires: gobject-introspection-devel +BuildRequires: intltool +BuildRequires: meson >= 0.50.0 +BuildRequires: pkgconfig +BuildRequires: python3-gobject +BuildRequires: pkgconfig(geocode-glib-2.0) +BuildRequires: pkgconfig(gi-docgen) +BuildRequires: pkgconfig(gio-2.0) >= 2.68.0 +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(libsoup-3.0) +BuildRequires: pkgconfig(libxml-2.0) >= 2.6.0 +BuildRequires: pkgconfig(vapigen) + +%description +This is a library to download weather information from online sources. + +%package -n gweather4-data +Summary: Auxiliary schema data for libgweather +Group: Development/Libraries/GNOME +Requires: libgweather-4-0 = %{version} +Provides: %{name} = %{version} + +%description -n gweather4-data +This is a library to download weather information from online sources. +This package provides the architecture independent files. + +%package devel +Summary: Development files for libgweather, a weather info retrieval library +Group: Development/Libraries/GNOME +Requires: libgweather-4-0 = %{version} +Requires: typelib-1_0-GWeather-4_0 = %{version} + +%description devel +This is a library to download weather information from online sources. +This package provides the development files. + +%package -n libgweather-4-0 +Summary: Library to get online weather information +Group: Development/Libraries/GNOME +Requires: gweather4-data >= %{version} + +%description -n libgweather-4-0 +This is a library to download weather information from online sources. + +%package -n typelib-1_0-GWeather-4_0 +Summary: Introspection bindings for libgweather +Group: System/Libraries + +%description -n typelib-1_0-GWeather-4_0 +This is a library to download weather information from online sources. + +This package provides the GObject Introspection bindings for the +libgweather library. + +%lang_package + +%prep +%autosetup -p1 -n libgweather-%{version} + +%build +%meson \ + -D enable_vala=true \ + -D gtk_doc=true \ + -D soup2=false \ + %{nil} +%meson_build + +%install +%meson_install + +%find_lang libgweather-4.0 %{?no_lang_C} +%find_lang libgweather-4.0-locations libgweather-4.0.lang %{?no_lang_C} + +%ldconfig_scriptlets -n libgweather-4-0 + +%files -n gweather4-data +%{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.enums.xml +%{_datadir}/glib-2.0/schemas/org.gnome.GWeather4.gschema.xml +%{_datadir}/libgweather-4/ +%dir %{_libdir}/libgweather-4 +%{_libdir}/libgweather-4/Locations.bin + +%files -n libgweather-4-0 +%license COPYING +%{_libdir}/*.so.* + +%files -n typelib-1_0-GWeather-4_0 +%{_libdir}/girepository-1.0/GWeather-4.0.typelib + +%files devel +%doc README.md NEWS +%{_datadir}/doc/libgweather-4.0/ +%{_includedir}/libgweather-4.0 +%{_libdir}/*.so +%{_libdir}/pkgconfig/gweather4.pc +%{_datadir}/gir-1.0/GWeather-4.0.gir +%dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/gweather4.deps +%{_datadir}/vala/vapi/gweather4.vapi + +%files lang -f libgweather-4.0.lang + +%changelog