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