]> git.pld-linux.org Git - packages/xdotool.git/blame - xdotool.spec
- split (separate subpakages for shared library and headers)
[packages/xdotool.git] / xdotool.spec
CommitLineData
4d701919 1Summary: fake keyboard/mouse input
2Name: xdotool
73ebbac1 3Version: 2.20100623.2949
4Release: 0.1
4d701919 5License: BSD-like
6Group: X11/Window Managers/Tools
73ebbac1 7Source0: http://semicomplete.googlecode.com/files/%{name}-%{version}.tar.gz
8# Source0-md5: f717457e37e912642d422dacc4be7f83
4d701919 9URL: http://www.semicomplete.com/projects/xdotool/
b6a1c078 10BuildRequires: perl-tools-pod
4d701919 11BuildRequires: xorg-lib-libX11-devel
b6a1c078 12BuildRequires: xorg-lib-libXtst-devel
4d701919 13BuildRequires: xorg-proto-xextproto-devel
76278943 14Requires: %{name}-libs = %{version}-%{release}
4d701919 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18xdotool lets you programatically (or manually) simulate keyboard input
19and mouse activity, move and resize windows, etc. It does this using
20X11's XTEST extension and other Xlib functions.
21
76278943 22%package libs
23Summary: xdotool library
24Summary(pl.UTF-8): -
25Group: Libraries
26
27%description libs
28xdotool shared library.
29
30%package devel
31Summary: Header files for xdotool library
32Summary(pl.UTF-8): Pliki nagłówkowe biblioteki xdotool
33Group: Development/Libraries
34Requires: %{name}-libs = %{version}-%{release}
35
36%description devel
37Header files for xdotool library.
38
39%description devel -l pl.UTF-8
40Pliki nagłówkowe biblioteki xdotool.
41
4d701919 42%prep
73ebbac1 43%setup -q
4d701919 44
45%build
76278943 46CFLAGS="%{rpmcflags}" \
47LDFLAGS="%{rpmldflags}" \
50213d88 48%{__make} \
49 CC="%{__cc}"
4d701919 50
51%install
52rm -rf $RPM_BUILD_ROOT
50213d88 53install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}}
4d701919 54
55%{__make} install \
56 INSTALLBIN=$RPM_BUILD_ROOT%{_bindir} \
50213d88 57 INSTALLINCLUDE=$RPM_BUILD_ROOT%{_includedir} \
58 INSTALLLIB=$RPM_BUILD_ROOT%{_libdir} \
4d701919 59 INSTALLMAN=$RPM_BUILD_ROOT%{_mandir}
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
76278943 64%post libs -p /sbin/ldconfig
65%postun libs -p /sbin/ldconfig
66
4d701919 67%files
68%defattr(644,root,root,755)
69%doc COPYRIGHT CHANGELIST README examples
70%attr(755,root,root) %{_bindir}/xdotool
71%{_mandir}/man1/xdotool.1*
76278943 72
73%files libs
74%attr(755,root,root) %{_libdir}/libxdo.so.2
75
76%files devel
77%attr(755,root,root) %{_libdir}/libxdo.so
50213d88 78%{_includedir}/xdo.h
This page took 0.227147 seconds and 4 git commands to generate.