Accepting request 266190 from home:scarabeus_iv

- Version bump to 2.2.16:
  * Various upstream fixes
  * bindings are py3 not py2 now
- Cleanup spec-file
- Explicitely enable some configure switches

OBS-URL: https://build.opensuse.org/request/show/266190
OBS-URL: https://build.opensuse.org/package/show/X11:Unity/geis?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2015-01-09 11:34:39 +00:00
committed by Git OBS Bridge
parent 9d8668187d
commit 55fd199260
4 changed files with 49 additions and 35 deletions

View File

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

3
geis-2.2.16.tar.xz Normal file
View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Dec 22 19:48:04 UTC 2014 - tchvatal@suse.com
- Version bump to 2.2.16:
* Various upstream fixes
* bindings are py3 not py2 now
- Cleanup spec-file
- Explicitely enable some configure switches
-------------------------------------------------------------------
Sat Aug 11 02:45:09 UTC 2012 - nmo.marques@gmail.com

View File

@@ -1,6 +1,7 @@
# spec file for utouch-geis
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# spec file for package geis
#
# 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,34 +12,35 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: geis
%define _name libgeis1
Version: 2.2.12
Release: 1
License: GPL-2.0 and GPL-3.0
Name: geis
Version: 2.2.16
Release: 0
Summary: Gesture engine interface and support
Url: http://launchpad.net/utouch-geis
License: GPL-2.0 and GPL-3.0
Group: System/GUI/Other
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://launchpad.net/geis
Source: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: python3-xml
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(inputproto)
BuildRequires: pkgconfig(mtdev)
BuildRequires: pkgconfig(evemu)
BuildRequires: pkgconfig(frame)
BuildRequires: pkgconfig(grail)
BuildRequires: pkgconfig(evemu)
BuildRequires: pkgconfig(inputproto)
BuildRequires: pkgconfig(mtdev)
BuildRequires: pkgconfig(python)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xorg-server)
BuildRequires: python-xml
BuildRequires: update-desktop-files
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GEIS is a library for applications and toolkit programmers which provides a
@@ -54,19 +56,19 @@ GEIS is a library for applications and toolkit programmers which provides a
consistent platform independent interface for any system-wide input gesture
recognition mechanism.
%package -n python-geis
Summary: Python bindings for GEIS
%package -n python3-geis
Summary: Python3 bindings for GEIS
Group: Development/Libraries/Other
%description -n python-geis
This package provides the python bindings for GEIS.
%description -n python3-geis
This package provides the python3 bindings for GEIS.
%package devel
Summary: Development files for the GEIS interface implementation
Group: Development/Libraries/Other
Requires: %{name} = %{version}
Requires: %{_name} = %{version}
Requires: python-geis = %{version}
Requires: %{name} = %{version}
Requires: python3-geis = %{version}
%description devel
GEIS is a library for applications and toolkit programmers which provides a
@@ -77,17 +79,20 @@ recognition mechanism.
%setup -q
%build
%configure --disable-static
%configure \
--disable-static \
--disable-silent-rules \
--with-evemu
make %{?_smp_mflags}
%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file -G "Geis Viewer" geisview Utility DesktopSettings
%fdupes %{buildroot}%{python_sitelib}
%fdupes %{buildroot}%{python3_sitelib}
# python-geis.x86_64: W: non-executable-script
if [ ! -x %{buildroot}%{python_sitelib}/geisview/__init__.py ]; then
chmod 0755 %{buildroot}%{python_sitelib}/geisview/__init__.py
if [ ! -x %{buildroot}%{python3_sitelib}/geisview/__init__.py ]; then
chmod 0755 %{buildroot}%{python3_sitelib}/geisview/__init__.py
fi
%post -n %{_name} -p /sbin/ldconfig
@@ -104,11 +109,11 @@ fi
%{_datadir}/pixmaps/geisview32x32.xpm
%{_mandir}/man1/*
%files -n python-geis
%files -n python3-geis
%defattr(-,root,root)
%{_bindir}/pygeis
%{python_sitelib}/
%{python_sitearch}/
%{python3_sitelib}/
%{python3_sitearch}/
%{_datadir}/geisview/
%files -n %{_name}