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