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