From 3086b91b1e050db20cb7e1508c48da7319e8fd0ea37ee941477ed26fd8c50a84 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Sat, 10 Oct 2015 21:01:57 +0000 Subject: [PATCH] - Update to 2.1.0. OBS-URL: https://build.opensuse.org/package/show/X11:Unity/evemu?expand=0&rev=3 --- evemu-1.0.10.tar.gz | 3 -- evemu.changes | 6 +++ evemu.spec | 103 +++++++++++++++++++++------------------- evemu_2.1.0.orig.tar.xz | 3 ++ 4 files changed, 64 insertions(+), 51 deletions(-) delete mode 100644 evemu-1.0.10.tar.gz create mode 100644 evemu_2.1.0.orig.tar.xz diff --git a/evemu-1.0.10.tar.gz b/evemu-1.0.10.tar.gz deleted file mode 100644 index b21cf04..0000000 --- a/evemu-1.0.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5096853ca4b30dbd25cfbd9eda1e511d25076415f37e3d90c61da36c2c53dd69 -size 678206 diff --git a/evemu.changes b/evemu.changes index d0461f4..639d85f 100644 --- a/evemu.changes +++ b/evemu.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Oct 10 13:26:03 UTC 2015 - sor.alexei@meowr.ru + +- Update to 2.1.0. +- Spec cleanup. + ------------------------------------------------------------------- Mon Dec 22 18:54:19 UTC 2014 - tchvatal@suse.com diff --git a/evemu.spec b/evemu.spec index 913dcd3..a1ae9b0 100644 --- a/evemu.spec +++ b/evemu.spec @@ -1,7 +1,7 @@ # # spec file for package evemu # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,56 +16,62 @@ # -%define _name libevemu1 +%define soname libevemu +%define sover 3 Name: evemu -Version: 1.0.10 +Version: 2.1.0 Release: 0 -Summary: Event emulation for the uTouch stack +Summary: Input Event Device Emulation Library License: GPL-3.0 -Group: System/GUI/Other -Url: http://launchpad.net/evemu -# https://launchpad.net/evemu/trunk/evemu-1.0.10/+download/evemu-1.0.10.tar.gz -Source: evemu-%{version}.tar.gz +Group: Hardware/Other +Url: http://freedesktop.org/wiki/Evemu +Source: http://archive.ubuntu.com/ubuntu/pool/universe/e/%{name}/%{name}_%{version}.orig.tar.xz BuildRequires: asciidoc -BuildRequires: fdupes -BuildRequires: pkgconfig +BuildRequires: gcc-c++ +BuildRequires: pkg-config +BuildRequires: python-devel +BuildRequires: python3-devel BuildRequires: xmlto +BuildRequires: pkgconfig(libevdev) >= 1.2.99.902 Provides: %{name}-tools = %{version} Obsoletes: %{name}-tools < %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -uTouch-evemu is a part of the effort to produce an MT device and gesture test -framework, and provides tools to emulate kernel evdev devices. +The evemu library and tools are used to describe devices, record +data, create emulation devices and replay data from kernel evdev +(input event) devices. -%package -n %{_name} -Summary: Event emulation for the uTouch stack -Group: System/GUI/Other +%package -n %{soname}%{sover} +Summary: Input Event Device Emulation Library +Group: System/Libraries -%description -n %{_name} -uTouch-evemu is a part of the effort to produce an MT device and gesture test -framework, and provides tools to emulate kernel evdev devices. +%description -n %{soname}%{sover} +The evemu library and tools are used to describe devices, record +data, create emulation devices and replay data from kernel evdev +(input event) devices. -%package -n python-evemu -Summary: Python bindings for utouch-evemu -Group: System/GUI/Other +%package -n python-%{name} +Summary: Python2 bindings for evemu +Group: Development/Languages/Python +Requires: %{soname}%{sover} = %{version} -%description -n python-evemu -uTouch-evemu is a part of the effort to produce an MT device and gesture test -framework, and provides tools to emulate kernel evdev devices. +%description -n python-%{name} +The evemu library and tools are used to describe devices, record +data, create emulation devices and replay data from kernel evdev +(input event) devices. -This package provides the Python bindings for utouch-evemu. +This package provides the Python2 bindings for evemu. %package devel -Summary: Event emulation for the uTouch stack +Summary: Development files for evemu Group: Development/Tools/Other -Requires: %{_name} = %{version} Requires: %{name} = %{version} -Requires: python-evemu = %{version} +Requires: %{soname}%{sover} = %{version} %description devel -uTouch-evemu is a part of the effort to produce an MT device and gesture test -framework, and provides tools to emulate kernel evdev devices. +The evemu library and tools are used to describe devices, record +data, create emulation devices and replay data from kernel evdev +(input event) devices. This package provides the development files. @@ -74,38 +80,39 @@ This package provides the development files. %build %configure \ - --disable-static \ - --disable-silent-rules + --disable-static \ + --disable-silent-rules \ + --disable-tests make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} -%fdupes %{buildroot}%{python_sitelib} +%make_install find %{buildroot} -type f -name "*.la" -delete -print -%post -n %{_name} -p /sbin/ldconfig +%post -n %{soname}%{sover} -p /sbin/ldconfig -%postun -n %{_name} -p /sbin/ldconfig +%postun -n %{soname}%{sover} -p /sbin/ldconfig %files %defattr(-,root,root) -%{_bindir}/evemu-* -%{_mandir}/man1/evemu-* +%doc COPYING +%{_bindir}/%{name}-* +%{_mandir}/man?/%{name}-*?%{?ext_man} -%files -n %{_name} +%files -n %{soname}%{sover} %defattr(-,root,root) -%doc ChangeLog README COPYING -%{_libdir}/*.so.* +%doc COPYING +%{_libdir}/%{soname}.so.%{sover}* -%files -n python-evemu +%files -n python-%{name} %defattr(-,root,root) -%doc ChangeLog README COPYING -%{python_sitelib}/evemu/ +%doc COPYING +%{python_sitelib}/%{name}/ %files devel %defattr(-,root,root) -%{_includedir}/*.h -%{_libdir}/*.so -%{_libdir}/pkgconfig/*.pc +%{_includedir}/%{name}.h +%{_libdir}/%{soname}.so +%{_libdir}/pkgconfig/%{name}.pc %changelog diff --git a/evemu_2.1.0.orig.tar.xz b/evemu_2.1.0.orig.tar.xz new file mode 100644 index 0000000..ef3ea83 --- /dev/null +++ b/evemu_2.1.0.orig.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c87360882751356e9f977ebf7438c00fe97deb232ac725dd86e5ba78203ee97 +size 502240