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