evemu/evemu.spec
Nelson Marques 648a9d16ab - update to version 1.0.10
- package rename from 'utouch-evemu' to 'evemu', compliancy with
  upstream; should be peaceful, no one should have it installed.

- cleanups on spec and re-organized sub-packages

- initial package

OBS-URL: https://build.opensuse.org/package/show/X11:Unity/evemu?expand=0&rev=1
2012-08-11 02:21:11 +00:00

130 lines
3.3 KiB
RPMSpec

# spec file for utouch-evemu
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
%define _so 1
%define _name libevemu%{_so}
Name: evemu
Version: 1.0.10
Release: 1
License: GPL-3.0
Summary: Event emulation for the uTouch stack
Url: http://launchpad.net/evemu
Group: System/GUI/Other
# https://launchpad.net/evemu/trunk/evemu-1.0.10/+download/evemu-1.0.10.tar.gz
Source: evemu-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: asciidoc
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: xmlto
%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.
%package -n %{_name}
Summary: Event emulation for the uTouch stack
Group: System/GUI/Other
%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.
%package -n python-evemu
Summary: Python bindings for utouch-evemu
Group: System/GUI/Other
%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.
This package provides the Python bindings for utouch-evemu.
%package devel
Summary: Event emulation for the uTouch stack
Group: Development/Tools/Other
Requires: %{name}-tools = %{version}
Requires: %{_name} = %{version}
Requires: python-evemu = %{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.
This package provides the development files.
%package tools
Summary: Tools for vent emulation for the uTouch stack
Group: System/GUI/Other
%description tools
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.
This package provides the tools.
%prep
%setup -q -n evemu-%{version}
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%makeinstall
%fdupes %{buildroot}%{python_sitelib}
find %{buildroot}%{_libdir} -name "*.la" -print -delete
%post -n %{_name} -p /sbin/ldconfig
%postun -n %{_name} -p /sbin/ldconfig
%files tools
%defattr(-,root,root)
%{_bindir}/evemu-*
%{_mandir}/man1/evemu-*
%files -n %{_name}
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_libdir}/*.so.*
%files -n python-evemu
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{python_sitelib}/evemu/
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog