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