docky-vl.spec 6.4 KB

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