1 Summary: A weather application for GNOME
6 Group: X11/Applications
7 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-weather/3.14/%{name}-%{version}.tar.xz
8 # Source0-md5: 02b330952283ca90494813b0253d2428
9 BuildRequires: appstream-glib-devel
10 BuildRequires: autoconf >= 2.63
11 BuildRequires: automake >= 1:1.12
12 BuildRequires: gdk-pixbuf2-devel
13 BuildRequires: gettext-devel
14 BuildRequires: gjs-devel >= 1.40.0
15 BuildRequires: glib2-devel >= 1:2.36.0
16 BuildRequires: gobject-introspection-devel >= 1.36.0
17 BuildRequires: gtk+3-devel >= 3.12.0
18 BuildRequires: intltool >= 0.40.0
19 BuildRequires: libgweather-devel >= 3.10.0
20 BuildRequires: pkgconfig
21 BuildRequires: tar >= 1:1.22
23 Requires(post,postun): glib2 >= 1:2.36.0
24 Requires(post,postun): gtk-update-icon-cache
25 Requires: gjs >= 1.40.0
26 Requires: glib2 >= 1:2.36.0
27 Requires: gtk+3 >= 3.12.0
28 Requires: hicolor-icon-theme
29 Requires: libgweather >= 3.10.0
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 gnome-weather is a small application that allows you to monitor the
34 current weather conditions for your city, or anywhere in the world,
35 and to access updated forecasts provided by various internet services.
48 --disable-silent-rules
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
57 %find_lang org.gnome.Weather
60 rm -rf $RPM_BUILD_ROOT
64 %update_icon_cache HighContrast
65 %update_icon_cache hicolor
69 %update_icon_cache HighContrast
70 %update_icon_cache hicolor
72 %files -f org.gnome.Weather.lang
73 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_bindir}/gnome-weather
76 %{_datadir}/appdata/org.gnome.Weather.Application.appdata.xml
77 %{_datadir}/dbus-1/services/org.gnome.Weather.Application.service
78 %{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service
79 %{_datadir}/gnome-shell/search-providers/org.gnome.Weather.Application.search-provider.ini
80 %{_datadir}/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml
81 %{_datadir}/org.gnome.Weather
82 %{_desktopdir}/org.gnome.Weather.Application.desktop
83 %{_iconsdir}/HighContrast/*/*/org.gnome.Weather.Application.png
84 %{_iconsdir}/hicolor/*/*/org.gnome.Weather.Application.png