diff --git a/gnome-weather-3.36.1.tar.xz b/gnome-weather-3.36.1.tar.xz deleted file mode 100644 index b24755b..0000000 Binary files a/gnome-weather-3.36.1.tar.xz and /dev/null differ diff --git a/gnome-weather-42.0.tar.xz b/gnome-weather-42.0.tar.xz new file mode 100644 index 0000000..b4af06f Binary files /dev/null and b/gnome-weather-42.0.tar.xz differ diff --git a/gnome-weather.spec b/gnome-weather.spec index faacce4..e400913 100644 --- a/gnome-weather.spec +++ b/gnome-weather.spec @@ -1,27 +1,33 @@ %global gobject_introspection_version 1.35.9 -%global gtk3_version 3.20 -%global gjs_version 1.50.0 -%global libgweather_version 3.28 +%global gtk4_version 4.5 +%global gjs_version 1.71.0 +%global libgweather_version 4.0 Name: gnome-weather -Version: 3.36.1 +Version: 42.0 Release: 1 -Summary: A weather application in GNOME3 +Summary: A weather application in GNOME License: GPLv2+ and LGPLv2+ and MIT and CC-BY and CC-BY-SA URL: https://wiki.gnome.org/Apps/Weather -Source0: https://download.gnome.org/sources/%{name}/3.36/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz + BuildArch: noarch -BuildRequires: desktop-file-utils gettext gjs-devel >= %{gjs_version} glib2-devel meson -BuildRequires: gobject-introspection >= %{gobject_introspection_version} gtk3-devel >= %{gtk3_version} -BuildRequires: libgweather-devel >= %{libgweather_version} pkgconfig(geoclue-2.0) python3-devel +BuildRequires: meson gettext python3-devel desktop-file-utils +BuildRequires: pkgconfig(geoclue-2.0) +BuildRequires: pkgconfig(gjs-1.0) >= %{gjs_version} +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) >= %{gobject_introspection_version} +BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} +BuildRequires: pkgconfig(gweather4) +BuildRequires: pkgconfig(libadwaita-1) -Requires: gdk-pixbuf2 geoclue2-libs gjs >= %{gjs_version} glib2 gnome-desktop3 +Requires: gdk-pixbuf2 geoclue2-libs glib2 gsettings-desktop-schemas libadwaita +Requires: libgweather >= %{libgweather_version} +Requires: gjs >= %{gjs_version} Requires: gobject-introspection >= %{gobject_introspection_version} -Requires: gsettings-desktop-schemas gtk3 >= %{gtk3_version} -Requires: libgweather >= %{libgweather_version} - -Obsoletes: gnome-weather-tests < 3.31.90 +Requires: gtk4 >= %{gtk4_version} +Obsoletes: gnome-weather-tests < %{version} %description Monitor the current weather conditions for your city, or anywhere in the world. @@ -47,13 +53,20 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Weather.des %doc NEWS data/CREDITS %{_bindir}/gnome-weather %{_datadir}/applications/org.gnome.Weather.desktop -%{_datadir}/dbus-1/services/org.gnome.Weather*.service +%{_datadir}/dbus-1/services/org.gnome.Weather.service +%{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service %{_datadir}/glib-2.0/schemas/org.gnome.Weather.gschema.xml +%dir %{_datadir}/gnome-shell/ +%dir %{_datadir}/gnome-shell/search-providers/ %{_datadir}/gnome-shell/search-providers/org.gnome.Weather.search-provider.ini %{_datadir}/icons/hicolor/*/apps/org.gnome.Weather* +%{_datadir}/icons/hicolor/scalable/status/*.svg %{_datadir}/metainfo/org.gnome.Weather.appdata.xml %{_datadir}/org.gnome.Weather/ %changelog +* Mon Mar 28 2022 lin zhang - 42.0-1 +- Upgrade to 42.0 + * Mon Jun 21 2021 weijin deng - 3.36.1-1 - Package init with version 3.36.1