diff --git a/README.md b/README.md index 3977a61..fa77ff1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xorg-drv-input-wacom +X.Org input driver for Wacom tablets. + diff --git a/xorg-drv-input-wacom.spec b/xorg-drv-input-wacom.spec new file mode 100644 index 0000000..0cf8ad7 --- /dev/null +++ b/xorg-drv-input-wacom.spec @@ -0,0 +1,84 @@ +%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f1-2) +Name: xorg-drv-input-wacom +Version: 0.16.0 +Release: 2mamba +Summary: X.Org input driver for Wacom tablets +Group: System/X11 +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://x.org +Source: http://downloads.sourceforge.net/project/linuxwacom/xf86-input-wacom/xf86-input-wacom-%{version}.tar.bz2 +License: MIT +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpthread-stubs-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +BuildRequires: libxcb-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXext-devel +BuildRequires: libXi-devel +BuildRequires: libXinerama-devel +BuildRequires: libXrandr-devel +BuildRequires: libXrender-devel +BuildRequires: pkg-config +BuildRequires: xorg-server-devel +## AUTOBUILDREQ-END +Provides: xorgdrvinput +Requires: xorg-server >= %{xorg_ver} +Requires: xorg-server <= %{xorg_ver}.255 + +%description +X.Org input driver for Wacom tablets. + +%package devel +Summary: Header files for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains header files need for development. + +%prep +%setup -q -n xf86-input-wacom-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/isdv4-serial-debugger +%{_bindir}/xsetwacom +%{_datadir}/X11/xorg.conf.d/50-wacom.conf +%{_libdir}/xorg/modules/input/wacom_drv.so +%{_mandir}/man1/xsetwacom.1.gz +%{_mandir}/man4/wacom.4.gz +%doc AUTHORS GPL + +%files devel +%defattr(-,root,root) +%{_includedir}/xorg/Xwacom.h +%{_includedir}/xorg/isdv4.h +%{_includedir}/xorg/wacom-properties.h +%{_includedir}/xorg/wacom-util.h +%{_libdir}/pkgconfig/xorg-wacom.pc +%{_libdir}/xorg/modules/input/wacom_drv.la +%doc ChangeLog README + +%changelog +* Tue Mar 05 2013 Silvan Calarco 0.16.0-2mamba +- xorg-server 1.12 mass rebuild + +* Tue Aug 07 2012 Silvan Calarco 0.16.0-1mamba +- package created +