1 | Summary: Advanced dock application written in Mono |
---|
2 | Summary(ja): Mono で作成された高度なドックアプリケーション |
---|
3 | Name: docky |
---|
4 | Version: 2.2.0 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv3 |
---|
8 | Group: User Interface/Desktops |
---|
9 | URL: http://www.go-docky.com/ |
---|
10 | |
---|
11 | Source0: http://launchpad.net/docky/2.1/2.2.0/+download/%{name}-%{version}.tar.xz |
---|
12 | Source1: docky-2.2.0-ja.po |
---|
13 | |
---|
14 | Patch1: docky-2.0.5-clock-date-format.patch |
---|
15 | # Vine Patch |
---|
16 | # ad-hoc patch to build with dbus-sharp 0.8.0 |
---|
17 | Patch100: docky-2.1.2-dbussharp2.patch |
---|
18 | |
---|
19 | BuildArch: noarch |
---|
20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
21 | BuildRequires: GConf2-devel |
---|
22 | BuildRequires: autoconf |
---|
23 | BuildRequires: dbus-sharp-devel |
---|
24 | BuildRequires: dbus-sharp-glib-devel |
---|
25 | BuildRequires: gconf-sharp2-devel |
---|
26 | BuildRequires: gio-sharp-devel |
---|
27 | BuildRequires: gnome-desktop-sharp2-devel |
---|
28 | BuildRequires: gnome-keyring-sharp-devel |
---|
29 | BuildRequires: gnome-sharp2-devel |
---|
30 | BuildRequires: gnome-vfs-sharp2-devel |
---|
31 | BuildRequires: gtk-sharp2-devel |
---|
32 | BuildRequires: gtk-sharp2-gapi |
---|
33 | BuildRequires: gtk2-devel >= 2.14.3 |
---|
34 | BuildRequires: mono-addins-devel |
---|
35 | BuildRequires: mono-core |
---|
36 | BuildRequires: mono-devel |
---|
37 | BuildRequires: notify-sharp-devel |
---|
38 | BuildRequires: python |
---|
39 | BuildRequires: rsvg2-sharp-devel |
---|
40 | BuildRequires: wnck-sharp-devel |
---|
41 | Requires: gconf-sharp2 |
---|
42 | Requires: gnome-keyring-sharp |
---|
43 | Requires: mono-web |
---|
44 | Requires: rsvg2-sharp |
---|
45 | Requires: dockmanager |
---|
46 | Requires(post): desktop-file-utils |
---|
47 | Requires(post): GConf2 |
---|
48 | Requires(preun): GConf2 |
---|
49 | Requires(postun):desktop-file-utils |
---|
50 | Provides: %{name}-devel = %{version}-%{release} |
---|
51 | |
---|
52 | Distribution: Vine Linux |
---|
53 | Vendor: Project Vine |
---|
54 | Packager: kazutaka |
---|
55 | |
---|
56 | %description |
---|
57 | Docky is an advanced shortcut bar that sits at the bottom, top, and/or sides |
---|
58 | of your screen. It provides easy access to some of the files, folders, |
---|
59 | and applications on your computer, displays which applications are |
---|
60 | currently running, holds windows in their minimized state, and more. |
---|
61 | |
---|
62 | %description -l ja |
---|
63 | Docky はスクリーンの下部、上部、側面に配置できる高度なショートカットバーです。 |
---|
64 | コンピュータ内のファイル、フォルダ、アプリケーションへの簡単なアクセスを提供 |
---|
65 | すると共に、アプリケーションの現在の実行状態を表示します。 |
---|
66 | |
---|
67 | %prep |
---|
68 | %setup -q |
---|
69 | %patch1 -p1 -b .clock-date-format |
---|
70 | %patch100 -p1 -b .dbussharp2 |
---|
71 | %{__cp} %{SOURCE1} po/ja.po |
---|
72 | |
---|
73 | %build |
---|
74 | autoreconf -fiv |
---|
75 | |
---|
76 | %configure \ |
---|
77 | --libdir=%{_prefix}/lib \ |
---|
78 | --disable-schemas-install |
---|
79 | |
---|
80 | %{__make} %{?_smp_mflags} |
---|
81 | |
---|
82 | |
---|
83 | %install |
---|
84 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
85 | |
---|
86 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
87 | |
---|
88 | %{__make} install \ |
---|
89 | DESTDIR=$RPM_BUILD_ROOT \ |
---|
90 | libdir=%{_prefix}/lib \ |
---|
91 | pkgconfigdir=%{_datadir}/pkgconfig |
---|
92 | |
---|
93 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
94 | |
---|
95 | %find_lang %{name} |
---|
96 | |
---|
97 | %post |
---|
98 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
99 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
100 | gconftool-2 --makefile-install-rule \ |
---|
101 | %{_sysconfdir}/gconf/schemas/docky.schemas > /dev/null |
---|
102 | |
---|
103 | touch --no-create %{_datadir}/icons/hicolor |
---|
104 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
105 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||: |
---|
106 | fi |
---|
107 | |
---|
108 | %preun |
---|
109 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
110 | gconftool-2 --makefile-uninstall-rule \ |
---|
111 | %{_sysconfdir}/gconf/schemas/docky.schemas >/dev/null; |
---|
112 | |
---|
113 | %postun |
---|
114 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
115 | touch --no-create %{_datadir}/icons/hicolor |
---|
116 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
117 | /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||: |
---|
118 | fi |
---|
119 | |
---|
120 | |
---|
121 | %clean |
---|
122 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
123 | |
---|
124 | |
---|
125 | %files -f %{name}.lang |
---|
126 | %defattr(-,root,root) |
---|
127 | %doc AUTHORS COPYING COPYRIGHT NEWS |
---|
128 | %{_sysconfdir}/gconf/schemas/%{name}.schemas |
---|
129 | %{_bindir}/%{name} |
---|
130 | %{_prefix}/lib/%{name} |
---|
131 | %{_datadir}/applications/%{name}.desktop |
---|
132 | %{_datadir}/%{name} |
---|
133 | %{_datadir}/icons/hicolor/16x16/apps/%{name}.svg |
---|
134 | %{_datadir}/icons/hicolor/22x22/apps/%{name}.svg |
---|
135 | %{_datadir}/icons/hicolor/24x24/apps/%{name}.svg |
---|
136 | %{_datadir}/icons/hicolor/32x32/apps/%{name}.svg |
---|
137 | %{_datadir}/icons/hicolor/48x48/apps/%{name}.svg |
---|
138 | %{_datadir}/icons/hicolor/48x48/mimetypes/extension.svg |
---|
139 | %{_datadir}/icons/hicolor/64x64/apps/%{name}.svg |
---|
140 | %{_datadir}/icons/hicolor/128x128/apps/%{name}.svg |
---|
141 | %{_datadir}/icons/hicolor/128x128/apps/gmail.png |
---|
142 | %{_mandir}/man1/%{name}.1* |
---|
143 | # devel |
---|
144 | %{_datadir}/pkgconfig/%{name}.* |
---|
145 | |
---|
146 | |
---|
147 | %changelog |
---|
148 | * Wed Apr 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.0-1 |
---|
149 | - updated to 2.2.0 |
---|
150 | - built with mono 3.12.1 |
---|
151 | - changed BuildArch to noarch |
---|
152 | - fixed spec file to execute gconftool-2 at install/uninstall |
---|
153 | |
---|
154 | * Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.1.2-3 |
---|
155 | - added Patch100 to build with dbus-sharp 0.8.1 and dbus-shar-glib 0.6.0 |
---|
156 | - moved to User Interface/Desktops Group |
---|
157 | |
---|
158 | * Tue Jan 1 2013 IWAI, Masaharu <iwai@alib.jp> 2.1.2-2 |
---|
159 | - build with mono-addins 0.6.2-2 |
---|
160 | - add BuildRequires: mono-addins-devel |
---|
161 | - add Vendor and Distribution tags |
---|
162 | |
---|
163 | * Thu Apr 14 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.2-1 |
---|
164 | - new upstream release. |
---|
165 | |
---|
166 | * Wed Apr 13 2011 Shu KONNO <owa@bg.wakwak.com> 2.1.1-2 |
---|
167 | - rebuilt with new dbus-sharp, dbus-sharp-glib |
---|
168 | |
---|
169 | * Mon Mar 14 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 2.1.1-1 |
---|
170 | - new upstream release |
---|
171 | - drop /etc/xdg/autostart/docky.desktop (upstream change) |
---|
172 | - Requires: dockmanager |
---|
173 | |
---|
174 | * Thu Feb 17 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 2.1.0-1 |
---|
175 | - new upstream release |
---|
176 | - add BuildRequires: gio-sharp-devel, dbu-sharp-devel, |
---|
177 | dbus-sharp-glib2-devel |
---|
178 | - drop BuildRequires: ndesk-dbus, ndesk-dbus-glib |
---|
179 | - drop python dependencies (upstream change) |
---|
180 | - update Source1 (japanese translation) |
---|
181 | |
---|
182 | * Mon Jan 03 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 2.0.9-1 |
---|
183 | - new upstream release |
---|
184 | - update Source1 (japanese translation) |
---|
185 | - drop patch2 (fixed in upstream) |
---|
186 | |
---|
187 | * Wed Oct 13 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.0.7-2 |
---|
188 | - add build_vine5 conditional macro (don't apply patch2 on Vine 5) |
---|
189 | - add Requires: gconf-sharp2, gnome-keyring-sharp, mono-web, rsvg2-sharp |
---|
190 | |
---|
191 | * Mon Oct 11 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.0.7-1 |
---|
192 | - new upstream release |
---|
193 | - build with mono-2.8 (VineSeed) |
---|
194 | - add Patch2 to drop dependency mono.getoptions (VineSeed) |
---|
195 | |
---|
196 | * Thu Sep 09 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.0.6-1 |
---|
197 | - new upstream release |
---|
198 | |
---|
199 | * Fri Aug 13 2010 Shu KONNO <owa@bg.wakwak.com> 2.0.5-2 |
---|
200 | - fixed python2.6/site-package path in %%files |
---|
201 | |
---|
202 | * Sat Aug 07 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 2.0.5-1 |
---|
203 | - initial build for Vine Linux |
---|
204 | - add Patch1: modify date/time format to make them translatable |
---|
205 | - add Source1: updated japanese translation |
---|
206 | |
---|