]> git.pld-linux.org Git - packages/gnome-clocks.git/blob - gnome-clocks.spec
Initial release
[packages/gnome-clocks.git] / gnome-clocks.spec
1 Summary:        Clocks applications for GNOME
2 Name:           gnome-clocks
3 Version:        3.8.0
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
8 # Source0-md5:  6d0c387c1f11b30cb91fbe43e54d3d63
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}
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %find_lang %{name}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post
57 %update_icon_cache hicolor
58 %update_icon_cache HighContrast
59 %glib_compile_schemas
60
61 %postun
62 %update_icon_cache hicolor
63 %update_icon_cache HighContrast
64 %glib_compile_schemas
65
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc AUTHORS NEWS README
69 %attr(755,root,root) %{_bindir}/gnome-clocks
70 %{_datadir}/gnome-clocks
71 %{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml
72 %{_desktopdir}/gnome-clocks.desktop
73 %{_iconsdir}/HighContrast/*/*/*.png
74 %{_iconsdir}/hicolor/*/*/*.png
This page took 0.076466 seconds and 3 git commands to generate.