]> git.pld-linux.org Git - packages/tslib.git/blob - tslib.spec
7218290f8249683663655878f16d835f18fca0b2
[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.0
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://download.berlios.de/tslib/%{name}-%{version}.tar.bz2
9 # Source0-md5:  92b2eb55b1e4ef7e2c0347069389390e
10 Patch0:         %{name}-open.patch
11 URL:            http://tslib.berlios.de/
12 BuildRequires:  autoconf >= 2.57
13 BuildRequires:  automake
14 BuildRequires:  libtool >= 2:1.5
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 tslib is an abstraction layer for touchscreen panel events, as well as
19 a filter stack for the manipulation of those events. It was created by
20 Russell King, of arm.linux.org.uk. Examples of implemented filters
21 include jitter smoothing and the calibration transform.
22
23 tslib is generally used on embedded devices to provide a common user
24 space interface to touchscreen functionality. It is supported by
25 Kdrive (aka TinyX) and OPIE as well as being used on a number of
26 commercial Linux devices including the Nokia 770.
27
28 %description -l pl.UTF-8
29 tslib to warstwa abstrakcji dla zdarzeń pochodzących z paneli
30 dotykowych, a także stos filtrów do przetwarzania tych zdarzeń.
31 Została stworzona przez Russela Kinga z projektu arm.linux.org.uk.
32 Przykładowe zaimplementowane filtry obejmują wygładzanie drgań i
33 kalibrację.
34
35 tslib jest często używana w urządzeniach wbudowanych w celu
36 zapewnienia wspólnego interfejsu przestrzeni użytkownika dla
37 ekranów dotykowych. Jest obsługiwana przez Kdrive (TinyX) i OPIE, a
38 także przez wiele komercyjnych urządzeń linuksowych, w tym Nokię 770.
39
40 %package devel
41 Summary:        Header files for tslib library
42 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki tslib
43 Group:          Development/Libraries
44 Requires:       %{name} = %{version}-%{release}
45
46 %description devel
47 Header files for tslib library.
48
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe biblioteki tslib.
51
52 %package static
53 Summary:        Static tslib library
54 Summary(pl.UTF-8):      Statyczna biblioteka tslib
55 Group:          Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57
58 %description static
59 Static tslib library.
60
61 %description static -l pl.UTF-8
62 Statyczna biblioteka tslib.
63
64 %prep
65 %setup -q
66 %patch0 -p1
67
68 %build
69 %{__libtoolize}
70 %{__aclocal} -I m4/internal
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure \
75         --enable-static
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 rm -f $RPM_BUILD_ROOT%{_libdir}/ts/*.{la,a}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %post   -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
91
92 %files
93 %defattr(644,root,root,755)
94 %doc AUTHORS ChangeLog README
95 %attr(755,root,root) %{_bindir}/ts_*
96 %attr(755,root,root) %{_libdir}/libts-*.so.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libts-*.so.?
98 %dir %{_libdir}/ts
99 %attr(755,root,root) %{_libdir}/ts/*.so
100 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ts.conf
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libts.so
105 %{_libdir}/libts.la
106 %{_includedir}/tslib.h
107 %{_pkgconfigdir}/tslib-*.pc
108
109 %files static
110 %defattr(644,root,root,755)
111 %{_libdir}/libts.a
This page took 0.055546 seconds and 2 git commands to generate.