File x11-input-evtouch.spec of Package x11-input-evtouch
#
# spec file for package x11-input-evtouch (Version 0.8.7)
#
# Copyright (c) 2008 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: x11-input-evtouch
BuildRequires: Mesa-devel pkgconfig xorg-x11-proto-devel xorg-x11-server-sdk
Url: http://stz-softwaretechnik.com/~ke/touchscreen/evtouch.html
Version: 0.8.7
Release: 2
License: LGPL v2.1 only
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/X11/Servers/XF86_4
Summary: X.Org input evtouch driver
Source: xf86-input-evtouch-%{version}.tar.bz2
Patch0: evtouch-fix-gcc4.3_v2.diff
Patch1: evtouch-dont_include_xf86_ansic_h.patch
Patch2: evtouch-misc-fixes.patch
Patch3: evtouch-20080829-add_IDEACO_IDC_6680_Touchscreen_to_udev.diff
Patch4: evtouch-20080901-add_another_Panjit_touchset_device.diff
Patch5: evtouch-20081023-fix-compiler_warning.diff
%description
This package contains the X.Org evtouch input drivers.
Authors:
--------
Kenan Esau <kenan.esau@conan.de>
%prep
%setup -n xf86-input-evtouch-%{version} -q
%patch1 -p1
%patch2 -p1
%patch0
%patch3 -p0
%patch4 -p0
%patch5 -p1
%build
./configure \
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
--sysconfdir=/etc \
--prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--enable-udevinstall \
--enable-evcalibrate
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/doc/packages/x11-input-evtouch
install -m 644 {README,README.calibration,ChangeLog,COPYING,INSTALL,TODO} $RPM_BUILD_ROOT/%{_datadir}/doc/packages/x11-input-evtouch
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%dir %{_datadir}/xf86-input-evtouch
%dir /usr/%{_lib}/xf86-input-evtouch/
%dir %{_datadir}/doc/packages/x11-input-evtouch
%dir %{_sysconfdir}/udev
%dir %{_sysconfdir}/udev/rules.d
/usr/%{_lib}/xorg/modules/input/
/usr/%{_lib}/xf86-input-evtouch/*
%{_datadir}/doc/packages/x11-input-evtouch/*
%{_datadir}/xf86-input-evtouch/*
%{_sysconfdir}/udev/rules.d/*
%changelog
* Thu Oct 23 2008 dkukawka@suse.de
- added new patch:
- evtouch-20081023-fix-compiler_warning.diff: fix for bnc#436886
* Mon Sep 01 2008 dkukawka@suse.de
- added new patch:
- evtouch-20080901-add_another_Panjit_touchset_device.diff: add
another PANJIT TouchSet Digitizer device (134c:0005) used in
the Asus R2Hv
* Fri Aug 29 2008 dkukawka@suse.de
- install also the udev rule file
* Fri Aug 29 2008 dkukawka@suse.de
- added new patch:
- evtouch-20080829-add_IDEACO_IDC_6680_Touchscreen_to_udev.diff:
add one more device to udev rules
* Thu Jul 10 2008 dkukawka@suse.de
- removed patch:
- evtouch-include_xf86_ansic_h.patch
- added new patch:
- evtouch-dont_include_xf86_ansic_h.patch: don't include
xf86_ansic.h, the file no longer exist
- updated patch:
- evtouch-fix-gcc4.3_v2.diff: don't include xf86_ansic.h
- fixed spec-file due dir ownership
* Fri Jun 27 2008 dkukawka@suse.de
- fixed package with patches from the debian package
- added new patches:
* evtouch-include_xf86_ansic_h.patch
* evtouch-misc-fixes.patch
- updated patches:
* evtouch-fix-gcc4.3_v2.diff
* Wed Dec 19 2007 dkukawka@suse.de
- fixed URL for the package
* Sat Nov 03 2007 dkukawka@suse.de
- updated to v0.8.7 with following changes since 0.8.3:
- Added Elo Touchscreen to udev-rules
- Added "fix" for AMD64-crashes on touch
- Fixed driver-behavior when resolution is changed using xrandr
- Added stuff for installing udev-rules to /etc/...
- Added workaround for kernel-driver reporting ABS_Z and ABS_RX
instead of ABS_X and ABS_Y
- replaced old udev-rules with a more complete one
- Added Lifebook B-series to udev-rules
- Fixed classic rotation
- Fixed wrong handling of wrong / fixed default screen size
- little code-cleanup
- Fixed segv when switching to VT
- Made Events in libtouch configurable
- Changed initialization for Xorg 7.2
- Added XRandr-support
- Fixed Error in calibrate.sh
- Minor Compile-Warning fixes
- Make CURSORDIR work again
- added udev-rules for touchscreen device detection
- Button-press / -release now are alway issued on EV_SYN
* Fri Mar 09 2007 dkukawka@suse.de
- initial package