46 lines
1.4 KiB
RPMSpec
46 lines
1.4 KiB
RPMSpec
|
Name: xsetmode
|
||
|
Version: 1.0.0
|
||
|
Release: 1mamba
|
||
|
Summary: xsetmode - set the mode for an X Input device
|
||
|
Group: Graphical Desktop/Applications/Utilities
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Tiziana Ferro <tiziana.ferro@email.it>
|
||
|
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
|
||
|
Xsetmode sets the mode of an XInput device to either absolute or relative. This isn't appropriate for all device types.
|
||
|
|
||
|
%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 <tiziana.ferro@email.it> 1.0.0-1mamba
|
||
|
- package created by autospec
|