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