]>
Commit | Line | Data |
---|---|---|
9d39294f MB |
1 | Summary: Clocks applications for GNOME |
2 | Name: gnome-clocks | |
9123169e | 3 | Version: 3.16.0 |
9d39294f MB |
4 | Release: 1 |
5 | License: GPL v2 | |
6 | Group: X11/Applications | |
9123169e MB |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-clocks/3.16/%{name}-%{version}.tar.xz |
8 | # Source0-md5: f46d399f2968c4a3c1758dcaee18caf6 | |
9d39294f MB |
9 | URL: https://live.gnome.org/GnomeClocks |
10 | BuildRequires: autoconf >= 2.63 | |
11 | BuildRequires: automake >= 1:1.11 | |
34caf1fa | 12 | BuildRequires: geoclue2-devel >= 1.99.3 |
bd900ea5 | 13 | BuildRequires: geocode-glib-devel >= 0.99.4 |
a2a342e1 | 14 | BuildRequires: gettext-tools |
bd900ea5 | 15 | BuildRequires: glib2-devel >= 1:2.40.0 |
9d39294f | 16 | BuildRequires: gnome-desktop-devel >= 3.8.0 |
9123169e | 17 | BuildRequires: gsound-devel >= 0.98 |
34caf1fa | 18 | BuildRequires: gtk+3-devel >= 3.10.0 |
9123169e | 19 | BuildRequires: intltool >= 0.50.1 |
9d39294f | 20 | BuildRequires: libcanberra-devel >= 0.30 |
a994815d | 21 | BuildRequires: libgweather-devel >= 3.14.0 |
9d39294f MB |
22 | BuildRequires: libnotify-devel >= 0.7.0 |
23 | BuildRequires: libtool | |
24 | BuildRequires: pkgconfig >= 1:0.22 | |
bd900ea5 | 25 | BuildRequires: vala >= 2:0.24.0 |
34caf1fa MB |
26 | BuildRequires: tar >= 1:1.22 |
27 | BuildRequires: xz | |
28 | BuildRequires: yelp-tools | |
29 | Requires(post,postun): glib2 >= 1:2.36.0 | |
9d39294f | 30 | Requires(post,postun): gtk-update-icon-cache |
bd900ea5 | 31 | Requires: glib2 >= 1:2.40.0 |
34caf1fa | 32 | Requires: gtk+3 >= 3.10.0 |
9d39294f | 33 | Requires: hicolor-icon-theme |
a994815d | 34 | Requires: libgweather >= 3.14.0 |
9d39294f MB |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
38 | GNOME Clocks is a simple application to show the time, date and | |
39 | alarms. | |
40 | ||
41 | %prep | |
42 | %setup -q | |
43 | ||
44 | %build | |
45 | %{__intltoolize} | |
46 | %{__libtoolize} | |
34caf1fa | 47 | %{__aclocal} -I m4 |
9d39294f MB |
48 | %{__autoconf} |
49 | %{__autoheader} | |
50 | %{__automake} | |
fe97e218 ŁK |
51 | %configure \ |
52 | --disable-silent-rules | |
9d39294f MB |
53 | %{__make} |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
34caf1fa | 61 | %find_lang %{name} --with-gnome |
9d39294f MB |
62 | |
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post | |
67 | %update_icon_cache hicolor | |
68 | %update_icon_cache HighContrast | |
69 | %glib_compile_schemas | |
70 | ||
71 | %postun | |
72 | %update_icon_cache hicolor | |
73 | %update_icon_cache HighContrast | |
74 | %glib_compile_schemas | |
75 | ||
76 | %files -f %{name}.lang | |
77 | %defattr(644,root,root,755) | |
78 | %doc AUTHORS NEWS README | |
79 | %attr(755,root,root) %{_bindir}/gnome-clocks | |
bd900ea5 | 80 | %{_datadir}/appdata/org.gnome.clocks.appdata.xml |
9d39294f | 81 | %{_datadir}/gnome-clocks |
a994815d | 82 | %{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini |
9d39294f | 83 | %{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml |
bd900ea5 MB |
84 | %{_datadir}/dbus-1/services/org.gnome.clocks.service |
85 | %{_desktopdir}/org.gnome.clocks.desktop | |
9d39294f MB |
86 | %{_iconsdir}/HighContrast/*/*/*.png |
87 | %{_iconsdir}/hicolor/*/*/*.png |