]> git.pld-linux.org Git - packages/gnome-weather.git/blob - gnome-weather.spec
322fc48e07cd7423d6c08963548c536a159ec072
[packages/gnome-weather.git] / gnome-weather.spec
1 Summary:        A weather application for GNOME
2 Name:           gnome-weather
3 Version:        3.14.1
4 Release:        1
5 License:        GPL v2+
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
22 BuildRequires:  xz
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)
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}
42 %{__aclocal} -I m4
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
57 %find_lang org.gnome.Weather
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post
63 %glib_compile_schemas
64 %update_icon_cache HighContrast
65 %update_icon_cache hicolor
66
67 %postun
68 %glib_compile_schemas
69 %update_icon_cache HighContrast
70 %update_icon_cache hicolor
71
72 %files -f org.gnome.Weather.lang
73 %defattr(644,root,root,755)
74 %doc NEWS
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
This page took 0.084597 seconds and 2 git commands to generate.