SHA256
1
0
forked from pool/libgweather4

Accepting request 962905 from GNOME:Next

New stable release

OBS-URL: https://build.opensuse.org/request/show/962905
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgweather4?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2022-03-21 08:35:45 +00:00 committed by Git OBS Bridge
commit 4cb0ef106f
5 changed files with 193 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libgweather-4.0.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:440d44801b6f72b48c676e5e37f9109cfee1394fd74cc92725e1b1ba4fae834c
size 4722620

37
libgweather4.changes Normal file
View File

@ -0,0 +1,37 @@
-------------------------------------------------------------------
Fri Mar 18 16:46:56 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- Update to version 3.99.0:
+ Updated location database.
+ Updated translations.
-------------------------------------------------------------------
Wed Jan 12 21:43:30 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <dimstar@opensuse.org>
- Initial package, version 3.90, based on libgweather (parallel
installable).

129
libgweather4.spec Normal file
View File

@ -0,0 +1,129 @@
#
# spec file for package libgweather
#
# Copyright (c) 2022 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.0.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.0/libgweather-%{version}.tar.xz
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: meson >= 0.50.0
BuildRequires: pkgconfig
BuildRequires: python3-gi-docgen
BuildRequires: python3-gobject
BuildRequires: pkgconfig(geocode-glib-1.0)
BuildRequires: pkgconfig(gio-2.0) >= 2.68.0
BuildRequires: pkgconfig(libsoup-2.4) >= 2.44.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=true \
%{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