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