xdotool-vl.spec 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. # Basic Information
  2. Name: xdotool
  3. Version: 2.20110530.1
  4. Release: 2%{?_dist_release}
  5. License: BSD
  6. Group: Development/Tools
  7. URL: http://www.semicomplete.com/projects/xdotool/
  8. Source0: http://semicomplete.googlecode.com/files/xdotool-2.20110530.1.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. Packager: yasumichi
  13. Summary: simulate keyboard input and mouse activity
  14. Summary(ja): キーボード入力とマウス操作を模擬する
  15. # Dependency
  16. BuildRequires: libX11-devel
  17. BuildRequires: libXinerama-devel
  18. BuildRequires: libXtst-devel
  19. %description
  20. This tool lets you simulate keyboard input and mouse activity, move and
  21. resize windows, etc. It does this using X11's XTEST extension and other Xlib
  22. functions.
  23. Additionally, you can search for windows and move, resize, hide, and modify
  24. window properties like the title. If your window manager supports it, you
  25. can use xdotool to switch desktops, move windows between desktops, and
  26. change the number of desktops.
  27. %description -l ja
  28.  このツールを使えば、キーボード入力やウィンドウの移動やリサイズなどのマウス
  29. の操作を模擬できます。これは、X11 の XTEST 拡張やその他の Xlib 関数を利用す
  30. ることにより実現しています。
  31.  追加として、ウィンドウの検索や移動、リサイズ、隠蔽およびタイトルの変更のよ
  32. うなウィンドウの属性変更などが可能です。お使いのウィンドウマネージャーがサポ
  33. ートしていれば、xdotool を利用してデスクトップを切り替えたり、デスクトップ間
  34. でウィンドウを移動したり、デスクトップの番号を変更できます。
  35. %package devel
  36. Summary: Development enviroment for libxdo
  37. Summary(ja): libxdo の開発環境
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. Requires: libX11-devel
  41. Requires: libXinerama-devel
  42. Requires: libXtst-devel
  43. %description devel
  44. Header file and libraries for using libxdo.
  45. %description -l ja devel
  46. libxdo を使うためのヘッダファイルとライブラリ
  47. %prep
  48. %setup -q
  49. %build
  50. %{__make} %{?_smp_mflags} PREFIX=/usr INSTALLLIB=%{_libdir} INSTALLMAN=%{_mandir}
  51. %install
  52. %{__rm} -rf ${RPM_BUILD_ROOT}
  53. %{__make} install DESTDIR=${RPM_BUILD_ROOT} PREFIX=/usr INSTALLLIB=%{_libdir} \
  54. INSTALLMAN=%{_mandir}
  55. #%%find_lang %{name}
  56. %clean
  57. %{__rm} -rf ${RPM_BUILD_ROOT}
  58. #%%files -f %{name}.lang
  59. %files
  60. %defattr(-,root,root)
  61. %doc CHANGELIST COPYRIGHT README
  62. %{_bindir}/xdotool
  63. %{_libdir}/libxdo.so.2
  64. %{_mandir}/man1/xdotool.1.gz
  65. %files devel
  66. %defattr(-, root, root)
  67. %{_includedir}/xdo.h
  68. %{_libdir}/libxdo.so
  69. %changelog
  70. * Tue Aug 12 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.20110530.1-2
  71. - rebuild with current VineSeed enviroment
  72. * Thu Sep 15 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.20110530.1-1
  73. - initial build for Vine Linux