]>
Commit | Line | Data |
---|---|---|
03a7509e MB |
1 | Summary: A weather application for GNOME |
2 | Name: gnome-weather | |
210beced | 3 | Version: 3.14.1 |
4af9dd85 | 4 | Release: 1 |
03a7509e MB |
5 | License: GPL v2+ |
6 | Group: X11/Applications | |
210beced MB |
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 | |
03a7509e | 10 | BuildRequires: autoconf >= 2.63 |
4af9dd85 | 11 | BuildRequires: automake >= 1:1.12 |
07f504c5 | 12 | BuildRequires: gdk-pixbuf2-devel |
ba154ee4 | 13 | BuildRequires: gettext-tools |
4af9dd85 | 14 | BuildRequires: gjs-devel >= 1.40.0 |
03a7509e MB |
15 | BuildRequires: glib2-devel >= 1:2.36.0 |
16 | BuildRequires: gobject-introspection-devel >= 1.36.0 | |
4af9dd85 | 17 | BuildRequires: gtk+3-devel >= 3.12.0 |
03a7509e | 18 | BuildRequires: intltool >= 0.40.0 |
07f504c5 | 19 | BuildRequires: libgweather-devel >= 3.10.0 |
03a7509e | 20 | BuildRequires: pkgconfig |
814cbb9a MB |
21 | BuildRequires: tar >= 1:1.22 |
22 | BuildRequires: xz | |
03a7509e | 23 | Requires(post,postun): glib2 >= 1:2.36.0 |
07f504c5 | 24 | Requires(post,postun): gtk-update-icon-cache |
4af9dd85 | 25 | Requires: gjs >= 1.40.0 |
03a7509e | 26 | Requires: glib2 >= 1:2.36.0 |
4af9dd85 | 27 | Requires: gtk+3 >= 3.12.0 |
07f504c5 MB |
28 | Requires: hicolor-icon-theme |
29 | Requires: libgweather >= 3.10.0 | |
03a7509e MB |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
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. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | %{__intltoolize} | |
210beced | 42 | %{__aclocal} -I m4 |
03a7509e MB |
43 | %{__autoconf} |
44 | %{__autoheader} | |
45 | %{__automake} | |
46 | %configure \ | |
47 | GJS="/usr/bin/gjs" \ | |
48 | --disable-silent-rules | |
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
210beced | 57 | %find_lang org.gnome.Weather |
03a7509e MB |
58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post | |
63 | %glib_compile_schemas | |
210beced | 64 | %update_icon_cache HighContrast |
07f504c5 | 65 | %update_icon_cache hicolor |
03a7509e MB |
66 | |
67 | %postun | |
68 | %glib_compile_schemas | |
210beced | 69 | %update_icon_cache HighContrast |
07f504c5 | 70 | %update_icon_cache hicolor |
03a7509e | 71 | |
210beced | 72 | %files -f org.gnome.Weather.lang |
03a7509e MB |
73 | %defattr(644,root,root,755) |
74 | %doc NEWS | |
75 | %attr(755,root,root) %{_bindir}/gnome-weather | |
07f504c5 MB |
76 | %{_datadir}/appdata/org.gnome.Weather.Application.appdata.xml |
77 | %{_datadir}/dbus-1/services/org.gnome.Weather.Application.service | |
210beced | 78 | %{_datadir}/dbus-1/services/org.gnome.Weather.BackgroundService.service |
07f504c5 | 79 | %{_datadir}/gnome-shell/search-providers/org.gnome.Weather.Application.search-provider.ini |
03a7509e | 80 | %{_datadir}/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml |
210beced | 81 | %{_datadir}/org.gnome.Weather |
07f504c5 | 82 | %{_desktopdir}/org.gnome.Weather.Application.desktop |
210beced | 83 | %{_iconsdir}/HighContrast/*/*/org.gnome.Weather.Application.png |
07f504c5 | 84 | %{_iconsdir}/hicolor/*/*/org.gnome.Weather.Application.png |