1 Summary: Abstraction layer for touchscreen panel event
2 Summary(pl.UTF-8): Warstwa abstrakcji dla zdarzeń pochodzących z paneli dotykowych
8 #Source0Download: https://github.com/kergoth/tslib/releases
9 Source0: https://github.com/kergoth/tslib/releases/download/%{version}/%{name}-%{version}.tar.xz
10 # Source0-md5: 8f1417989a1d9b97c687bddc35a33e73
11 URL: http://www.tslib.org/
12 BuildRequires: autoconf >= 2.57
13 BuildRequires: automake
14 BuildRequires: libtool >= 2:1.5
15 BuildRequires: tar >= 1:1.22
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 tslib is an abstraction layer for touchscreen panel events, as well as
21 a filter stack for the manipulation of those events. It was created by
22 Russell King, of arm.linux.org.uk. Examples of implemented filters
23 include jitter smoothing and the calibration transform.
25 tslib is generally used on embedded devices to provide a common user
26 space interface to touchscreen functionality. It is supported by
27 Kdrive (aka TinyX) and OPIE as well as being used on a number of
28 commercial Linux devices including the Nokia 770.
30 %description -l pl.UTF-8
31 tslib to warstwa abstrakcji dla zdarzeń pochodzących z paneli
32 dotykowych, a także stos filtrów do przetwarzania tych zdarzeń.
33 Została stworzona przez Russela Kinga z projektu arm.linux.org.uk.
34 Przykładowe zaimplementowane filtry obejmują wygładzanie drgań i
37 tslib jest często używana w urządzeniach wbudowanych w celu
38 zapewnienia wspólnego interfejsu przestrzeni użytkownika dla
39 ekranów dotykowych. Jest obsługiwana przez Kdrive (TinyX) i OPIE, a
40 także przez wiele komercyjnych urządzeń linuksowych, w tym Nokię 770.
43 Summary: Header files for tslib library
44 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki tslib
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
49 Header files for tslib library.
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki tslib.
55 Summary: Static tslib library
56 Summary(pl.UTF-8): Statyczna biblioteka tslib
57 Group: Development/Libraries
58 Requires: %{name}-devel = %{version}-%{release}
63 %description static -l pl.UTF-8
64 Statyczna biblioteka tslib.
71 %{__aclocal} -I m4/internal
76 --disable-silent-rules \
81 rm -rf $RPM_BUILD_ROOT
84 DESTDIR=$RPM_BUILD_ROOT
87 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ts/*.{la,a}
88 # obsoleted by pkg-config, but keep for now for other existing *.la
89 #%{__rm} $RPM_BUILD_ROOT%{_libdir}/libts.la
92 rm -rf $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %doc AUTHORS ChangeLog README
100 %attr(755,root,root) %{_bindir}/ts_calibrate
101 %attr(755,root,root) %{_bindir}/ts_finddev
102 %attr(755,root,root) %{_bindir}/ts_harvest
103 %attr(755,root,root) %{_bindir}/ts_print
104 %attr(755,root,root) %{_bindir}/ts_print_mt
105 %attr(755,root,root) %{_bindir}/ts_print_raw
106 %attr(755,root,root) %{_bindir}/ts_test
107 %attr(755,root,root) %{_bindir}/ts_test_mt
108 %attr(755,root,root) %{_bindir}/ts_uinput
109 %attr(755,root,root) %{_bindir}/ts_verify
110 %attr(755,root,root) %{_libdir}/libts.so.*.*.*
111 %attr(755,root,root) %ghost %{_libdir}/libts.so.0
113 %attr(755,root,root) %{_libdir}/ts/*.so
114 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ts.conf
115 %{_mandir}/man1/ts_calibrate.1*
116 %{_mandir}/man1/ts_finddev.1*
117 %{_mandir}/man1/ts_harvest.1*
118 %{_mandir}/man1/ts_print.1*
119 %{_mandir}/man1/ts_print_mt.1*
120 %{_mandir}/man1/ts_print_raw.1*
121 %{_mandir}/man1/ts_test.1*
122 %{_mandir}/man1/ts_test_mt.1*
123 %{_mandir}/man1/ts_uinput.1*
124 %{_mandir}/man1/ts_verify.1*
125 %{_mandir}/man5/ts.conf.5*
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_libdir}/libts.so
131 %{_includedir}/tslib.h
132 %{_pkgconfigdir}/tslib.pc
133 %{_mandir}/man3/ts_*.3*
136 %defattr(644,root,root,755)