x-tile-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. Summary: gnome panel applet to select and tile windows
  2. Summary(ja): ウィンドウを整列させる Gnome パネルアプレット
  3. Name: x-tile
  4. Version: 1.6.1
  5. Release: 1%{?_dist_release}
  6. Source0: http://www.giuspen.com/software/%{name}-%{version}.tar.gz
  7. #Source1: x-tile-1.6-ja.po
  8. License: GPLv2
  9. Group: User Interface/Desktops
  10. URL: http://www.giuspen.com/x-tile/
  11. Requires: python, pygtk2, gnome-python-applet
  12. Requires(post): desktop-file-utils
  13. Requires(postun):desktop-file-utils
  14. BuildArch: noarch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Packager: kazutaka, iwaim
  17. %description
  18. X-tile is a gnome applet for your panel (or optionally a standalone
  19. application, working with kde as well) that allows you to select
  20. a number of windows and tile them in different ways.
  21. This is especially useful for comparing products in separate
  22. web pages, or for programmers refering to documentation as they
  23. are programming.
  24. %description -l ja
  25. X-tile は指定したウィンドウを様々なレイアウトで整列させられる
  26. Gnome パネルアプレットです。
  27. (*また単独のアプリケーションとしても使用できますし、KDE 上で
  28. も問題なく動作します。)
  29. このアプレットは、(例えば)複数のウェブページを比較したり、ド
  30. キュメントを参照しながらプログラミングをしたり、といった場面
  31. で役に立ちます。
  32. %prep
  33. %setup -q
  34. %build
  35. # install japanese translation
  36. #%{__mkdir_p} locale/ja/LC_MESSAGES
  37. #msgfmt %{SOURCE1} -o locale/ja/LC_MESSAGES/%{name}.mo
  38. %install
  39. %{__rm} -rf $RPM_BUILD_ROOT
  40. %{__mkdir_p} %{buildroot}/%{_bindir}
  41. %{__cp} %{name} %{buildroot}/%{_bindir}/
  42. %{__mkdir_p} %{buildroot}/%{_prefix}/lib/bonobo/servers
  43. %{__cp} linux/%{name}.server %{buildroot}/%{_prefix}/lib/bonobo/servers
  44. %{__mkdir_p} %{buildroot}/%{_datadir}/applications
  45. %{__cp} linux/%{name}.desktop %{buildroot}/%{_datadir}/applications/
  46. %{__mkdir_p} %{buildroot}/%{_datadir}/pixmaps
  47. %{__cp} linux/%{name}.svg %{buildroot}/%{_datadir}/pixmaps/
  48. %{__mkdir_p} %{buildroot}/%{_datadir}/%{name}/glade
  49. %{__cp} glade/* %{buildroot}/%{_datadir}/%{name}/glade
  50. %{__mkdir_p} %{buildroot}/%{_datadir}/%{name}/modules
  51. %{__cp} modules/* %{buildroot}/%{_datadir}/%{name}/modules
  52. %{__mkdir_p} %{buildroot}/%{_localedir}
  53. for dirname in locale/*
  54. do
  55. if [ -d $dirname ]; then
  56. %{__cp} -r $dirname %{buildroot}/%{_localedir}
  57. fi
  58. done
  59. %find_lang %{name}
  60. %post
  61. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  62. %postun
  63. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  64. %clean
  65. %{__rm} -rf $RPM_BUILD_ROOT
  66. %files -f %{name}.lang
  67. %defattr(-,root,root)
  68. %doc license
  69. %{_bindir}/%{name}
  70. %{_prefix}/lib/bonobo/servers/%{name}.server
  71. %{_datadir}/applications/%{name}.desktop
  72. %{_datadir}/pixmaps/%{name}.svg
  73. %{_datadir}/%{name}
  74. %changelog
  75. * Fri Jul 23 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.6.1-1
  76. - new upstream release
  77. - drop Source1(ja.po), merged into upstream
  78. * Mon Jul 19 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.6-2
  79. - add Source1: japanese translation (thanks iwai-san)
  80. * Fri Jul 16 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.6-1
  81. - initial build for Vine Linux