Guillaume GARDET
d7ad31f1b0
- update to 1.22: * fix ts_uinput build on 32 bit arch on newer kernels * ts_uinput: fix building on FreeBSD * various fixes for cmake builds * improved documentation for systemd * new filter plugin: module evthres * ts_calibrate: close framebuffer after validation. add timeout option -s for it * support for screen-rotation in ts_calibrate and linear module * add experimental module_raw input_evdev that needs libevdev * new ts_calibrate --min_interval option to avoid inaccurate calibration * add ts_calibrate --validate functionality to verify the calibration * add ts_conf_get() and ts_conf_set() API OBS-URL: https://build.opensuse.org/request/show/851162 OBS-URL: https://build.opensuse.org/package/show/hardware/tslib?expand=0&rev=27
118 lines
3.2 KiB
RPMSpec
118 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package tslib
|
|
#
|
|
# Copyright (c) 2020 SUSE LLC
|
|
# Copyright (c) 2012 Guillaume GARDET <guillaume@opensuse.org>
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: tslib
|
|
Version: 1.22
|
|
Release: 0
|
|
Summary: Abstraction layer for touchscreen
|
|
License: LGPL-2.1-or-later AND GPL-2.0-only
|
|
Group: Hardware/Other
|
|
URL: https://github.com/kergoth/tslib.git
|
|
Source0: https://github.com/kergoth/tslib/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
Source1: https://github.com/kergoth/tslib/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
|
Source2: %{name}.keyring
|
|
Source3: baselibs.conf
|
|
BuildRequires: fdupes
|
|
BuildRequires: pkgconfig
|
|
|
|
%description
|
|
Tslib is an abstraction layer for touchscreen panel events.
|
|
|
|
The idea of tslib is to have a core library and a set of plugins to
|
|
manage the conversion and filtering as needed.
|
|
|
|
%package -n libts0
|
|
Summary: Abstraction layer for touchscreens
|
|
Group: System/Libraries
|
|
|
|
%description -n libts0
|
|
Tslib is an abstraction layer for touchscreen panel events.
|
|
|
|
The idea of tslib is to have a core library and a set of plugins to
|
|
manage the conversion and filtering as needed.
|
|
|
|
%package plugins
|
|
Summary: Driver plugins for tslib, an abstraction layer for touchscreens
|
|
Group: Hardware/Other
|
|
|
|
%description plugins
|
|
Tslib is an abstraction layer for touchscreen panel events.
|
|
|
|
The idea of tslib is to have a core library and a set of plugins to
|
|
manage the conversion and filtering as needed.
|
|
|
|
This subpackage contains the hardware driver plugins for tslib.
|
|
|
|
%package devel
|
|
Summary: Development files for tslib, a touchscreen panel event layer
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{name} = %{version}
|
|
Requires: %{name}-plugins = %{version}
|
|
Requires: glibc-devel
|
|
|
|
%description devel
|
|
Devel package for tslib. Tslib is an abstraction layer for touchscreen panel events.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%fdupes %{buildroot}/%{_mandir}
|
|
|
|
%post -n libts0 -p /sbin/ldconfig
|
|
%postun -n libts0 -p /sbin/ldconfig
|
|
|
|
%files devel
|
|
%dir %{_libdir}/ts
|
|
%{_includedir}/tslib.h
|
|
%{_libdir}/libts.la
|
|
%{_libdir}/pkgconfig/tslib.pc
|
|
%dir %{_libdir}/ts
|
|
%{_libdir}/ts/*.la
|
|
%{_libdir}/libts.so
|
|
|
|
%files -n libts0
|
|
%{_libdir}/libts.so.0*
|
|
|
|
%files plugins
|
|
%dir %{_libdir}/ts
|
|
%{_libdir}/ts/*.so
|
|
|
|
%files
|
|
%config %{_sysconfdir}/ts.conf
|
|
%{_bindir}/ts_calibrate
|
|
%{_bindir}/ts_conf
|
|
%{_bindir}/ts_finddev
|
|
%{_bindir}/ts_harvest
|
|
%{_bindir}/ts_print
|
|
%{_bindir}/ts_print_mt
|
|
%{_bindir}/ts_print_raw
|
|
%{_bindir}/ts_test
|
|
%{_bindir}/ts_test_mt
|
|
%{_bindir}/ts_uinput
|
|
%{_bindir}/ts_verify
|
|
%{_mandir}/*/*
|
|
|
|
%changelog
|