[packages/gnome-weather] - updated to 3.32.2
qboosh
qboosh at pld-linux.org
Tue Aug 6 19:12:46 CEST 2019
commit 98dc4ece3b2a6a5c956f5e6ed15397a064167ef1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Aug 6 19:14:51 2019 +0200
- updated to 3.32.2
gnome-weather.spec | 63 ++++++++++++++++++++++++++++++++----------------------
1 file changed, 37 insertions(+), 26 deletions(-)
---
diff --git a/gnome-weather.spec b/gnome-weather.spec
index 4e5c20d..be1bda0 100644
--- a/gnome-weather.spec
+++ b/gnome-weather.spec
@@ -1,45 +1,57 @@
Summary: A weather application for GNOME
+Summary(pl.UTF-8): Aplikacja pogodowa dla GNOME
Name: gnome-weather
-Version: 3.26.0
+Version: 3.32.2
Release: 1
License: GPL v2+
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-weather/3.26/%{name}-%{version}.tar.xz
-# Source0-md5: 95f0c06e198f19e2618642386279b208
-BuildRequires: appstream-glib-devel
-BuildRequires: autoconf >= 2.63
-BuildRequires: automake >= 1:1.12
-BuildRequires: gdk-pixbuf2-devel
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-weather/3.32/%{name}-%{version}.tar.xz
+# Source0-md5: 824022f82b3abc466e1afad99b431039
+URL: https://wiki.gnome.org/Apps/Weather
+BuildRequires: appstream-glib
BuildRequires: geoclue2-devel >= 2.3.1
BuildRequires: gettext-tools
-BuildRequires: gjs-devel >= 1.40.0
+BuildRequires: gjs-devel >= 1.50.0
BuildRequires: glib2-devel >= 1:2.36.0
BuildRequires: gobject-introspection-devel >= 1.36.0
-BuildRequires: gtk+3-devel >= 3.12.0
-BuildRequires: intltool >= 0.40.0
-BuildRequires: libgweather-devel >= 3.18.0
+BuildRequires: gtk+3-devel >= 3.20
+BuildRequires: libgweather-devel >= 3.28
+BuildRequires: meson >= 0.46.0
+BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig >= 1:0.22
+BuildRequires: rpmbuild(macros) >= 1.736
BuildRequires: tar >= 1:1.22
BuildRequires: xz
Requires(post,postun): glib2 >= 1:2.36.0
Requires(post,postun): gtk-update-icon-cache
Requires: geoclue2 >= 2.3.1
-Requires: gjs >= 1.40.0
+Requires: gjs >= 1.50.0
Requires: glib2 >= 1:2.36.0
-Requires: gtk+3 >= 3.12.0
+Requires: gtk+3 >= 3.20
Requires: hicolor-icon-theme
-Requires: libgweather >= 3.18.0
+Requires: libgweather >= 3.28
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
gnome-weather is a small application that allows you to monitor the
current weather conditions for your city, or anywhere in the world,
-and to access updated forecasts provided by various internet services.
+and to access updated forecasts provided by various Internet services.
+
+%description -l pl.UTF-8
+gnome-weather to mała aplikacja pozwalająca na śledzenie aktualnych
+warunków pogodowych we własnym mieście lub dowolnym miejscu na świecie
+oraz na dostęp do uaktualnianych prognoz dostarczanych przez różne
+serwisy internetowe.
%prep
%setup -q
%build
+%meson build
+
+%ninja_build -C build
+
+%if 0
%{__intltoolize}
%{__aclocal} -I m4
%{__autoconf}
@@ -48,12 +60,12 @@ and to access updated forecasts provided by various internet services.
GJS="/usr/bin/gjs" \
--disable-silent-rules
%{__make}
+%endif
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
%find_lang org.gnome.Weather
@@ -72,16 +84,15 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc NEWS
%attr(755,root,root) %{_bindir}/gnome-weather
-%{_datadir}/appdata/org.gnome.Weather.appdata.xml
-%{_datadir}/dbus-1/services/org.gnome.Weather.Application.service
+%{_datadir}/dbus-1/services/org.gnome.Weather.service
%{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service
-%{_datadir}/gnome-shell/search-providers/org.gnome.Weather.Application.search-provider.ini
-%{_datadir}/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.gnome.Weather.gschema.xml
+%{_datadir}/gnome-shell/search-providers/org.gnome.Weather.search-provider.ini
+%{_datadir}/metainfo/org.gnome.Weather.appdata.xml
%dir %{_datadir}/org.gnome.Weather
-%attr(755,root,root) %{_datadir}/org.gnome.Weather/org.gnome.Weather.Application
+%attr(755,root,root) %{_datadir}/org.gnome.Weather/org.gnome.Weather
%attr(755,root,root) %{_datadir}/org.gnome.Weather/org.gnome.Weather.BackgroundService
-%{_datadir}/org.gnome.Weather/org.gnome.Weather.Application.*.gresource
-%{_datadir}/org.gnome.Weather/org.gnome.Weather.BackgroundService.*.gresource
-%{_desktopdir}/org.gnome.Weather.Application.desktop
-%{_iconsdir}/hicolor/*/*/org.gnome.Weather.png
+%{_datadir}/org.gnome.Weather/org.gnome.Weather.*.gresource
+%{_desktopdir}/org.gnome.Weather.desktop
+%{_iconsdir}/hicolor/scalable/apps/org.gnome.Weather.svg
%{_iconsdir}/hicolor/symbolic/apps/org.gnome.Weather-symbolic.svg
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnome-weather.git/commitdiff/98dc4ece3b2a6a5c956f5e6ed15397a064167ef1
More information about the pld-cvs-commit
mailing list