]> git.pld-linux.org Git - packages/gnome-weather.git/blob - gnome-weather.spec
Update to 3.10.0
[packages/gnome-weather.git] / gnome-weather.spec
1 Summary:        A weather application for GNOME
2 Name:           gnome-weather
3 Version:        3.10.0
4 Release:        1
5 License:        GPL v2+
6 Group:          X11/Applications
7 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-weather/3.10/%{name}-%{version}.tar.xz
8 # Source0-md5:  145e6c9cea9734e9e698347b04530acb
9 BuildRequires:  autoconf >= 2.63
10 BuildRequires:  automake >= 1:1.11
11 BuildRequires:  gdk-pixbuf2-devel
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
17 BuildRequires:  libgweather-devel >= 3.10.0
18 BuildRequires:  pkgconfig
19 Requires(post,postun):  glib2 >= 1:2.36.0
20 Requires(post,postun):  gtk-update-icon-cache
21 Requires:       gjs
22 Requires:       glib2 >= 1:2.36.0
23 Requires:       gtk+3 >= 3.8.0
24 Requires:       hicolor-icon-theme
25 Requires:       libgweather >= 3.10.0
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
53 %{__rm} $RPM_BUILD_ROOT%{_libdir}/org.gnome.Weather.Application/*.la
54
55 %find_lang org.gnome.Weather.Application
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post
61 %glib_compile_schemas
62 %update_icon_cache hicolor
63
64 %postun
65 %glib_compile_schemas
66 %update_icon_cache hicolor
67
68 %files -f org.gnome.Weather.Application.lang
69 %defattr(644,root,root,755)
70 %doc NEWS
71 %attr(755,root,root) %{_bindir}/gnome-weather
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
78 %{_datadir}/glib-2.0/schemas/org.gnome.Weather.Application.gschema.xml
79 %{_datadir}/org.gnome.Weather.Application
80 %{_desktopdir}/org.gnome.Weather.Application.desktop
81 %{_iconsdir}/hicolor/*/*/org.gnome.Weather.Application.png
This page took 0.071043 seconds and 3 git commands to generate.