]>
Commit | Line | Data |
---|---|---|
7eefa4fc | 1 | Summary: Abstraction layer for touchscreen panel event |
d6f09737 | 2 | Summary(pl.UTF-8): Warstwa abstrakcji dla zdarzeń pochodzących z paneli dotykowych |
7eefa4fc | 3 | Name: tslib |
88749251 JB |
4 | Version: 1.14 |
5 | Release: 1 | |
339445ec | 6 | License: LGPL v2 |
7eefa4fc | 7 | Group: Libraries |
88749251 JB |
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/ | |
7eefa4fc JB |
12 | BuildRequires: autoconf >= 2.57 |
13 | BuildRequires: automake | |
14 | BuildRequires: libtool >= 2:1.5 | |
88749251 JB |
15 | BuildRequires: tar >= 1:1.22 |
16 | BuildRequires: xz | |
7eefa4fc JB |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
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. | |
24 | ||
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. | |
29 | ||
b1f1d8ca JR |
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 | |
35 | kalibrację. | |
7eefa4fc | 36 | |
b1f1d8ca JR |
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. | |
7eefa4fc JB |
41 | |
42 | %package devel | |
43 | Summary: Header files for tslib library | |
d6f09737 | 44 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki tslib |
7eefa4fc JB |
45 | Group: Development/Libraries |
46 | Requires: %{name} = %{version}-%{release} | |
47 | ||
48 | %description devel | |
49 | Header files for tslib library. | |
50 | ||
b1f1d8ca JR |
51 | %description devel -l pl.UTF-8 |
52 | Pliki nagłówkowe biblioteki tslib. | |
7eefa4fc JB |
53 | |
54 | %package static | |
55 | Summary: Static tslib library | |
d6f09737 | 56 | Summary(pl.UTF-8): Statyczna biblioteka tslib |
7eefa4fc JB |
57 | Group: Development/Libraries |
58 | Requires: %{name}-devel = %{version}-%{release} | |
59 | ||
60 | %description static | |
61 | Static tslib library. | |
62 | ||
b1f1d8ca | 63 | %description static -l pl.UTF-8 |
7eefa4fc JB |
64 | Statyczna biblioteka tslib. |
65 | ||
66 | %prep | |
67 | %setup -q | |
68 | ||
69 | %build | |
70 | %{__libtoolize} | |
71 | %{__aclocal} -I m4/internal | |
72 | %{__autoconf} | |
73 | %{__autoheader} | |
74 | %{__automake} | |
75 | %configure \ | |
88749251 | 76 | --disable-silent-rules \ |
7eefa4fc JB |
77 | --enable-static |
78 | %{__make} | |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
339445ec JB |
86 | # dlopened modules |
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 | |
7eefa4fc JB |
90 | |
91 | %clean | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %post -p /sbin/ldconfig | |
95 | %postun -p /sbin/ldconfig | |
96 | ||
97 | %files | |
98 | %defattr(644,root,root,755) | |
99 | %doc AUTHORS ChangeLog README | |
339445ec | 100 | %attr(755,root,root) %{_bindir}/ts_calibrate |
88749251 | 101 | %attr(755,root,root) %{_bindir}/ts_finddev |
339445ec JB |
102 | %attr(755,root,root) %{_bindir}/ts_harvest |
103 | %attr(755,root,root) %{_bindir}/ts_print | |
88749251 | 104 | %attr(755,root,root) %{_bindir}/ts_print_mt |
339445ec JB |
105 | %attr(755,root,root) %{_bindir}/ts_print_raw |
106 | %attr(755,root,root) %{_bindir}/ts_test | |
88749251 JB |
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 | |
7eefa4fc JB |
112 | %dir %{_libdir}/ts |
113 | %attr(755,root,root) %{_libdir}/ts/*.so | |
114 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ts.conf | |
88749251 JB |
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* | |
7eefa4fc JB |
126 | |
127 | %files devel | |
128 | %defattr(644,root,root,755) | |
129 | %attr(755,root,root) %{_libdir}/libts.so | |
130 | %{_libdir}/libts.la | |
131 | %{_includedir}/tslib.h | |
339445ec | 132 | %{_pkgconfigdir}/tslib.pc |
88749251 | 133 | %{_mandir}/man3/ts_*.3* |
7eefa4fc JB |
134 | |
135 | %files static | |
136 | %defattr(644,root,root,755) | |
137 | %{_libdir}/libts.a |