]> git.pld-linux.org Git - packages/tslib.git/blame - tslib.spec
- updated to 1.14 (note: soname changed to libts.so.0 and should be more stable now...
[packages/tslib.git] / tslib.spec
CommitLineData
7eefa4fc 1Summary: Abstraction layer for touchscreen panel event
d6f09737 2Summary(pl.UTF-8): Warstwa abstrakcji dla zdarzeń pochodzących z paneli dotykowych
7eefa4fc 3Name: tslib
88749251
JB
4Version: 1.14
5Release: 1
339445ec 6License: LGPL v2
7eefa4fc 7Group: Libraries
88749251
JB
8#Source0Download: https://github.com/kergoth/tslib/releases
9Source0: https://github.com/kergoth/tslib/releases/download/%{version}/%{name}-%{version}.tar.xz
10# Source0-md5: 8f1417989a1d9b97c687bddc35a33e73
11URL: http://www.tslib.org/
7eefa4fc
JB
12BuildRequires: autoconf >= 2.57
13BuildRequires: automake
14BuildRequires: libtool >= 2:1.5
88749251
JB
15BuildRequires: tar >= 1:1.22
16BuildRequires: xz
7eefa4fc
JB
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20tslib is an abstraction layer for touchscreen panel events, as well as
21a filter stack for the manipulation of those events. It was created by
22Russell King, of arm.linux.org.uk. Examples of implemented filters
23include jitter smoothing and the calibration transform.
24
25tslib is generally used on embedded devices to provide a common user
26space interface to touchscreen functionality. It is supported by
27Kdrive (aka TinyX) and OPIE as well as being used on a number of
28commercial Linux devices including the Nokia 770.
29
b1f1d8ca
JR
30%description -l pl.UTF-8
31tslib to warstwa abstrakcji dla zdarzeń pochodzących z paneli
32dotykowych, a także stos filtrów do przetwarzania tych zdarzeń.
33Została stworzona przez Russela Kinga z projektu arm.linux.org.uk.
34Przykładowe zaimplementowane filtry obejmują wygładzanie drgań i
35kalibrację.
7eefa4fc 36
b1f1d8ca
JR
37tslib jest często używana w urządzeniach wbudowanych w celu
38zapewnienia wspólnego interfejsu przestrzeni użytkownika dla
39ekranów dotykowych. Jest obsługiwana przez Kdrive (TinyX) i OPIE, a
40także przez wiele komercyjnych urządzeń linuksowych, w tym Nokię 770.
7eefa4fc
JB
41
42%package devel
43Summary: Header files for tslib library
d6f09737 44Summary(pl.UTF-8): Pliki nagłówkowe biblioteki tslib
7eefa4fc
JB
45Group: Development/Libraries
46Requires: %{name} = %{version}-%{release}
47
48%description devel
49Header files for tslib library.
50
b1f1d8ca
JR
51%description devel -l pl.UTF-8
52Pliki nagłówkowe biblioteki tslib.
7eefa4fc
JB
53
54%package static
55Summary: Static tslib library
d6f09737 56Summary(pl.UTF-8): Statyczna biblioteka tslib
7eefa4fc
JB
57Group: Development/Libraries
58Requires: %{name}-devel = %{version}-%{release}
59
60%description static
61Static tslib library.
62
b1f1d8ca 63%description static -l pl.UTF-8
7eefa4fc
JB
64Statyczna 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
81rm -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
92rm -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
This page took 0.066944 seconds and 4 git commands to generate.