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