Accepting request 495206 from hardware

1

OBS-URL: https://build.opensuse.org/request/show/495206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tslib?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2017-05-20 08:10:04 +00:00 committed by Git OBS Bridge
commit e259701456
6 changed files with 29 additions and 28 deletions

View File

@ -1,4 +1,4 @@
libts-1_0-0
libts0
tslib-devel
requires -tslib-<targettype>
requires "libts-1_0-0-<targettype> = <version>"
requires "libts0-<targettype> = <version>"

View File

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

3
tslib-1.9.tar.xz Normal file
View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 11 09:10:02 UTC 2017 - guillaume@opensuse.org
- Update to tslib 1.9
- Remove upstreamed patch: use-module-raw-input-for-ts-conf.patch
- Fix library name
-------------------------------------------------------------------
Sun Mar 1 14:43:11 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package tslib
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Guillaume GARDET <guillaume@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -18,7 +18,7 @@
Name: tslib
Version: 1.1
Version: 1.9
Release: 0
Summary: Abstraction layer for touchscreen
License: LGPL-2.0+ and GPL-2.0+
@ -27,9 +27,9 @@ Url: https://github.com/kergoth/tslib.git
#Git-Clone: git://github.com/kergoth/tslib
Source0: https://github.com/kergoth/tslib/releases/download/%{version}/%{name}-%{version}.tar.xz
Source2: baselibs.conf
Patch0: use-module-raw-input-for-ts-conf.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fdupes
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: xz
@ -41,11 +41,11 @@ 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 libts-1_0-0
%package -n libts0
Summary: Abstraction layer for touchscreens
Group: System/Libraries
%description -n libts-1_0-0
%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
@ -74,7 +74,6 @@ Devel package for tslib. Tslib is an abstraction layer for touchscreen panel eve
%prep
%setup -q
%patch0
./autogen.sh
%configure
@ -83,28 +82,26 @@ make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc
ln -s tslib.pc %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc
%fdupes %{buildroot}/%_mandir
%post -n libts-1_0-0 -p /sbin/ldconfig
%post -n libts0 -p /sbin/ldconfig
%postun -n libts-1_0-0 -p /sbin/ldconfig
%postun -n libts0 -p /sbin/ldconfig
%files devel
%defattr(-,root,root)
%dir %{_libdir}/ts
%{_includedir}/tslib.h
%{_libdir}/libts.la
%{_libdir}/pkgconfig/tslib-1.0.pc
%{_libdir}/pkgconfig/tslib.pc
%dir %{_libdir}/ts
%{_libdir}/ts/*.la
%{_libdir}/libts.so
%files -n libts-1_0-0
%files -n libts0
%defattr(-,root,root)
%{_libdir}/libts-1.0.so.0
%{_libdir}/libts-1.0.so.0.0.0
%{_libdir}/libts.so.0
%{_libdir}/libts.so.0.6.0
%files plugins
%defattr(-,root,root)
@ -115,9 +112,15 @@ ln -s tslib.pc %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc
%defattr(-,root,root)
%config %{_sysconfdir}/ts.conf
%{_bindir}/ts_calibrate
%{_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

View File

@ -1,9 +0,0 @@
--- 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