1 Summary: A weather application for GNOME
2 Summary(pl.UTF-8): Aplikacja pogodowa dla GNOME
7 Group: X11/Applications
8 Source0: https://download.gnome.org/sources/gnome-weather/40/%{name}-%{version}.tar.xz
9 # Source0-md5: a172aa420065fd58d376429d2e80f603
10 URL: https://wiki.gnome.org/Apps/Weather
11 BuildRequires: appstream-glib
12 BuildRequires: geoclue2-devel >= 2.3.1
13 BuildRequires: gettext-tools
14 BuildRequires: gjs-devel >= 1.50.0
15 BuildRequires: glib2-devel >= 1:2.36.0
16 BuildRequires: gobject-introspection-devel >= 1.36.0
17 BuildRequires: gtk+3-devel >= 3.20
18 BuildRequires: libgweather-devel >= 3.28
19 BuildRequires: libhandy1-devel >= 1.1.90
20 BuildRequires: meson >= 0.50.0
21 BuildRequires: ninja >= 1.5
22 BuildRequires: pkgconfig >= 1:0.22
23 BuildRequires: rpmbuild(macros) >= 1.736
24 BuildRequires: tar >= 1:1.22
26 Requires(post,postun): glib2 >= 1:2.36.0
27 Requires(post,postun): gtk-update-icon-cache
28 Requires: geoclue2 >= 2.3.1
29 Requires: gjs >= 1.50.0
30 Requires: glib2 >= 1:2.36.0
31 Requires: gobject-introspection >= 1.36.0
32 Requires: gtk+3 >= 3.20
33 Requires: hicolor-icon-theme
34 Requires: libgweather >= 3.28
35 Requires: libhandy1 >= 1.1.90
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 gnome-weather is a small application that allows you to monitor the
41 current weather conditions for your city, or anywhere in the world,
42 and to access updated forecasts provided by various Internet services.
44 %description -l pl.UTF-8
45 gnome-weather to mała aplikacja pozwalająca na śledzenie aktualnych
46 warunków pogodowych we własnym mieście lub dowolnym miejscu na świecie
47 oraz na dostęp do uaktualnianych prognoz dostarczanych przez różne
59 rm -rf $RPM_BUILD_ROOT
61 %ninja_install -C build
63 %find_lang org.gnome.Weather
66 rm -rf $RPM_BUILD_ROOT
70 %update_icon_cache hicolor
74 %update_icon_cache hicolor
76 %files -f org.gnome.Weather.lang
77 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_bindir}/gnome-weather
80 %{_datadir}/dbus-1/services/org.gnome.Weather.service
81 %{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service
82 %{_datadir}/glib-2.0/schemas/org.gnome.Weather.gschema.xml
83 %{_datadir}/gnome-shell/search-providers/org.gnome.Weather.search-provider.ini
84 %{_datadir}/metainfo/org.gnome.Weather.appdata.xml
85 %dir %{_datadir}/org.gnome.Weather
86 %attr(755,root,root) %{_datadir}/org.gnome.Weather/org.gnome.Weather
87 %attr(755,root,root) %{_datadir}/org.gnome.Weather/org.gnome.Weather.BackgroundService
88 %{_datadir}/org.gnome.Weather/org.gnome.Weather.*.gresource
89 %{_desktopdir}/org.gnome.Weather.desktop
90 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Weather.svg
91 %{_iconsdir}/hicolor/scalable/status/temperature-symbolic.svg
92 %{_iconsdir}/hicolor/scalable/status/weather-*.svg
93 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Weather-symbolic.svg