e35e6d6ecf
- package name change from 'utouch-geis' to 'geis'; following upstream name changes - main package now is %{name}-tools - initial package OBS-URL: https://build.opensuse.org/package/show/X11:Unity/geis?expand=0&rev=1
152 lines
4.1 KiB
RPMSpec
152 lines
4.1 KiB
RPMSpec
# spec file for utouch-geis
|
|
#
|
|
# 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 libgeis%{_so}
|
|
|
|
|
|
Name: geis
|
|
Version: 2.2.11
|
|
Release: 1
|
|
License: GPL-2.0 and GPL-3.0
|
|
Summary: Gesture engine interface and support
|
|
Url: http://launchpad.net/utouch-geis
|
|
Group: System/Libraries
|
|
# https://launchpad.net/geis/trunk/2.2.11/+download/geis-2.2.11.tar.gz
|
|
Source: %{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: fdupes
|
|
BuildRequires: intltool
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
BuildRequires: pkgconfig(inputproto)
|
|
BuildRequires: pkgconfig(mtdev)
|
|
BuildRequires: pkgconfig(frame)
|
|
BuildRequires: pkgconfig(grail)
|
|
BuildRequires: pkgconfig(evemu)
|
|
BuildRequires: pkgconfig(python)
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xext)
|
|
BuildRequires: pkgconfig(xi)
|
|
BuildRequires: pkgconfig(xorg-server)
|
|
BuildRequires: python-xml
|
|
BuildRequires: update-desktop-files
|
|
|
|
%description
|
|
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 %{_name}
|
|
Summary: Gesture engine interface and support
|
|
Group: System/Libraries
|
|
|
|
%description -n %{_name}
|
|
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 tools
|
|
Summary: Gesture engine interface and support - tools
|
|
Group: System/GUI/Other
|
|
|
|
%description tools
|
|
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
|
|
Group: Development/Libraries/Other
|
|
|
|
%description -n python-geis
|
|
This package provides the python bindings for GEIS.
|
|
|
|
|
|
%package devel
|
|
Summary: Development files for the GEIS interface implementation
|
|
Group: Development/Libraries/Other
|
|
Requires: %{name}-tools = %{version}
|
|
Requires: %{_name} = %{version}
|
|
Requires: python-geis = %{version}
|
|
|
|
%description devel
|
|
GEIS is a library for applications and toolkit programmers which provides a
|
|
consistent platform independent interface for any system-wide input gesture
|
|
recognition mechanism.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%makeinstall
|
|
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
|
%suse_update_desktop_file -G "Geis Viewer" geisview Utility DesktopSettings
|
|
%fdupes %{buildroot}%{python_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
|
|
fi
|
|
|
|
|
|
%post -n %{_name} -p /sbin/ldconfig
|
|
|
|
%postun -n %{_name} -p /sbin/ldconfig
|
|
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog README COPYING
|
|
%{_bindir}/geistest
|
|
%{_bindir}/geisview
|
|
%{_bindir}/geis-server
|
|
%{_datadir}/applications/geisview.desktop
|
|
%{_datadir}/pixmaps/geisview32x32.xpm
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
%files -n python-geis
|
|
%defattr(-,root,root)
|
|
%{_bindir}/pygeis
|
|
%{python_sitelib}/
|
|
%{python_sitearch}/
|
|
%{_datadir}/geisview/
|
|
|
|
|
|
%files -n %{_name}
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog README COPYING
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/geis/
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_datadir}/doc/geis/
|
|
|
|
|
|
%changelog
|