]> git.pld-linux.org Git - packages/gnome-clocks.git/blob - gnome-clocks.spec
Update to 3.22.1
[packages/gnome-clocks.git] / gnome-clocks.spec
1 Summary:        Clocks applications for GNOME
2 Name:           gnome-clocks
3 Version:        3.22.1
4 Release:        1
5 License:        GPL v2
6 Group:          X11/Applications
7 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-clocks/3.22/%{name}-%{version}.tar.xz
8 # Source0-md5:  264a7366cf35ae2dcd92d2903e3427d9
9 URL:            https://live.gnome.org/GnomeClocks
10 BuildRequires:  autoconf >= 2.63
11 BuildRequires:  automake >= 1:1.11
12 BuildRequires:  geoclue2-devel >= 2.3.1
13 BuildRequires:  geocode-glib-devel >= 0.99.4
14 BuildRequires:  gettext-tools >= 0.19.8
15 BuildRequires:  glib2-devel >= 1:2.44.0
16 BuildRequires:  gnome-desktop-devel >= 3.8.0
17 BuildRequires:  gsound-devel >= 0.98
18 BuildRequires:  gtk+3-devel >= 3.20.0
19 BuildRequires:  libgweather-devel >= 3.14.0
20 BuildRequires:  libtool
21 BuildRequires:  pkgconfig >= 1:0.22
22 BuildRequires:  tar >= 1:1.22
23 BuildRequires:  vala >= 2:0.24.0
24 BuildRequires:  xz
25 BuildRequires:  yelp-tools
26 Requires(post,postun):  glib2 >= 1:2.44.0
27 Requires(post,postun):  gtk-update-icon-cache
28 Requires:       geoclue2 >= 2.3.1
29 Requires:       glib2 >= 1:2.44.0
30 Requires:       gtk+3 >= 3.20.0
31 Requires:       hicolor-icon-theme
32 Requires:       libgweather >= 3.14.0
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
43 %{__libtoolize}
44 %{__aclocal} -I m4
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48 %configure \
49         --disable-silent-rules
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %find_lang %{name} --with-gnome
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
77 %{_datadir}/appdata/org.gnome.clocks.appdata.xml
78 %{_datadir}/gnome-clocks
79 %{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini
80 %{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml
81 %{_datadir}/dbus-1/services/org.gnome.clocks.service
82 %{_desktopdir}/org.gnome.clocks.desktop
83 %{_iconsdir}/hicolor/*/*/*.png
84 %{_iconsdir}/hicolor/*/*/*.svg
This page took 0.130383 seconds and 3 git commands to generate.