source: projects/specs/trunk/m/mtdev/mtdev-vl.spec @ 4814

Revision 4814, 2.5 KB checked in by shaolin, 13 years ago (diff)
  • mtdev: new
  • xorg-x11-drv-mtrack: new
Line 
1%global tarball mtdev
2%global gitdate 20110105
3
4Name:           mtdev
5Version:        1.1.0
6Release:        1.%{?gitdate}%{?_dist_release}
7Summary:        Multitouch Protocol Translation Library
8
9Group:          System Environment/Libraries
10License:        MIT
11URL:            http://bitmath.org/code/mtdev/
12
13# upstream doesn't have tarballs
14Source0:        %{tarball}-%{gitdate}.tar.bz2
15Source1:        make-git-snapshot.sh
16Source2:        commitid
17BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18
19BuildRequires:  autoconf automake libtool
20BuildRequires:  xorg-x11-util-macros >= 1.5.0-1
21
22%description
23%{name} is a stand-alone library which transforms all variants of kernel MT
24events to the slotted type B protocol. The events put into mtdev may be from
25any MT device, specifically type A without contact tracking, type A with
26contact tracking, or type B with contact tracking.
27
28%package devel
29Summary:        Multitouch Protocol Translation Library Development Package
30Requires:       %{name} = %{version}-%{release}
31Requires:       pkgconfig
32
33%description devel
34Multitouch protocol translation library development package.
35
36%prep
37%setup -q -n %{tarball}-%{gitdate}
38
39%build
40autoreconf -v --install || exit 1
41%configure --disable-static
42make %{?_smp_mflags}
43
44%install
45rm -rf %{buildroot}
46make install DESTDIR=%{buildroot} INSTALL="install -p"
47
48# We intentionally don't ship *.la files
49rm -f %{buildroot}%{_libdir}/*.la
50
51%clean
52rm -rf %{buildroot}
53
54%post -p /sbin/ldconfig
55%postun -p /sbin/ldconfig
56
57%files
58%defattr(-,root,root,-)
59%doc COPYING README CREDITS
60%{_libdir}/libmtdev.so.*
61
62%files devel
63%defattr(-,root,root,-)
64%{_includedir}/mtdev.h
65%{_includedir}/mtdev-plumbing.h
66%{_includedir}/mtdev-mapping.h
67%{_libdir}/libmtdev.so
68%{_libdir}/pkgconfig/mtdev.pc
69%{_bindir}/mtdev-test
70
71%changelog
72* Fri Sep 23 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.0-1.20110105
73- initial build for Vine Linux
74
75* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2.20110105
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
77
78* Wed Jan 05 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.1.0-1.20110105
79- Update to release 1.1.0
80
81* Tue Aug 03 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.8-1.20100803
82- Update to release 1.0.8
83
84* Thu Jul 08 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-2.20100706
85- Require util-macros >= 1.5
86
87* Tue Jul 06 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.1-1.20100706
88- Initial package
Note: See TracBrowser for help on using the repository browser.