summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2009-04-12 13:57:25 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2009-04-12 13:57:25 +0200
commit36916e23a06b824c6a751d1b0e8f0aa6a9d6149c (patch)
tree441b801b029fbeb1b16674353331c75eab9c0911
downloadsynaptics-usb-package-36916e23a06b824c6a751d1b0e8f0aa6a9d6149c.tar.gz
synaptics-usb-package-36916e23a06b824c6a751d1b0e8f0aa6a9d6149c.tar.xz
synaptics-usb-package-36916e23a06b824c6a751d1b0e8f0aa6a9d6149c.zip
-rw-r--r--.gitignore4
-rw-r--r--.gitmodules3
l---------GNUmakefile1
m---------git-rpm0
-rw-r--r--synaptics-usb-README.fedora17
-rw-r--r--synaptics-usb.spec59
6 files changed, 84 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1c462a0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/*~
+/rpm-build/
+/rpm-dist/
+/synaptics-usb/
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..0ccfef1
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "git-rpm"]
+ path = git-rpm
+ url = git://fedorapeople.org/~ndim/git-rpm.git
diff --git a/GNUmakefile b/GNUmakefile
new file mode 120000
index 0000000..9acf7e6
--- /dev/null
+++ b/GNUmakefile
@@ -0,0 +1 @@
+git-rpm/GNUmakefile \ No newline at end of file
diff --git a/git-rpm b/git-rpm
new file mode 160000
+Subproject 28c8da9787ee7fc592e9ed396bb69a98a71a3f6
diff --git a/synaptics-usb-README.fedora b/synaptics-usb-README.fedora
new file mode 100644
index 0000000..c54176f
--- /dev/null
+++ b/synaptics-usb-README.fedora
@@ -0,0 +1,17 @@
+By default, USB Synaptics devices are bound to the kernel's generic
+USB HID driver.
+
+To use the USB Synaptics driver from this package, run
+
+ /usr/sbin/synaptics-usb-rebind to_synaptics-usb
+
+You can revert back to using the generic USB HID driver with
+
+ /usr/sbin/synaptics-usb-rebind to_usbhid
+
+NOTE:
+
+synaptics-usb upstream is working on getting the driver into the
+upstream kernel, so this package is to be considered a temporary
+band-aid until Linux 2.6.30 or .31 arrive with synaptics-usb
+included.
diff --git a/synaptics-usb.spec b/synaptics-usb.spec
new file mode 100644
index 0000000..09b058b
--- /dev/null
+++ b/synaptics-usb.spec
@@ -0,0 +1,59 @@
+%global tarvers 1.5rc4
+
+Name: synaptics-usb
+Version: 1.5
+Release: 1%{?tarvers:.%{tarvers}}%{?dist}
+Summary: USB Synaptics device driver - scripts and user interface
+
+Group: System Environment/Kernel
+License: GPLv2+
+URL: http://www.jan-steinhoff.de/linux/synaptics-usb.html
+Source0: http://www.jan-steinhoff.de/linux/%{name}-%{tarvers}.tar.bz2
+Source10: %{name}-README.fedora
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildARch: noarch
+
+Requires: synaptics-usb >= %{version}
+Provides: synaptics-usb-common = %{version}
+
+# For rebinding of kernel USB drivers
+Requires: linux >= 2.6.13
+
+
+%description
+USB Synaptics device driver - scripts and user interface
+
+
+%prep
+%setup -q -n %{name}
+
+
+%build
+%{__cp} -p %{SOURCE10} README.fedora
+
+
+%install
+%{__rm} -rf "%{buildroot}"
+
+%{__install} -d -m 0755 "%{buildroot}%{_sbindir}"
+%{__install} -p -m 0755 synaptics-usb "%{buildroot}%{_sbindir}/synaptics-usb"
+%{__install} -p -m 0755 synaptics-usb-rebind "%{buildroot}%{_sbindir}/synaptics-usb-rebind"
+sed -i 's|/usr/local/sbin/|%{_sbindir}/|g' "%{buildroot}%{_sbindir}/synaptics-usb-rebind"
+
+
+%clean
+%{__rm} -rf "%{buildroot}"
+
+
+%files
+%defattr(-,root,root,-)
+%doc README.fedora
+%{_sbindir}/synaptics-usb
+%{_sbindir}/synaptics-usb-rebind
+
+
+%changelog
+* Sun Apr 12 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 1.5-1.1.5rc4
+- initial package
+