2012-04-19 09:39:05 +00:00
|
|
|
#
|
|
|
|
# spec file for package xf86-input-synaptics
|
|
|
|
#
|
2022-07-11 13:47:55 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2012-04-19 09:39:05 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-07-30 12:13:26 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-04-19 09:39:05 +00:00
|
|
|
#
|
|
|
|
|
2012-05-10 18:07:38 +00:00
|
|
|
|
2012-04-19 09:39:05 +00:00
|
|
|
Name: xf86-input-synaptics
|
2022-07-11 13:47:55 +00:00
|
|
|
Version: 1.9.2
|
2012-05-10 18:07:38 +00:00
|
|
|
Release: 0
|
2012-04-19 09:39:05 +00:00
|
|
|
Summary: Synaptics touchpad input driver for the Xorg X server
|
2012-05-10 18:07:38 +00:00
|
|
|
License: MIT
|
2012-04-19 09:39:05 +00:00
|
|
|
Group: System/X11/Servers/XF86_4
|
2020-05-28 09:11:32 +00:00
|
|
|
URL: http://xorg.freedesktop.org/
|
2022-07-11 13:47:55 +00:00
|
|
|
Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.xz
|
|
|
|
Source1: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.xz.sig
|
2015-11-13 12:03:36 +00:00
|
|
|
Source2: %{name}.keyring
|
2013-12-02 11:54:34 +00:00
|
|
|
Patch0: n_xf86-input-synaptics-wait.diff
|
|
|
|
Patch2: n_xf86-input-synaptics-xorg.conf.d_snippet.diff
|
|
|
|
Patch5: n_xf86-input-synaptics-default-tap.diff
|
2012-06-14 13:53:54 +00:00
|
|
|
BuildRequires: autoconf >= 2.60
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2012-04-19 09:39:05 +00:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: pkgconfig(inputproto)
|
2014-03-18 11:42:50 +00:00
|
|
|
BuildRequires: pkgconfig(libevdev) >= 1.0.99.1
|
2012-04-19 09:39:05 +00:00
|
|
|
BuildRequires: pkgconfig(randrproto)
|
|
|
|
BuildRequires: pkgconfig(recordproto)
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xi) >= 1.2
|
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.13
|
2012-04-20 09:32:01 +00:00
|
|
|
BuildRequires: pkgconfig(xorg-server) >= 1.7
|
2012-04-19 09:39:05 +00:00
|
|
|
BuildRequires: pkgconfig(xproto)
|
|
|
|
BuildRequires: pkgconfig(xtst)
|
|
|
|
Requires: udev
|
|
|
|
# This was part of the xorg-x11-driver-input package up to version 7.6
|
|
|
|
Conflicts: xorg-x11-driver-input <= 7.6
|
|
|
|
Provides: x11-input-synaptics = %{version}
|
|
|
|
Obsoletes: x11-input-synaptics < %{version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
ExcludeArch: s390 s390x
|
2012-04-20 09:32:01 +00:00
|
|
|
%x11_abi_xinput_req
|
2012-04-19 09:39:05 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
synaptics is an Xorg input driver for touchpads.
|
|
|
|
|
|
|
|
Even though touchpads can be handled by the normal evdev or mouse
|
|
|
|
drivers, this driver allows more advanced features of the touchpad to
|
|
|
|
become available.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Synaptics touchpad input driver for the Xorg X server -- Development Files
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
synaptics is an Xorg input driver for touchpads.
|
|
|
|
|
|
|
|
Even though touchpads can be handled by the normal evdev or mouse
|
|
|
|
drivers, this driver allows more advanced features of the touchpad to
|
|
|
|
become available.
|
|
|
|
|
|
|
|
%prep
|
2024-02-26 13:53:36 +00:00
|
|
|
%autosetup -p1
|
2012-04-19 09:39:05 +00:00
|
|
|
|
|
|
|
%build
|
2015-11-13 12:03:36 +00:00
|
|
|
autoreconf -fiv
|
|
|
|
%configure \
|
2019-07-30 12:13:26 +00:00
|
|
|
--with-xorg-conf-dir=%{_datadir}/X11/xorg.conf.d/
|
2015-11-13 12:03:36 +00:00
|
|
|
make %{?_smp_mflags} V=1
|
2012-04-19 09:39:05 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
|
|
|
|
|
|
|
%post
|
|
|
|
# re-plug the input devices
|
2015-07-31 12:16:26 +00:00
|
|
|
udevadm trigger --subsystem-match=input --action=change || :
|
2012-04-19 09:39:05 +00:00
|
|
|
|
|
|
|
%postun
|
|
|
|
# re-plug the input devices
|
2015-07-31 12:16:26 +00:00
|
|
|
udevadm trigger --subsystem-match=input --action=change || :
|
2012-04-19 09:39:05 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2022-07-11 13:47:55 +00:00
|
|
|
%doc README.md
|
|
|
|
%license COPYING
|
2019-07-30 12:13:26 +00:00
|
|
|
%dir %{_datadir}/X11/xorg.conf.d/
|
|
|
|
%{_datadir}/X11/xorg.conf.d/70-synaptics.conf
|
2012-04-19 09:39:05 +00:00
|
|
|
%dir %{_libdir}/xorg/modules/input
|
|
|
|
%{_libdir}/xorg/modules/input/synaptics_drv.so
|
|
|
|
%{_bindir}/synclient
|
|
|
|
%{_bindir}/syndaemon
|
|
|
|
%{_datadir}/man/man1/synclient.1%{?ext_man}
|
|
|
|
%{_datadir}/man/man1/syndaemon.1%{?ext_man}
|
|
|
|
%{_datadir}/man/man4/synaptics.4%{?ext_man}
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/xorg/synaptics-properties.h
|
|
|
|
%{_libdir}/pkgconfig/xorg-synaptics.pc
|
|
|
|
|
|
|
|
%changelog
|