From ed7046c2aa5901819c84bfd9167c92709db28926 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 19 Nov 2009 23:28:39 +0000 Subject: [PATCH] Initial import (#532874) --- .cvsignore | 1 + import.log | 1 + sources | 1 + xorg-x11-drv-wacom.spec | 82 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 import.log create mode 100644 xorg-x11-drv-wacom.spec diff --git a/.cvsignore b/.cvsignore index e69de29..2f5cb25 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xf86-input-wacom-0.10.0.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..2921a71 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +xorg-x11-drv-wacom-0_10_0-3_fc13:HEAD:xorg-x11-drv-wacom-0.10.0-3.fc13.src.rpm:1258673148 diff --git a/sources b/sources index e69de29..f8af422 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +91af5fab1637c6ce52e3f9418d53e22b xf86-input-wacom-0.10.0.tar.bz2 diff --git a/xorg-x11-drv-wacom.spec b/xorg-x11-drv-wacom.spec new file mode 100644 index 0000000..15b2094 --- /dev/null +++ b/xorg-x11-drv-wacom.spec @@ -0,0 +1,82 @@ +%global tarball xf86-input-wacom +%global moduledir %(pkg-config xorg-server --variable=moduledir ) +%global driverdir %{moduledir}/input + +Summary: Xorg X11 wacom input driver +Name: xorg-x11-drv-wacom +Version: 0.10.0 +Release: 3%{?dist} +URL: http://www.x.org +License: GPLv2+ +Group: User Interface/X Hardware Support +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: http://people.freedesktop.org/~whot/%{tarball}/%{tarball}-%{version}.tar.bz2 + +ExcludeArch: s390 s390x + +BuildRequires: xorg-x11-server-sdk >= 1.7.0 + +Requires: xorg-x11-server-Xorg >= 1.7.0 + +Obsoletes: linuxwacom <= 0.8.4.3 + +%description +X.Org X11 wacom input driver for Wacom tablets. + +%prep +%setup -q -n %{tarball}-%{version} +find -type f -name '*.[ch]' | xargs chmod -x + +%build +%configure --disable-static +make %{_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make install DESTDIR=$RPM_BUILD_ROOT + +# FIXME: Remove all libtool archives (*.la) from modules directory. This +# should be fixed in upstream Makefile.am or whatever. +find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog README +%{driverdir}/wacom_drv.so +%{_mandir}/man4/wacom.4* + + +%package devel +Summary: Xorg X11 wacom input driver development package +Group: Development/Libraries + +Requires: xorg-x11-server-devel >= 1.7.0 +Requires: pkgconfig + +%description devel +X.Org X11 wacom input driver development files. + +%files devel +%defattr(-,root,root,-) +%{_libdir}/pkgconfig/xorg-wacom.pc +%{_includedir}/xorg/Xwacom.h + + +%changelog +* Thu Nov 19 2009 Peter Hutterer 0.10.0-3 +- Use smp_mflags when building. + +* Wed Nov 18 2009 Peter Hutterer 0.10.0-2 +- Obsolete linuxwacom, don't Conflict with it. +- Remove trailing dot from summary (rpmlint warning). +- Remove spurious executable bits from source files (rpmlint warning). +- Add AUTHORS, ChangeLog, README to doc + +* Mon Oct 19 2009 Peter Hutterer 0.10.0-1 +- Initial import +