| 1 | %define build_vine5 0 |
|---|
| 2 | |
|---|
| 3 | %if "%{?_dist_release}" == "vl5" |
|---|
| 4 | %define build_vine5 1 |
|---|
| 5 | %endif |
|---|
| 6 | |
|---|
| 7 | Summary: Dock application for GNOME |
|---|
| 8 | Summary(ja): GNOME 向けのドックアプリケーション |
|---|
| 9 | Name: docky |
|---|
| 10 | Version: 2.1.2 |
|---|
| 11 | Release: 1%{?_dist_release} |
|---|
| 12 | Source0: http://launchpad.net/docky/2.1/2.1.0/+download/%{name}-%{version}.tar.bz2 |
|---|
| 13 | Source1: docky-2.1.0-ja.po |
|---|
| 14 | Patch1: docky-2.0.5-clock-date-format.patch |
|---|
| 15 | License: GPLv3 |
|---|
| 16 | Group: Applications/Accessories |
|---|
| 17 | URL: http://www.go-docky.com/ |
|---|
| 18 | |
|---|
| 19 | Requires: gconf-sharp2 |
|---|
| 20 | Requires: gnome-keyring-sharp |
|---|
| 21 | Requires: mono-web |
|---|
| 22 | Requires: rsvg2-sharp |
|---|
| 23 | Requires: dockmanager |
|---|
| 24 | Requires(post): desktop-file-utils |
|---|
| 25 | Requires(postun):desktop-file-utils |
|---|
| 26 | BuildRequires: python |
|---|
| 27 | BuildRequires: gtk2-devel |
|---|
| 28 | BuildRequires: GConf2-devel |
|---|
| 29 | BuildRequires: dbus-sharp-devel |
|---|
| 30 | BuildRequires: dbus-sharp-glib-devel |
|---|
| 31 | BuildRequires: gtk-sharp2-gapi |
|---|
| 32 | BuildRequires: gconf-sharp2 |
|---|
| 33 | BuildRequires: gio-sharp-devel |
|---|
| 34 | BuildRequires: gtk-sharp2 |
|---|
| 35 | BuildRequires: gnome-desktop-sharp2 |
|---|
| 36 | BuildRequires: gnome-keyring-sharp-devel |
|---|
| 37 | BuildRequires: gnome-sharp2 |
|---|
| 38 | BuildRequires: gnome-vfs-sharp2 |
|---|
| 39 | BuildRequires: rsvg2-sharp |
|---|
| 40 | BuildRequires: notify-sharp-devel |
|---|
| 41 | BuildRequires: wnck-sharp |
|---|
| 42 | BuildRequires: mono-addins |
|---|
| 43 | BuildRequires: mono-core |
|---|
| 44 | BuildRequires: mono-devel |
|---|
| 45 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 46 | |
|---|
| 47 | Packager: kazutaka |
|---|
| 48 | |
|---|
| 49 | %description |
|---|
| 50 | Docky is a full fledged dock application that makes opening common applications |
|---|
| 51 | and managing windows easier and quicker. Docky is fully integrated into the GNOME |
|---|
| 52 | Desktop and features a no non-sense approach to configuration and usage. |
|---|
| 53 | |
|---|
| 54 | %description -l ja |
|---|
| 55 | Docky はアプリケーションの実行やウィンドウの操作を簡単かつ素早く実行できる、 |
|---|
| 56 | 十分な機能を備えたドックアプリケーションです。Docky は GNOME デスクトップ |
|---|
| 57 | 環境と密接に統合されており、直感的に使えるようにデザインされています。 |
|---|
| 58 | |
|---|
| 59 | |
|---|
| 60 | %prep |
|---|
| 61 | %setup -q |
|---|
| 62 | %patch1 -p1 -b .clock-date-format |
|---|
| 63 | %{__cp} %{SOURCE1} po/ja.po |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | %build |
|---|
| 67 | %configure |
|---|
| 68 | %{__make} %{?_smp_mflags} |
|---|
| 69 | |
|---|
| 70 | |
|---|
| 71 | %install |
|---|
| 72 | %{__rm} -rf $RPM_BUILD_ROOT |
|---|
| 73 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 74 | %find_lang %{name} |
|---|
| 75 | |
|---|
| 76 | %post |
|---|
| 77 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
|---|
| 78 | touch --no-create %{_datadir}/icons/hicolor |
|---|
| 79 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
|---|
| 80 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||: |
|---|
| 81 | fi |
|---|
| 82 | |
|---|
| 83 | %postun |
|---|
| 84 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
|---|
| 85 | touch --no-create %{_datadir}/icons/hicolor |
|---|
| 86 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
|---|
| 87 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||: |
|---|
| 88 | fi |
|---|
| 89 | |
|---|
| 90 | |
|---|
| 91 | %clean |
|---|
| 92 | %{__rm} -rf $RPM_BUILD_ROOT |
|---|
| 93 | |
|---|
| 94 | |
|---|
| 95 | %files -f %{name}.lang |
|---|
| 96 | %defattr(-,root,root) |
|---|
| 97 | %doc |
|---|
| 98 | #%{_sysconfdir}/xdg/autostart/%{name}.desktop |
|---|
| 99 | %{_sysconfdir}/gconf/schemas/%{name}.schemas |
|---|
| 100 | %{_bindir}/%{name} |
|---|
| 101 | %{_libdir}/%{name} |
|---|
| 102 | %{_libdir}/pkgconfig/%{name}.* |
|---|
| 103 | %{_datadir}/applications/%{name}.desktop |
|---|
| 104 | %{_datadir}/%{name} |
|---|
| 105 | %{_datadir}/icons/hicolor/16x16/apps/%{name}.svg |
|---|
| 106 | %{_datadir}/icons/hicolor/22x22/apps/%{name}.svg |
|---|
| 107 | %{_datadir}/icons/hicolor/24x24/apps/%{name}.svg |
|---|
| 108 | %{_datadir}/icons/hicolor/32x32/apps/%{name}.svg |
|---|
| 109 | %{_datadir}/icons/hicolor/48x48/apps/%{name}.svg |
|---|
| 110 | %{_datadir}/icons/hicolor/48x48/mimetypes/extension.svg |
|---|
| 111 | %{_datadir}/icons/hicolor/64x64/apps/%{name}.svg |
|---|
| 112 | %{_datadir}/icons/hicolor/128x128/apps/%{name}.svg |
|---|
| 113 | %{_datadir}/icons/hicolor/128x128/apps/gmail.png |
|---|
| 114 | %{_mandir}/man1/%{name}.1* |
|---|
| 115 | |
|---|
| 116 | |
|---|
| 117 | %changelog |
|---|
| 118 | * Thu Apr 14 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.2-1 |
|---|
| 119 | - new upstream release. |
|---|
| 120 | |
|---|
| 121 | * Wed Apr 13 2011 Shu KONNO <owa@bg.wakwak.com> 2.1.1-2 |
|---|
| 122 | - rebuilt with new dbus-sharp, dbus-sharp-glib |
|---|
| 123 | |
|---|
| 124 | * Mon Mar 14 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 2.1.1-1 |
|---|
| 125 | - new upstream release |
|---|
| 126 | - drop /etc/xdg/autostart/docky.desktop (upstream change) |
|---|
| 127 | - Requires: dockmanager |
|---|
| 128 | |
|---|
| 129 | * Thu Feb 17 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 2.1.0-1 |
|---|
| 130 | - new upstream release |
|---|
| 131 | - add BuildRequires: gio-sharp-devel, dbu-sharp-devel, |
|---|
| 132 | dbus-sharp-glib2-devel |
|---|
| 133 | - drop BuildRequires: ndesk-dbus, ndesk-dbus-glib |
|---|
| 134 | - drop python dependencies (upstream change) |
|---|
| 135 | - update Source1 (japanese translation) |
|---|
| 136 | |
|---|
| 137 | * Mon Jan 03 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 2.0.9-1 |
|---|
| 138 | - new upstream release |
|---|
| 139 | - update Source1 (japanese translation) |
|---|
| 140 | - drop patch2 (fixed in upstream) |
|---|
| 141 | |
|---|
| 142 | * Wed Oct 13 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.0.7-2 |
|---|
| 143 | - add build_vine5 conditional macro (don't apply patch2 on Vine 5) |
|---|
| 144 | - add Requires: gconf-sharp2, gnome-keyring-sharp, mono-web, rsvg2-sharp |
|---|
| 145 | |
|---|
| 146 | * Mon Oct 11 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.0.7-1 |
|---|
| 147 | - new upstream release |
|---|
| 148 | - build with mono-2.8 (VineSeed) |
|---|
| 149 | - add Patch2 to drop dependency mono.getoptions (VineSeed) |
|---|
| 150 | |
|---|
| 151 | * Thu Sep 09 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.0.6-1 |
|---|
| 152 | - new upstream release |
|---|
| 153 | |
|---|
| 154 | * Fri Aug 13 2010 Shu KONNO <owa@bg.wakwak.com> 2.0.5-2 |
|---|
| 155 | - fixed python2.6/site-package path in %%files |
|---|
| 156 | |
|---|
| 157 | * Sat Aug 07 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.0.5-1 |
|---|
| 158 | - initial build for Vine Linux |
|---|
| 159 | - add Patch1: modify date/time format to make them translatable |
|---|
| 160 | - add Source1: updated japanese translation |
|---|
| 161 | |
|---|