]> git.pld-linux.org Git - packages/tslib.git/blob - tslib.spec
- updated to 1.14 (note: soname changed to libts.so.0 and should be more stable now...
[packages/tslib.git] / tslib.spec
1 Summary:        Abstraction layer for touchscreen panel event
2 Summary(pl.UTF-8):      Warstwa abstrakcji dla zdarzeń pochodzących z paneli dotykowych
3 Name:           tslib
4 Version:        1.14
5 Release:        1
6 License:        LGPL v2
7 Group:          Libraries
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
16 BuildRequires:  xz
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
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ę.
36
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.
41
42 %package devel
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}
47
48 %description devel
49 Header files for tslib library.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki tslib.
53
54 %package static
55 Summary:        Static tslib library
56 Summary(pl.UTF-8):      Statyczna biblioteka tslib
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59
60 %description static
61 Static tslib library.
62
63 %description static -l pl.UTF-8
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 \
76         --disable-silent-rules \
77         --enable-static
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT
85
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
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
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
112 %dir %{_libdir}/ts
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*
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
132 %{_pkgconfigdir}/tslib.pc
133 %{_mandir}/man3/ts_*.3*
134
135 %files static
136 %defattr(644,root,root,755)
137 %{_libdir}/libts.a
This page took 0.120025 seconds and 3 git commands to generate.