File input-utils.spec of Package input-utils
#
# spec file for package input-utils (Version 2007.06.22)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: input-utils
BuildRequires: SDL-devel linux-kernel-headers
Version: 2007.06.22
Release: 158
Provides: joystick
Obsoletes: joystick
AutoReqProv: on
Group: Hardware/Joystick
License: GPL v2 or later
Url: http://linuxconsole.sourceforge.net/input/input.html
Summary: A Set of Utilities for Input Devices
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-makefile.patch
Patch1: %{name}-on_exit.patch
Patch2: %{name}-dtor.patch
Patch3: %{name}-absset.patch
Patch4: %{name}-eviocgbit.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define programs absset evtest ffcfstress ffmvforce ffset fftest inputattach jscal jstest
%description
Utilities for input devices. It includes joystick testing and
calibration, force feedback testing, and generic event tools.
Authors:
--------
Vojtech Pavlik <vojtech@suse.cz>
%prep
%setup -q -n utils
%patch0
%patch1
%patch2
%patch3
%patch4
%build
# This package failed when testing with -Wl,-as-needed being default.
# So we disable it here, if you want to retest, just delete this comment and the line below.
export SUSE_ASNEEDED=0
make CFLAGS="$RPM_OPT_FLAGS -Wall" PROGRAMS="%{programs}"
%install
install -m755 -d $RPM_BUILD_ROOT%{_bindir}
install -m755 -t $RPM_BUILD_ROOT%{_bindir} %{programs}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/*
%changelog
* Fri Jun 19 2009 coolo@novell.com
- disable as-needed for this package as it fails to build with it
* Thu Feb 05 2009 prusnak@suse.cz
- fixed EVIOCGBIT call (eviocgbit.patch) [bnc#472773]
* Wed Jan 28 2009 prusnak@suse.cz
- added absset program (absset.patch) [bnc#468966]
* Wed Oct 29 2008 prusnak@suse.cz
- applied changes from dtor (dtor.patch)
[http://www.kernel.org/pub/linux/kernel/people/dtor/inputattach.c]
* added mtouch support [bnc#411259]
- dropped obsoleted patches:
* inputattach-update-help-text.patch (included in dtor.patch)
* add-taos-evm-support.patch (included in dtor.patch)
* Wed May 14 2008 jdelvare@suse.de
- linux-kernel-headers is required for build, it provides the
SERIO_* defines.
- Add support for the TAOS evaluation module.
* Fri Jun 22 2007 jdelvare@suse.de
- input-utils-2005.08.02-prototypes.diff: Drop the change to
fftest.c, which is no longer needed.
- Update to current SVN. This brings a fix to attachinput (286271).
- Rename input-utils-2005.08.02-prototypes.diff to
input-utils-ffmvforce-on_exit-prototype-fix.diff, polish it for
upstream submission.
- input-utils-inputattach-update-help-text.diff: Update the
inputattach help text; submitted upstream.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Aug 02 2005 mjancar@suse.cz
- update to current cvs
* Fri May 28 2004 mcihar@suse.cz
- update to current cvs
- renamed to input-utils and included more programs (see bug #40444)
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Wed Oct 30 2002 mcihar@suse.cz
- updated to latest CVS version (excluding things that work only with 2.5.x
kernels)
- jstest patch to fix cooperation with YaST
* Thu Nov 22 2001 vinil@suse.cz
- update to cvs version
- temporarily removed twiddler support because of missing
definitions in linux/serio.h (glibc-devel)
- description fixed
* Mon Nov 13 2000 ro@suse.de
- don't include linux/module.h if not needed
* Fri Jun 16 2000 vinil@suse.cz
- modules removed
- binaries are striped
- description fixed
* Tue May 23 2000 vinil@suse.cz
- buildroot and description fixed
* Tue May 09 2000 vinil@suse.cz
- update to 1.2.15
- buildroot added
* Fri Jan 21 2000 ro@suse.de
- update to 1.2.14
* Mon Dec 06 1999 ro@suse.de
- use RPM_OPT_FLAGS for CFLAGS
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Mon Nov 16 1998 ro@suse.de
- compile binaries only
* Thu Dec 11 1997 ro@suse.de
- moved usr/include/linux/joystick.h to usr/doc/packages/joystick
* Thu Oct 09 1997 ro@suse.de
- first suse version 0.8.0
kernel module will be contained in package kernmod
devices are not remade, since included in package devs