2012-08-11 04:21:11 +02:00
|
|
|
#
|
2015-01-09 12:34:27 +01:00
|
|
|
# spec file for package evemu
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-08-11 04:21:11 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2015-01-09 12:34:27 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2012-08-11 04:21:11 +02:00
|
|
|
|
|
|
|
|
2015-01-09 12:34:27 +01:00
|
|
|
%define _name libevemu1
|
2012-08-11 04:21:11 +02:00
|
|
|
Name: evemu
|
|
|
|
Version: 1.0.10
|
2015-01-09 12:34:27 +01:00
|
|
|
Release: 0
|
2012-08-11 04:21:11 +02:00
|
|
|
Summary: Event emulation for the uTouch stack
|
2015-01-09 12:34:27 +01:00
|
|
|
License: GPL-3.0
|
2012-08-11 04:21:11 +02:00
|
|
|
Group: System/GUI/Other
|
2015-01-09 12:34:27 +01:00
|
|
|
Url: http://launchpad.net/evemu
|
2012-08-11 04:21:11 +02:00
|
|
|
# https://launchpad.net/evemu/trunk/evemu-1.0.10/+download/evemu-1.0.10.tar.gz
|
|
|
|
Source: evemu-%{version}.tar.gz
|
|
|
|
BuildRequires: asciidoc
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: xmlto
|
2015-01-09 12:34:27 +01:00
|
|
|
Provides: %{name}-tools = %{version}
|
|
|
|
Obsoletes: %{name}-tools < %{version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-08-11 04:21:11 +02:00
|
|
|
|
|
|
|
%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} = %{version}
|
2015-01-09 12:34:27 +01:00
|
|
|
Requires: %{name} = %{version}
|
2012-08-11 04:21:11 +02:00
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
2015-01-09 12:34:27 +01:00
|
|
|
%setup -q
|
2012-08-11 04:21:11 +02:00
|
|
|
|
|
|
|
%build
|
2015-01-09 12:34:27 +01:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-silent-rules
|
2012-08-11 04:21:11 +02:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2015-01-09 12:34:27 +01:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2012-08-11 04:21:11 +02:00
|
|
|
%fdupes %{buildroot}%{python_sitelib}
|
2015-01-09 12:34:27 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2012-08-11 04:21:11 +02:00
|
|
|
|
|
|
|
%post -n %{_name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %{_name} -p /sbin/ldconfig
|
|
|
|
|
2015-01-09 12:34:27 +01:00
|
|
|
%files
|
2012-08-11 04:21:11 +02:00
|
|
|
%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
|