]> git.pld-linux.org Git - packages/mtdev.git/blob - mtdev.spec
- Adapterized. Should be acceptable.
[packages/mtdev.git] / mtdev.spec
1 Summary:        Multitouch devices
2 Name:           mtdev
3 Version:        1.1.2
4 Release:        0.1
5 License:        MIT (X11)
6 Group:          Development/Libraries
7 Source0:        http://bitmath.org/code/mtdev/%{name}-%{version}.tar.bz2
8 # Source0-md5:  d9c7700918fc392e29da7477ae20c5c2
9 URL:            http://bitmath.org/code/mtdev/
10 BuildRequires:  autoconf >= 2.59
11 BuildRequires:  automake >= 1:1.8.1
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 The mtdev is a stand-alone library which transforms all variants of
16 kernel MT events to the slotted type B protocol. The events put into
17 mtdev may be from any MT device, specifically type A without contact
18 tracking, type A with contact tracking, or type B with contact
19 tracking. See the kernel documentation for further details.
20
21 %package devel
22 Summary:        Header files for mtdev library
23 Group:          Development/Libraries
24 Requires:       %{name} = %{version}-%{release}
25
26 %description devel
27 mtdev-devel contains header files for use with mtdev library
28
29 %package tools
30 Summary:        Tools for mtdev library
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33
34 %description tools
35 mtdev test tool
36
37 %package static
38 Summary:        Static mtdev libraries
39 Group:          Development/Libraries
40 Requires:       %{name}-devel = %{version}-%{release}
41
42 %description static
43 mtdev-static contains development static libraries for use with mtdev
44 library
45
46
47 %prep
48 %setup -q
49
50 %build
51 %{__libtoolize}
52 %{__aclocal}
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70
71 %postun -p /sbin/ldconfig
72
73 %files
74 %defattr(644,root,root,755)
75 %doc ChangeLog README
76 %attr(755,root,root) %{_libdir}/libmtdev.so.1.0.0
77
78 %files tools
79 %defattr(644,root,root,755)
80 %attr(755,root,root) %{_bindir}/mtdev-test
81
82 %files devel
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libmtdev.so
85 %{_libdir}/libmtdev.la
86 %{_includedir}/mtdev*
87 %{_pkgconfigdir}/mtdev.pc
88
89 %files static
90 %defattr(644,root,root,755)
91 %{_libdir}/libmtdev.a
This page took 0.076081 seconds and 3 git commands to generate.