1 Summary: A weather application for GNOME
2 Summary(pl.UTF-8): Aplikacja pogodowa dla GNOME
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-weather/3.32/%{name}-%{version}.tar.xz
9 # Source0-md5: 824022f82b3abc466e1afad99b431039
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: meson >= 0.46.0
20 BuildRequires: ninja >= 1.5
21 BuildRequires: pkgconfig >= 1:0.22
22 BuildRequires: rpmbuild(macros) >= 1.736
23 BuildRequires: tar >= 1:1.22
25 Requires(post,postun): glib2 >= 1:2.36.0
26 Requires(post,postun): gtk-update-icon-cache
27 Requires: geoclue2 >= 2.3.1
28 Requires: gjs >= 1.50.0
29 Requires: glib2 >= 1:2.36.0
30 Requires: gtk+3 >= 3.20
31 Requires: hicolor-icon-theme
32 Requires: libgweather >= 3.28
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 gnome-weather is a small application that allows you to monitor the
37 current weather conditions for your city, or anywhere in the world,
38 and to access updated forecasts provided by various Internet services.
40 %description -l pl.UTF-8
41 gnome-weather to mała aplikacja pozwalająca na śledzenie aktualnych
42 warunków pogodowych we własnym mieście lub dowolnym miejscu na świecie
43 oraz na dostęp do uaktualnianych prognoz dostarczanych przez różne
61 --disable-silent-rules
66 rm -rf $RPM_BUILD_ROOT
68 %ninja_install -C build
70 %find_lang org.gnome.Weather
73 rm -rf $RPM_BUILD_ROOT
77 %update_icon_cache hicolor
81 %update_icon_cache hicolor
83 %files -f org.gnome.Weather.lang
84 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_bindir}/gnome-weather
87 %{_datadir}/dbus-1/services/org.gnome.Weather.service
88 %{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service
89 %{_datadir}/glib-2.0/schemas/org.gnome.Weather.gschema.xml
90 %{_datadir}/gnome-shell/search-providers/org.gnome.Weather.search-provider.ini
91 %{_datadir}/metainfo/org.gnome.Weather.appdata.xml
92 %dir %{_datadir}/org.gnome.Weather
93 %attr(755,root,root) %{_datadir}/org.gnome.Weather/org.gnome.Weather
94 %attr(755,root,root) %{_datadir}/org.gnome.Weather/org.gnome.Weather.BackgroundService
95 %{_datadir}/org.gnome.Weather/org.gnome.Weather.*.gresource
96 %{_desktopdir}/org.gnome.Weather.desktop
97 %{_iconsdir}/hicolor/scalable/apps/org.gnome.Weather.svg
98 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.Weather-symbolic.svg