source: projects/specs/trunk/g/gnome-clocks/gnome-clocks-vl.spec @ 6951

Revision 6951, 2.0 KB checked in by Takemikaduchi, 12 years ago (diff)

GNOME-3.6.1

Line 
1Summary:        Clocks applications for GNOME
2Summary(ja):    GNOME 用時計アプリケーション
3Name:           gnome-clocks
4Version:        0.1.4
5Release:        1%{?_dist_release}
6License:        GPLv2+
7Group:          User Interface/Deskops
8URL:            https://live.gnome.org/GnomeClocks
9
10Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.1/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  gtk3-devel
15BuildRequires:  pygobject3-devel
16BuildRequires:  clutter-gtk-devel
17BuildRequires:  libgweather-devel
18BuildRequires:  libnotify-devel
19BuildRequires:  python-distutils-extra
20
21Requires:       gtk3
22Requires:       pygobject3
23Requires:       clutter-gtk
24Requires:       libgweather
25Requires:       libnotify
26
27
28Requires(postun,posttrans):     desktop-file-utils
29
30Vendor:         Project Vine
31Distribution:   Vine Linux
32Packager:       Takemikaduchi
33
34
35%description
36Clock application designed for GNOME 3
37
38%description -l ja
39gnome-clocks は GNOME3 向けに作られた時計アプリケーションです。
40
41%prep
42%setup -q
43
44%build
45python setup.py build
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50python setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
51
52rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
53
54%find_lang %{name}
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%post
60touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
61
62%postun
63if [ $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 ||:
67fi
68
69%posttrans
70gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
71update-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
Note: See TracBrowser for help on using the repository browser.