From 648a9d16abf7acb4d780440f59fe6247c452f087898f9b3716d6fedbc37333a1 Mon Sep 17 00:00:00 2001 From: Nelson Marques Date: Sat, 11 Aug 2012 02:21:11 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 ++++++++ .gitignore | 1 + evemu-1.0.10.tar.gz | 3 ++ evemu.changes | 17 ++++++ evemu.spec | 129 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 173 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 evemu-1.0.10.tar.gz create mode 100644 evemu.changes create mode 100644 evemu.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/evemu-1.0.10.tar.gz b/evemu-1.0.10.tar.gz new file mode 100644 index 0000000..b21cf04 --- /dev/null +++ b/evemu-1.0.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5096853ca4b30dbd25cfbd9eda1e511d25076415f37e3d90c61da36c2c53dd69 +size 678206 diff --git a/evemu.changes b/evemu.changes new file mode 100644 index 0000000..3bc037c --- /dev/null +++ b/evemu.changes @@ -0,0 +1,17 @@ +------------------------------------------------------------------- +Sat Aug 11 02:18:54 UTC 2012 - nmo.marques@gmail.com + +- 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. + +------------------------------------------------------------------- +Thu Aug 9 16:56:26 UTC 2012 - nmo.marques@gmail.com + +- cleanups on spec and re-organized sub-packages + +------------------------------------------------------------------- +Sun Aug 5 13:23:11 UTC 2012 - nmo.marques@gmail.com + +- initial package + diff --git a/evemu.spec b/evemu.spec new file mode 100644 index 0000000..6588a87 --- /dev/null +++ b/evemu.spec @@ -0,0 +1,129 @@ +# 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