SHA256
1
0
forked from pool/mtdev
mtdev/mtdev.spec
Stefan Dirsch e71374e566 Accepting request 829126 from home:dirkmueller:branches:X11:XOrg
- update to 1.1.6:
  * adjust for 64bit time_t for 32bit architectures
  * Use a macro for `nlongs` so it can be used in constant expression
  * mtdev-matching.c: declare global variables static
  * mtdev-mapgen.c: declare init_caps() static
  * caps.c: declare mtdev_set_slots() static

OBS-URL: https://build.opensuse.org/request/show/829126
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/mtdev?expand=0&rev=15
2020-08-25 09:30:22 +00:00

78 lines
2.5 KiB
RPMSpec

#
# spec file for package mtdev
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: mtdev
Version: 1.1.6
Release: 0
Summary: Multitouch Protocol Translation Library
License: MIT
Group: System/Libraries
URL: https://bitmath.org/code/mtdev/
Source: http://bitmath.org/code/mtdev/mtdev-%{version}.tar.bz2
Source1: baselibs.conf
BuildRequires: pkgconfig
%description
The mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol. The events put into mtdev may be from any MT device, specifically type A without contact tracking, type A with contact tracking, or type B with contact tracking. See the kernel documentation for further details.
%package -n libmtdev1
Summary: Multitouch Protocol Translation Library
Group: System/Libraries
%description -n libmtdev1
The mtdev is a stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol. The events put into mtdev may be from any MT device, specifically type A without contact tracking, type A with contact tracking, or type B with contact tracking. See the kernel documentation for further details.
%package devel
Summary: Development package for mtdev library
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libmtdev1 = %{version}
%description devel
This package contains the files needed to compile programs that use mtdev library.
%prep
%setup -q
%build
%configure \
--enable-static=no
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libmtdev1 -p /sbin/ldconfig
%postun -n libmtdev1 -p /sbin/ldconfig
%files
%license COPYING
%doc ChangeLog README
%{_bindir}/*
%files -n libmtdev1
%{_libdir}/lib*.so.*
%files devel
%{_libdir}/lib*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc
%changelog