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