docky-vl.spec 5.1 KB

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