1 | Summary: Clocks applications for GNOME |
---|
2 | Summary(ja): GNOME 用時計アプリケーション |
---|
3 | Name: gnome-clocks |
---|
4 | Version: 0.1.4 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2+ |
---|
7 | Group: User Interface/Deskops |
---|
8 | URL: https://live.gnome.org/GnomeClocks |
---|
9 | |
---|
10 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.1/%{name}-%{version}.tar.xz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | BuildRequires: gtk3-devel |
---|
15 | BuildRequires: pygobject3-devel |
---|
16 | BuildRequires: clutter-gtk-devel |
---|
17 | BuildRequires: libgweather-devel |
---|
18 | BuildRequires: libnotify-devel |
---|
19 | BuildRequires: python-distutils-extra |
---|
20 | |
---|
21 | Requires: gtk3 |
---|
22 | Requires: pygobject3 |
---|
23 | Requires: clutter-gtk |
---|
24 | Requires: libgweather |
---|
25 | Requires: libnotify |
---|
26 | |
---|
27 | |
---|
28 | Requires(postun,posttrans): desktop-file-utils |
---|
29 | |
---|
30 | Vendor: Project Vine |
---|
31 | Distribution: Vine Linux |
---|
32 | Packager: Takemikaduchi |
---|
33 | |
---|
34 | |
---|
35 | %description |
---|
36 | Clock application designed for GNOME 3 |
---|
37 | |
---|
38 | %description -l ja |
---|
39 | gnome-clocks は GNOME3 向けに作られた時計アプリケーションです。 |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q |
---|
43 | |
---|
44 | %build |
---|
45 | python setup.py build |
---|
46 | |
---|
47 | %install |
---|
48 | rm -rf $RPM_BUILD_ROOT |
---|
49 | |
---|
50 | python setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix} |
---|
51 | |
---|
52 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
53 | |
---|
54 | %find_lang %{name} |
---|
55 | |
---|
56 | %clean |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | |
---|
59 | %post |
---|
60 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
61 | |
---|
62 | %postun |
---|
63 | if [ $1 -eq 0 ]; then |
---|
64 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
65 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
66 | update-desktop-database -q &> /dev/null ||: |
---|
67 | fi |
---|
68 | |
---|
69 | %posttrans |
---|
70 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
71 | update-desktop-database -q &> /dev/null ||: |
---|
72 | |
---|
73 | |
---|
74 | %files -f %{name}.lang |
---|
75 | %defattr(-,root,root,-) |
---|
76 | %doc COPYING README NEWS |
---|
77 | %{_bindir}/%{name} |
---|
78 | %{python_sitelib}/gnomeclocks |
---|
79 | %{python_sitelib}/*.egg-info |
---|
80 | %{_datadir}/applications/%{name}.desktop |
---|
81 | %{_datadir}/%{name} |
---|
82 | %{_datadir}/icons/hicolor/*/*/* |
---|
83 | |
---|
84 | |
---|
85 | %changelog |
---|
86 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1 |
---|
87 | - new upstream release |
---|
88 | |
---|
89 | * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.3-1 |
---|
90 | - initial build |
---|