Accepting request 140723 from home:Guillaume_G:ARM

tslib - abstraction layer for touchscreen

OBS-URL: https://build.opensuse.org/request/show/140723
OBS-URL: https://build.opensuse.org/package/show/hardware/tslib?expand=0&rev=1
This commit is contained in:
Ismail Dönmez 2012-11-09 09:52:44 +00:00 committed by Git OBS Bridge
commit 20c0e3b9db
5 changed files with 161 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

3
tslib-f6c499a523.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4339ee6f2adab1ebcbea8d964b1b32cfc43e3498a5560726ce2b047cd98ae36c
size 67914

5
tslib.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Thu Nov 8 14:49:02 UTC 2012 - guillaume@opensuse.org
- Initial release (git f6c499a523)

121
tslib.spec Normal file
View File

@ -0,0 +1,121 @@
#
# spec file for package tslib
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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 http://bugs.opensuse.org/
#
Name: tslib
Version: 1.0
Release: 0.0
Summary: Abstraction layer for touchscreen
Group: Hardware/Other
Url: https://github.com/kergoth/tslib.git
Source: tslib-f6c499a523.tar.gz
Patch0: use-module-raw-input-for-ts-conf.patch
License: GPL-2.0+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: pkg-config
%description
Tslib is an abstraction layer for touchscreen panel events.
%package devel
Summary: Devel package for tslib
Group: Development/Libraries/Other
%description devel
Devel package for tslib. Tslib is an abstraction layer for touchscreen panel events.
%prep
%setup -q -n tslib-f6c499a523
%patch0 -p0
./autogen.sh
CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --sysconfdir=/etc --libdir=%{_libdir}
%build
make
%install
%make_install
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%clean
rm -rf %buildroot
%files devel
%defattr(-,root,root)
%dir %{_libdir}/ts
/usr/include/tslib.h
%{_libdir}/libts.la
%{_libdir}/pkgconfig/tslib-1.0.pc
%{_libdir}/pkgconfig/tslib.pc
%{_libdir}/ts/arctic2.la
%{_libdir}/ts/collie.la
%{_libdir}/ts/corgi.la
%{_libdir}/ts/dejitter.la
%{_libdir}/ts/dmc.la
%{_libdir}/ts/h3600.la
%{_libdir}/ts/input.la
%{_libdir}/ts/linear.la
%{_libdir}/ts/linear_h2200.la
%{_libdir}/ts/mk712.la
%{_libdir}/ts/pthres.la
%{_libdir}/ts/tatung.la
%{_libdir}/ts/touchkit.la
%{_libdir}/ts/ucb1x00.la
%{_libdir}/ts/variance.la
%files
%defattr(-,root,root)
%config /etc/ts.conf
%dir %{_libdir}/ts/
%{_libdir}/libts-1.0.so.0
%{_libdir}/libts-1.0.so.0.0.0
%{_libdir}/ts/arctic2.so
%{_libdir}/ts/collie.so
%{_libdir}/ts/corgi.so
%{_libdir}/ts/dejitter.so
%{_libdir}/ts/dmc.so
%{_libdir}/ts/h3600.so
%{_libdir}/ts/input.so
%{_libdir}/ts/linear.so
%{_libdir}/ts/linear_h2200.so
%{_libdir}/ts/mk712.so
%{_libdir}/ts/pthres.so
%{_libdir}/ts/tatung.so
%{_libdir}/ts/touchkit.so
%{_libdir}/ts/ucb1x00.so
%{_libdir}/ts/variance.so
%{_bindir}/ts_calibrate
%{_bindir}/ts_harvest
%{_bindir}/ts_print
%{_bindir}/ts_print_raw
%{_bindir}/ts_test
%{_libdir}/libts.so
%changelog

View File

@ -0,0 +1,9 @@
--- etc/ts.conf.orig 2012-06-13 16:09:57.109544638 +0200
+++ etc/ts.conf 2012-06-13 16:10:17.219073865 +0200
@@ -1,5 +1,5 @@
# Uncomment if you wish to use the linux input layer event interface
-# module_raw input
+module_raw input
# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
# module_raw collie