You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xdotool/xdotool.spec

64 lines
1.6 KiB

Name: xdotool
Version: 20090126
Release: 1%{?dist}
Summary: Fake keyboard/mouse input
Group: User Interface/X
License: BSD
URL: http://www.semicomplete.com/projects/xdotool/
Source0: http://www.semicomplete.com/files/xdotool/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-prefix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libXtst-devel, libX11-devel
%description
This tool lets you programatically (or manually) simulate keyboard input
and mouse activity, move and resize windows, etc.
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS=$RPM_OPT_FLAGS
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
#manual install
install -D -m 0755 xdotool $RPM_BUILD_ROOT%{_bindir}/xdotool
#fix permissions
chmod 0644 examples/ffsp.sh
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc CHANGELIST COPYRIGHT README
%doc examples
%{_bindir}/*
%changelog
* Wed Apr 01 2009 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 20090126-1
- New upstream release
* Mon Mar 02 2009 Caolán McNamara <caolanm@redhat.com> - 20071230-4
- add BuildRequires libX11-devel to build
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20071230-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed May 28 2008 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 20071230-2
- Add patch to fix prefix
- Add CFLAGS to %%build
* Tue May 06 2008 Sindre Pedersen Bjørdal <sindrepb@fedoraproject.org> - 20071230-1
- Initial build