guake-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Summary: Drop-down terminal for GNOME Desktop Environment
  2. Summary(ja): GNOME 用のドロップダウン式の端末エミュレータ
  3. Name: guake
  4. Version: 0.4.1
  5. Release: 1%{?_dist_release}
  6. Source0: %{name}-%{version}.tar.gz
  7. Source1: guake-0.4.1-ja.po
  8. License: GPLv2+
  9. Group: Applications/Accessories
  10. URL: http://guake.org/
  11. Requires(pre): GConf2
  12. Requires(post): GConf2
  13. Requires(preun):GConf2
  14. BuildRequires: python, python-devel
  15. BuildRequires: gtk2-devel, pygtk2-devel
  16. BuildRequires: vte, GConf2-devel, libffi-devel
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Packager: kazutaka
  19. %description
  20. Guake is a dropdown terminal made for the GNOME desktop environment.
  21. Its style of window is based on an fps games, and one of its goals
  22. is be easy to reach.
  23. %description -l ja
  24. Guake は GNOME デスクトップ環境向けに開発されたドロップダウン
  25. 形の端末です。
  26. FPS ゲーム用端末と同じスタイルを採用しており、素早く利用できる、
  27. というのがこのプログラムのゴールの一つです。
  28. %prep
  29. %setup -q
  30. %{__cp} %{SOURCE1} po/ja.po
  31. %build
  32. %configure --disable-static \
  33. --disable-schemas-install
  34. %{__make} %{?_smp_mflags}
  35. %install
  36. %{__rm} -rf $RPM_BUILD_ROOT
  37. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  38. %find_lang %{name}
  39. %pre
  40. # uninstall old schemas before update
  41. if [ "$1" -gt 1 ]; then
  42. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  43. gconftool-2 --makefile-uninstall-rule \
  44. %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null ||:
  45. fi
  46. %post
  47. update-desktop-database &>/dev/null || :
  48. # install schemas after install/update
  49. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  50. gconftool-2 --makefile-install-rule \
  51. %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null ||:
  52. %preun
  53. # uninstall schemas before clean remove
  54. if [ "$1" -eq 0 ]; then
  55. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  56. gconftool-2 --makefile-uninstall-rule \
  57. %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null;
  58. fi
  59. %postun
  60. update-desktop-database &>/dev/null || :
  61. %clean
  62. %{__rm} -rf $RPM_BUILD_ROOT
  63. %files -f %{name}.lang
  64. %defattr(-,root,root)
  65. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
  66. %{_bindir}/%{name}
  67. %{_bindir}/%{name}-prefs
  68. %{_datadir}/%{name}
  69. %{_datadir}/applications/%{name}-prefs.desktop
  70. %{_datadir}/applications/%{name}.desktop
  71. %{_datadir}/dbus-1/services/org.gnome.Guake.service
  72. %{_datadir}/pixmaps/%{name}
  73. %{_libdir}/%{name}
  74. %{_mandir}/man1/guake.1*
  75. %{_sysconfdir}/gconf/schemas/%{name}.schemas
  76. %{_sysconfdir}/xdg/autostart/%{name}.desktop
  77. %changelog
  78. * Sat Jul 17 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.4.1-1
  79. - initial build for Vine Linux
  80. - add Source1: updated japanese translation (ja.po)