[1518] | 1 | %define pyver %(python -c 'import sys;print(sys.version[0:3])') |
---|
| 2 | %define pysite %{_libdir}/python%{pyver}/site-packages |
---|
| 3 | |
---|
| 4 | Summary: Dock application for GNOME |
---|
| 5 | Summary(ja): GNOME 向けのドックアプリケーション |
---|
| 6 | Name: docky |
---|
| 7 | Version: 2.0.5 |
---|
[1561] | 8 | Release: 2%{?_dist_release} |
---|
[1518] | 9 | Source0: http://launchpad.net/docky/2.0/2.0.5/+download/%{name}-%{version}.tar.gz |
---|
| 10 | Source1: docky-2.0.5-ja.po |
---|
| 11 | Patch1: docky-2.0.5-clock-date-format.patch |
---|
| 12 | License: GPLv3 |
---|
| 13 | Group: Applications/Accessories |
---|
| 14 | URL: http://www.go-docky.com/ |
---|
| 15 | |
---|
| 16 | Requires(post): desktop-file-utils |
---|
| 17 | Requires(postun):desktop-file-utils |
---|
| 18 | BuildRequires: python |
---|
| 19 | BuildRequires: gtk2-devel |
---|
| 20 | BuildRequires: GConf2 |
---|
| 21 | BuildRequires: gtk-sharp2-gapi |
---|
| 22 | BuildRequires: gconf-sharp2 |
---|
| 23 | BuildRequires: gtk-sharp2 |
---|
| 24 | BuildRequires: gnome-desktop-sharp2 |
---|
| 25 | BuildRequires: gnome-keyring-sharp-devel |
---|
| 26 | BuildRequires: gnome-sharp2 |
---|
| 27 | BuildRequires: gnome-vfs-sharp2 |
---|
| 28 | BuildRequires: rsvg2-sharp |
---|
| 29 | BuildRequires: notify-sharp-devel |
---|
| 30 | BuildRequires: wnck-sharp |
---|
| 31 | BuildRequires: mono-addins |
---|
| 32 | BuildRequires: mono-core |
---|
| 33 | BuildRequires: mono-devel |
---|
| 34 | BuildRequires: ndesk-dbus-glib |
---|
| 35 | BuildRequires: ndesk-dbus |
---|
| 36 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 37 | |
---|
| 38 | Packager: kazutaka |
---|
| 39 | |
---|
| 40 | %description |
---|
| 41 | Docky is a full fledged dock application that makes opening common applications |
---|
| 42 | and managing windows easier and quicker. Docky is fully integrated into the GNOME |
---|
| 43 | Desktop and features a no non-sense approach to configuration and usage. |
---|
| 44 | |
---|
| 45 | %description -l ja |
---|
| 46 | Docky はアプリケーションの実行やウィンドウの操作を簡単かつ素早く実行できる、 |
---|
| 47 | 十分な機能を備えたドックアプリケーションです。Docky は GNOME デスクトップ |
---|
| 48 | 環境と密接に統合されており、直感的に使えるようにデザインされています。 |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %prep |
---|
| 52 | %setup -q |
---|
| 53 | %patch1 -p1 -b .clock-date-format |
---|
| 54 | %{__cp} %{SOURCE1} po/ja.po |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %build |
---|
| 58 | %configure |
---|
| 59 | %{__make} %{?_smp_mflags} |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %install |
---|
| 63 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 64 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
| 65 | %find_lang %{name} |
---|
| 66 | |
---|
| 67 | %post |
---|
| 68 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 69 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 70 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 71 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||: |
---|
| 72 | fi |
---|
| 73 | |
---|
| 74 | %postun |
---|
| 75 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 76 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 77 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 78 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||: |
---|
| 79 | fi |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | %clean |
---|
| 83 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | %files -f %{name}.lang |
---|
| 87 | %defattr(-,root,root) |
---|
| 88 | %doc |
---|
| 89 | %{_sysconfdir}/xdg/autostart/%{name}.desktop |
---|
| 90 | %{_bindir}/%{name} |
---|
| 91 | %{_libdir}/%{name} |
---|
| 92 | %{_libdir}/pkgconfig/%{name}.* |
---|
[1561] | 93 | #%{pysite}/%name |
---|
| 94 | %{python_sitelib}/%name |
---|
[1518] | 95 | %{_datadir}/applications/%{name}.desktop |
---|
| 96 | %{_datadir}/%{name} |
---|
| 97 | %{_datadir}/icons/hicolor/16x16/apps/%{name}.svg |
---|
| 98 | %{_datadir}/icons/hicolor/22x22/apps/%{name}.svg |
---|
| 99 | %{_datadir}/icons/hicolor/24x24/apps/%{name}.svg |
---|
| 100 | %{_datadir}/icons/hicolor/32x32/apps/%{name}.svg |
---|
| 101 | %{_datadir}/icons/hicolor/48x48/apps/%{name}.svg |
---|
| 102 | %{_datadir}/icons/hicolor/48x48/mimetypes/extension.svg |
---|
| 103 | %{_datadir}/icons/hicolor/64x64/apps/%{name}.svg |
---|
| 104 | %{_datadir}/icons/hicolor/128x128/apps/%{name}.svg |
---|
| 105 | %{_datadir}/icons/hicolor/128x128/apps/gmail.png |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | %changelog |
---|
[1561] | 109 | * Fri Aug 13 2010 Shu KONNO <owa@bg.wakwak.com> 2.0.5-2 |
---|
| 110 | - fixed python2.6/site-package path in %%files |
---|
| 111 | |
---|
[1518] | 112 | * Sat Aug 07 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.0.5-1 |
---|
| 113 | - initial build for Vine Linux |
---|
| 114 | - add Patch1: modify date/time format to make them translatable |
---|
| 115 | - add Source1: updated japanese translation |
---|
| 116 | |
---|