]>
Commit | Line | Data |
---|---|---|
03a7509e MB |
1 | Summary: A weather application for GNOME |
2 | Name: gnome-weather | |
07f504c5 | 3 | Version: 3.10.0 |
03a7509e MB |
4 | Release: 1 |
5 | License: GPL v2+ | |
6 | Group: X11/Applications | |
07f504c5 MB |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-weather/3.10/%{name}-%{version}.tar.xz |
8 | # Source0-md5: 145e6c9cea9734e9e698347b04530acb | |
03a7509e MB |
9 | BuildRequires: autoconf >= 2.63 |
10 | BuildRequires: automake >= 1:1.11 | |
07f504c5 | 11 | BuildRequires: gdk-pixbuf2-devel |
03a7509e MB |
12 | BuildRequires: gettext-devel |
13 | BuildRequires: glib2-devel >= 1:2.36.0 | |
14 | BuildRequires: gobject-introspection-devel >= 1.36.0 | |
15 | BuildRequires: gtk+3-devel >= 3.8.0 | |
16 | BuildRequires: intltool >= 0.40.0 | |
07f504c5 | 17 | BuildRequires: libgweather-devel >= 3.10.0 |
03a7509e MB |
18 | BuildRequires: pkgconfig |
19 | Requires(post,postun): glib2 >= 1:2.36.0 | |
07f504c5 | 20 | Requires(post,postun): gtk-update-icon-cache |
03a7509e MB |
21 | Requires: gjs |
22 | Requires: glib2 >= 1:2.36.0 | |
23 | Requires: gtk+3 >= 3.8.0 | |
07f504c5 MB |
24 | Requires: hicolor-icon-theme |
25 | Requires: libgweather >= 3.10.0 | |
03a7509e MB |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | gnome-weather is a small application that allows you to monitor the | |
30 | current weather conditions for your city, or anywhere in the world, | |
31 | and to access updated forecasts provided by various internet services. | |
32 | ||
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
37 | %{__intltoolize} | |
38 | %{__aclocal} -I m4 -I libgd | |
39 | %{__autoconf} | |
40 | %{__autoheader} | |
41 | %{__automake} | |
42 | %configure \ | |
43 | GJS="/usr/bin/gjs" \ | |
44 | --disable-silent-rules | |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
07f504c5 | 53 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/org.gnome.Weather.Application/*.la |
03a7509e | 54 | |
07f504c5 | 55 | %find_lang org.gnome.Weather.Application |
03a7509e MB |
56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
61 | %glib_compile_schemas | |
07f504c5 | 62 | %update_icon_cache hicolor |
03a7509e MB |
63 | |
64 | %postun | |
65 | %glib_compile_schemas | |
07f504c5 | 66 | %update_icon_cache hicolor |
03a7509e | 67 | |
07f504c5 | 68 | %files -f org.gnome.Weather.Application.lang |
03a7509e MB |
69 | %defattr(644,root,root,755) |
70 | %doc NEWS | |
71 | %attr(755,root,root) %{_bindir}/gnome-weather | |
07f504c5 MB |
72 | %dir %{_libdir}/org.gnome.Weather.Application |
73 | %{_libdir}/org.gnome.Weather.Application/girepository-1.0 | |
74 | %attr(755,root,root) %{_libdir}/org.gnome.Weather.Application/libgd.so | |
75 | %{_datadir}/appdata/org.gnome.Weather.Application.appdata.xml | |
76 | %{_datadir}/dbus-1/services/org.gnome.Weather.Application.service | |
77 | %{_datadir}/gnome-shell/search-providers/org.gnome.Weather.Application.search-provider.ini | |
03a7509e | 78 | %{_datadir}/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml |
07f504c5 MB |
79 | %{_datadir}/org.gnome.Weather.Application |
80 | %{_desktopdir}/org.gnome.Weather.Application.desktop | |
81 | %{_iconsdir}/hicolor/*/*/org.gnome.Weather.Application.png |