docky-vl.spec 4.9 KB

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