File x11-input-fujitsu.spec of Package x11-input-fujitsu
#
# spec file for package x11-input-fujitsu (Version 0.6.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: x11-input-fujitsu
BuildRequires: Mesa-devel pkgconfig xorg-x11-proto-devel xorg-x11-server-sdk
Url: http://stz-softwaretechnik.com/~ke/touchscreen/p-series.html
Version: 0.6.5
Release: 1
License: GPL v2 or later; Other uncritical OpenSource License
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/X11/Servers/XF86_4
Summary: X.Org fujitsu Touchscreen Input Driver
ExclusiveArch: %ix86 x86_64
Source: xf86-input-fujitouch-%{version}.tar.bz2
Patch0: fujitsu-fix-includes.diff
%description
This package contains the X.Org fujitsu input drivers for Fujitsu
touchscreens from the P-Series Tablet PCs of FSC.
Authors:
--------
lifebook@conan.de
%prep
%setup -n xf86-input-fujitouch-%{version} -q
%patch0 -p0
%build
autoreconf -fi
./configure \
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -I/usr/include/X11/ -DXFree86LOADER -DXFree86Server -DIN_MODULE -DXFree86Module $(LINUX_INPUT)" \
--prefix=/usr \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--enable-evcalibrate
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
/usr/%{_lib}/xorg/modules/input/
%changelog
* Thu Jul 10 2008 dkukawka@suse.de
- added patch to fix problems with including xf86_ansic.h
* Sun Nov 04 2007 dkukawka@suse.de
- updated to new upstream version v0.6.5:
- Remove compile warning with Xorg 7.2 (Danny Kukawa)
- Fixed segv when switching to VT
- removed upstream gone patches:
- fujitsu-fix-includes.diff
- fujitsu-fix-SYSCALL.diff
* Mon May 21 2007 dkukawka@suse.de
- updated to upstream 0.6.4 which now use the same source file
structure as our package and include now XRandR support
- moved CFLAGS to spec-file
- added ExclusiveArch: %%ix86 x86_64 to spec-file
- added patches:
* fujitsu-fix-includes.diff: added missing includes, removed
included header xf86_ansic.h and s/xf86memset/memset/ to avoid
multiple warnings
* fujitsu-fix-SYSCALL.diff: added missing macro SYSCALL
* Tue May 15 2007 dkukawka@suse.de
- added CFLAGS: -DXFree86LOADER -DXFree86Server -DIN_MODULE
-DXFree86Module $(LINUX_INPUT)
to build correct as module for current Xorg server
* Thu May 10 2007 dkukawka@suse.de
- fixed package to generate a fujitsu module and not fujitouch
- renamed source package name to x11-* instead of xf86-*
* Mon May 07 2007 danny.kukawka@web.de
- Complete repackage the source from the original source package
for version 0.6.3 by move the code to the same structure as
xf86-input-evtouch-0.8.3, reused libtouch.* code from there (not
sure if this work, have currently no testmachine).
* Fri Mar 09 2007 danny.kukawka@web.de
- initial package