- Update to 2.1.0.

OBS-URL: https://build.opensuse.org/package/show/X11:Unity/evemu?expand=0&rev=3
This commit is contained in:
Alexei Sorokin 2015-10-10 21:01:57 +00:00 committed by Git OBS Bridge
parent 4c96f6f93b
commit 3086b91b1e
4 changed files with 64 additions and 51 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5096853ca4b30dbd25cfbd9eda1e511d25076415f37e3d90c61da36c2c53dd69
size 678206

View File

@ -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 Mon Dec 22 18:54:19 UTC 2014 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package evemu # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 Name: evemu
Version: 1.0.10 Version: 2.1.0
Release: 0 Release: 0
Summary: Event emulation for the uTouch stack Summary: Input Event Device Emulation Library
License: GPL-3.0 License: GPL-3.0
Group: System/GUI/Other Group: Hardware/Other
Url: http://launchpad.net/evemu Url: http://freedesktop.org/wiki/Evemu
# https://launchpad.net/evemu/trunk/evemu-1.0.10/+download/evemu-1.0.10.tar.gz Source: http://archive.ubuntu.com/ubuntu/pool/universe/e/%{name}/%{name}_%{version}.orig.tar.xz
Source: evemu-%{version}.tar.gz
BuildRequires: asciidoc BuildRequires: asciidoc
BuildRequires: fdupes BuildRequires: gcc-c++
BuildRequires: pkgconfig BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: python3-devel
BuildRequires: xmlto BuildRequires: xmlto
BuildRequires: pkgconfig(libevdev) >= 1.2.99.902
Provides: %{name}-tools = %{version} Provides: %{name}-tools = %{version}
Obsoletes: %{name}-tools < %{version} Obsoletes: %{name}-tools < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
uTouch-evemu is a part of the effort to produce an MT device and gesture test The evemu library and tools are used to describe devices, record
framework, and provides tools to emulate kernel evdev devices. data, create emulation devices and replay data from kernel evdev
(input event) devices.
%package -n %{_name} %package -n %{soname}%{sover}
Summary: Event emulation for the uTouch stack Summary: Input Event Device Emulation Library
Group: System/GUI/Other Group: System/Libraries
%description -n %{_name} %description -n %{soname}%{sover}
uTouch-evemu is a part of the effort to produce an MT device and gesture test The evemu library and tools are used to describe devices, record
framework, and provides tools to emulate kernel evdev devices. data, create emulation devices and replay data from kernel evdev
(input event) devices.
%package -n python-evemu %package -n python-%{name}
Summary: Python bindings for utouch-evemu Summary: Python2 bindings for evemu
Group: System/GUI/Other Group: Development/Languages/Python
Requires: %{soname}%{sover} = %{version}
%description -n python-evemu %description -n python-%{name}
uTouch-evemu is a part of the effort to produce an MT device and gesture test The evemu library and tools are used to describe devices, record
framework, and provides tools to emulate kernel evdev devices. 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 %package devel
Summary: Event emulation for the uTouch stack Summary: Development files for evemu
Group: Development/Tools/Other Group: Development/Tools/Other
Requires: %{_name} = %{version}
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: python-evemu = %{version} Requires: %{soname}%{sover} = %{version}
%description devel %description devel
uTouch-evemu is a part of the effort to produce an MT device and gesture test The evemu library and tools are used to describe devices, record
framework, and provides tools to emulate kernel evdev devices. data, create emulation devices and replay data from kernel evdev
(input event) devices.
This package provides the development files. This package provides the development files.
@ -74,38 +80,39 @@ This package provides the development files.
%build %build
%configure \ %configure \
--disable-static \ --disable-static \
--disable-silent-rules --disable-silent-rules \
--disable-tests
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
%fdupes %{buildroot}%{python_sitelib}
find %{buildroot} -type f -name "*.la" -delete -print 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 %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/evemu-* %doc COPYING
%{_mandir}/man1/evemu-* %{_bindir}/%{name}-*
%{_mandir}/man?/%{name}-*?%{?ext_man}
%files -n %{_name} %files -n %{soname}%{sover}
%defattr(-,root,root) %defattr(-,root,root)
%doc ChangeLog README COPYING %doc COPYING
%{_libdir}/*.so.* %{_libdir}/%{soname}.so.%{sover}*
%files -n python-evemu %files -n python-%{name}
%defattr(-,root,root) %defattr(-,root,root)
%doc ChangeLog README COPYING %doc COPYING
%{python_sitelib}/evemu/ %{python_sitelib}/%{name}/
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/*.h %{_includedir}/%{name}.h
%{_libdir}/*.so %{_libdir}/%{soname}.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/%{name}.pc
%changelog %changelog

3
evemu_2.1.0.orig.tar.xz Normal file
View File

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