Accepting request 266178 from home:scarabeus_iv
- Obsolete tools and use just the pkgname for them - Cleanup a bit OBS-URL: https://build.opensuse.org/request/show/266178 OBS-URL: https://build.opensuse.org/package/show/X11:Unity/evemu?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
648a9d16ab
commit
4c96f6f93b
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 22 18:54:19 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Obsolete tools and use just the pkgname for them
|
||||
- Cleanup a bit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 11 02:18:54 UTC 2012 - nmo.marques@gmail.com
|
||||
|
||||
|
58
evemu.spec
58
evemu.spec
@@ -1,6 +1,7 @@
|
||||
# spec file for utouch-evemu
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# spec file for package evemu
|
||||
#
|
||||
# Copyright (c) 2014 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
|
||||
@@ -11,31 +12,32 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
%define _so 1
|
||||
%define _name libevemu%{_so}
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define _name libevemu1
|
||||
Name: evemu
|
||||
Version: 1.0.10
|
||||
Release: 1
|
||||
License: GPL-3.0
|
||||
Release: 0
|
||||
Summary: Event emulation for the uTouch stack
|
||||
Url: http://launchpad.net/evemu
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xmlto
|
||||
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.
|
||||
|
||||
|
||||
%package -n %{_name}
|
||||
Summary: Event emulation for the uTouch stack
|
||||
Group: System/GUI/Other
|
||||
@@ -44,7 +46,6 @@ Group: System/GUI/Other
|
||||
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
|
||||
@@ -55,12 +56,11 @@ 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: %{name} = %{version}
|
||||
Requires: python-evemu = %{version}
|
||||
|
||||
%description devel
|
||||
@@ -69,61 +69,43 @@ 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}
|
||||
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%configure \
|
||||
--disable-static \
|
||||
--disable-silent-rules
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
%fdupes %{buildroot}%{python_sitelib}
|
||||
find %{buildroot}%{_libdir} -name "*.la" -print -delete
|
||||
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n %{_name} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{_name} -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files tools
|
||||
%files
|
||||
%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
|
||||
|
Reference in New Issue
Block a user