1 Summary: Clocks applications for GNOME
6 Group: X11/Applications
7 Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-clocks/3.10/%{name}-%{version}.tar.xz
8 # Source0-md5: 9ab8d92b1ff63b4ca649ad2c1b10260e
9 URL: https://live.gnome.org/GnomeClocks
10 BuildRequires: autoconf >= 2.63
11 BuildRequires: automake >= 1:1.11
12 BuildRequires: geoclue2-devel >= 1.99.3
13 BuildRequires: geocode-glib-devel >= 0.99.3
14 BuildRequires: gettext-devel
15 BuildRequires: glib2-devel >= 1:2.36.0
16 BuildRequires: gnome-desktop-devel >= 3.8.0
17 BuildRequires: gtk+3-devel >= 3.10.0
18 BuildRequires: intltool >= 0.40.0
19 BuildRequires: libcanberra-devel >= 0.30
20 BuildRequires: libgweather-devel >= 3.10.0
21 BuildRequires: libnotify-devel >= 0.7.0
22 BuildRequires: libtool
23 BuildRequires: pkgconfig >= 1:0.22
24 BuildRequires: vala >= 2:0.22.0
25 BuildRequires: tar >= 1:1.22
27 BuildRequires: yelp-tools
28 Requires(post,postun): glib2 >= 1:2.36.0
29 Requires(post,postun): gtk-update-icon-cache
30 Requires: glib2 >= 1:2.36.0
31 Requires: gtk+3 >= 3.10.0
32 Requires: hicolor-icon-theme
33 Requires: libgweather >= 3.10.0
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 GNOME Clocks is a simple application to show the time, date and
51 --disable-silent-rules
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
60 %find_lang %{name} --with-gnome
63 rm -rf $RPM_BUILD_ROOT
66 %update_icon_cache hicolor
67 %update_icon_cache HighContrast
71 %update_icon_cache hicolor
72 %update_icon_cache HighContrast
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS NEWS README
78 %attr(755,root,root) %{_bindir}/gnome-clocks
79 %{_datadir}/appdata/gnome-clocks.appdata.xml
80 %{_datadir}/gnome-clocks
81 %{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml
82 %{_desktopdir}/gnome-clocks.desktop
83 %{_iconsdir}/HighContrast/*/*/*.png
84 %{_iconsdir}/hicolor/*/*/*.png