diff --git a/README.md b/README.md index 34d225d..2b99850 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xsetpointer +Xsetpointer sets an XInput device up as the main pointer. When called with the -l flag it lists the available devices. + diff --git a/xsetpointer.spec b/xsetpointer.spec new file mode 100644 index 0000000..c42f776 --- /dev/null +++ b/xsetpointer.spec @@ -0,0 +1,45 @@ +Name: xsetpointer +Version: 1.0.1 +Release: 1mamba +Summary: xsetpointer - set an X Input device as the main pointer +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://xorg.freedesktop.org/ +Source: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 +License: MIT +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXi-devel +## AUTOBUILDREQ-END + +%description +Xsetpointer sets an XInput device up as the main pointer. When called with the -l flag it lists the available devices. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall DESTDIR="%{buildroot}" + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/%{name} +%{_mandir}/man?/* +%doc COPYING ChangeLog README + + +%changelog +* Sun Apr 24 2011 Tiziana Ferro 1.0.1-1mamba +- package created by autospec