]> git.pld-linux.org Git - packages/gnome-clocks.git/blob - gnome-clocks.spec
Update to 3.10.0
[packages/gnome-clocks.git] / gnome-clocks.spec
1 Summary:        Clocks applications for GNOME
2 Name:           gnome-clocks
3 Version:        3.10.0
4 Release:        1
5 License:        GPL v2
6 Group:          X11/Applications
7 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-clocks/3.10/%{name}-%{version}.tar.xz
8 # Source0-md5:  9ab8d92b1ff63b4ca649ad2c1b10260e
9 URL:            https://live.gnome.org/GnomeClocks
10 BuildRequires:  autoconf >= 2.63
11 BuildRequires:  automake >= 1:1.11
12 BuildRequires:  geoclue2-devel >= 1.99.3
13 BuildRequires:  geocode-glib-devel >= 0.99.3
14 BuildRequires:  gettext-devel
15 BuildRequires:  glib2-devel >= 1:2.36.0
16 BuildRequires:  gnome-desktop-devel >= 3.8.0
17 BuildRequires:  gtk+3-devel >= 3.10.0
18 BuildRequires:  intltool >= 0.40.0
19 BuildRequires:  libcanberra-devel >= 0.30
20 BuildRequires:  libgweather-devel >= 3.10.0
21 BuildRequires:  libnotify-devel >= 0.7.0
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig >= 1:0.22
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
29 Requires(post,postun):  gtk-update-icon-cache
30 Requires:       glib2 >= 1:2.36.0
31 Requires:       gtk+3 >= 3.10.0
32 Requires:       hicolor-icon-theme
33 Requires:       libgweather >= 3.10.0
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}
46 %{__aclocal} -I m4
47 %{__autoconf}
48 %{__autoheader}
49 %{__automake}
50 %configure \
51         --disable-silent-rules
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %find_lang %{name} --with-gnome
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
79 %{_datadir}/appdata/gnome-clocks.appdata.xml
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
This page took 0.063463 seconds and 3 git commands to generate.