File xautomation.spec of Package xautomation
# norootforbuild
%define _prefix /usr
Name: xautomation
Version: 0.96
Release: 1OS102DSB
Summary: Tools to automate tasks in X.
Source0: %{name}-%{version}.tar.gz
URL: http://hoopajoo.net/projects/xautomation.html
Packager: Donnie S Bhayangkara - http://donnie.110mb.com
Group: System/X11/Utilities
License: GPL
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: autoconf automake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: xorg-x11-devel >= 6.8
%if %suse_version >= 1020
BuildRequires: xorg-x11-libX11-devel >= 6.8
%endif
BuildRequires: libpng-devel
Requires: libpng
%description
Tools to automate tasks in X, even detecting on screen images.
%if %suse_version >= 930
%debug_package
%endif
%prep
%setup -q
%build
%configure
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
find %{buildroot} -type f -o -type l | sed "s|^%{buildroot}||" >master.list
%if %suse_version < 930
%__strip "%{buildroot}%{_bindir}"/*
%endif
%clean
%__rm -rf "%{buildroot}"
%files -f master.list
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING INSTALL README
%changelog
* Mon Feb 5 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.96
- change BuildRequires: gcc >= 4, gcc-c++ >=4 to BuildRequires: gcc, gcc-c++
* Thu Dec 21 2006 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.96
- initial Release