Dominique Leuenberger 2020-08-28 19:13:42 +00:00 committed by Git OBS Bridge
commit be38b6a097
4 changed files with 22 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6677d5708a7948840de734d8b4675d5980d4561171c5a8e89e54adf7a13eba7f
size 274162

BIN
mtdev-1.1.6.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Aug 25 09:27:06 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- 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
-------------------------------------------------------------------
Sat Feb 28 09:55:25 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package mtdev
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@ -12,21 +12,20 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: mtdev
Version: 1.1.5
Version: 1.1.6
Release: 0
Summary: Multitouch Protocol Translation Library
License: MIT
Group: System/Libraries
Url: http://bitmath.org/code/mtdev/
URL: https://bitmath.org/code/mtdev/
Source: http://bitmath.org/code/mtdev/mtdev-%{version}.tar.bz2
Source1: baselibs.conf
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
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.
@ -53,27 +52,24 @@ This package contains the files needed to compile programs that use mtdev librar
%build
%configure \
--enable-static=no
make %{?_smp_mflags}
%make_build
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libmtdev1 -p /sbin/ldconfig
%postun -n libmtdev1 -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc COPYING ChangeLog README
%license COPYING
%doc ChangeLog README
%{_bindir}/*
%files -n libmtdev1
%defattr(-, root, root)
%{_libdir}/lib*.so.*
%files devel
%defattr(-, root, root)
%{_libdir}/lib*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc