2012-08-11 04:51:15 +02:00
|
|
|
#
|
2015-01-09 12:34:39 +01:00
|
|
|
# spec file for package geis
|
|
|
|
#
|
2016-06-16 23:30:47 +02:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-08-11 04:51:15 +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:39 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-08-11 04:51:15 +02:00
|
|
|
|
2015-08-30 13:50:17 +02:00
|
|
|
%define soname libgeis
|
|
|
|
%define sover 1
|
2016-06-16 23:30:47 +02:00
|
|
|
%define _version 2.2.17+16.04.20160126
|
2015-01-09 12:34:39 +01:00
|
|
|
Name: geis
|
2016-06-16 23:30:47 +02:00
|
|
|
Version: 2.2.17+bzr20160126
|
2015-01-09 12:34:39 +01:00
|
|
|
Release: 0
|
2012-08-11 04:51:15 +02:00
|
|
|
Summary: Gesture engine interface and support
|
2015-08-30 13:50:17 +02:00
|
|
|
License: LGPL-3.0 and GPL-3.0
|
2012-10-05 02:11:45 +02:00
|
|
|
Group: System/GUI/Other
|
2015-08-30 13:50:17 +02:00
|
|
|
Url: https://launchpad.net/geis
|
2016-06-16 23:30:47 +02:00
|
|
|
Source: http://archive.ubuntu.com/ubuntu/pool/main/g/%{name}/%{name}_%{_version}.orig.tar.gz
|
2015-08-30 13:50:17 +02:00
|
|
|
Source1: baselibs.conf
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2012-08-11 04:51:15 +02:00
|
|
|
BuildRequires: fdupes
|
2015-08-30 13:50:17 +02:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkg-config
|
2015-11-15 12:01:38 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2015-08-30 13:50:17 +02:00
|
|
|
BuildRequires: pkgconfig(dbus-1) >= 1.2.16
|
|
|
|
BuildRequires: pkgconfig(frame) >= 2.2
|
|
|
|
BuildRequires: pkgconfig(grail) >= 3.0.8
|
|
|
|
BuildRequires: pkgconfig(python3) >= 3.2
|
2012-08-11 04:51:15 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2015-08-30 13:50:17 +02:00
|
|
|
BuildRequires: pkgconfig(xcb) >= 1.6
|
2012-08-11 04:51:15 +02:00
|
|
|
BuildRequires: pkgconfig(xext)
|
2015-08-30 13:50:17 +02:00
|
|
|
BuildRequires: pkgconfig(xi) >= 1.3
|
2012-08-11 04:51:15 +02:00
|
|
|
BuildRequires: pkgconfig(xorg-server)
|
|
|
|
|
|
|
|
%description
|
2015-08-30 13:50:17 +02:00
|
|
|
GEIS is a library for applications and toolkit programmers which
|
|
|
|
provides a consistent platform independent interface for any
|
|
|
|
system-wide input gesture recognition mechanism.
|
2012-08-11 04:51:15 +02:00
|
|
|
|
2015-08-30 13:50:17 +02:00
|
|
|
%package -n %{soname}%{sover}
|
2012-08-11 04:51:15 +02:00
|
|
|
Summary: Gesture engine interface and support
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2015-08-30 13:50:17 +02:00
|
|
|
%description -n %{soname}%{sover}
|
|
|
|
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
|
|
|
|
Group: System/GUI/Other
|
|
|
|
Requires: python3-geis = %{version}
|
|
|
|
|
|
|
|
%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.
|
2012-08-11 04:51:15 +02:00
|
|
|
|
2015-01-09 12:34:39 +01:00
|
|
|
%package -n python3-geis
|
|
|
|
Summary: Python3 bindings for GEIS
|
2015-11-15 12:01:38 +01:00
|
|
|
Group: Development/Languages/Python
|
2012-08-11 04:51:15 +02:00
|
|
|
|
2015-01-09 12:34:39 +01:00
|
|
|
%description -n python3-geis
|
|
|
|
This package provides the python3 bindings for GEIS.
|
2012-08-11 04:51:15 +02:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the GEIS interface implementation
|
2015-11-15 12:01:38 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2015-08-30 13:50:17 +02:00
|
|
|
Requires: %{soname}%{sover} = %{version}
|
2016-06-16 23:30:47 +02:00
|
|
|
Requires: pkg-config
|
2012-08-11 04:51:15 +02:00
|
|
|
|
|
|
|
%description devel
|
2015-08-30 13:50:17 +02:00
|
|
|
GEIS is a library for applications and toolkit programmers which
|
|
|
|
provides a consistent platform independent interface for any
|
|
|
|
system-wide input gesture recognition mechanism.
|
2012-08-11 04:51:15 +02:00
|
|
|
|
|
|
|
%prep
|
2016-06-16 23:30:47 +02:00
|
|
|
%setup -q -n %{name}-%{_version}
|
2012-08-11 04:51:15 +02:00
|
|
|
|
|
|
|
%build
|
2016-06-16 23:30:47 +02:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2015-01-09 12:34:39 +01:00
|
|
|
%configure \
|
2016-06-16 23:30:47 +02:00
|
|
|
--disable-static \
|
|
|
|
--disable-silent-rules \
|
2015-08-30 13:50:17 +02:00
|
|
|
--docdir=%{_docdir}/%{name}-devel/
|
2012-08-11 04:51:15 +02:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2015-08-30 13:50:17 +02:00
|
|
|
%make_install
|
2015-01-09 12:34:39 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2015-08-30 13:50:17 +02:00
|
|
|
|
2012-08-11 04:51:15 +02:00
|
|
|
%suse_update_desktop_file -G "Geis Viewer" geisview Utility DesktopSettings
|
2015-08-30 13:50:17 +02:00
|
|
|
chmod a+x %{buildroot}%{python3_sitelib}/geisview/__init__.py
|
2015-01-09 12:34:39 +01:00
|
|
|
%fdupes %{buildroot}%{python3_sitelib}
|
2012-08-11 04:51:15 +02:00
|
|
|
|
2015-08-30 13:50:17 +02:00
|
|
|
%post -n %{soname}%{sover} -p /sbin/ldconfig
|
2012-08-11 04:51:15 +02:00
|
|
|
|
2015-08-30 13:50:17 +02:00
|
|
|
%postun -n %{soname}%{sover} -p /sbin/ldconfig
|
2012-08-11 04:51:15 +02:00
|
|
|
|
2015-08-30 13:50:17 +02:00
|
|
|
%files tools
|
2012-08-11 04:51:15 +02:00
|
|
|
%defattr(-,root,root)
|
2015-08-30 13:50:17 +02:00
|
|
|
%doc AUTHORS COPYING COPYING.GPL README
|
2012-08-11 04:51:15 +02:00
|
|
|
%{_bindir}/geistest
|
|
|
|
%{_bindir}/geisview
|
2015-08-30 13:50:17 +02:00
|
|
|
%{_bindir}/pygeis
|
|
|
|
%{_datadir}/geisview/
|
2012-08-11 04:51:15 +02:00
|
|
|
%{_datadir}/applications/geisview.desktop
|
2015-08-30 13:50:17 +02:00
|
|
|
%{_datadir}/pixmaps/geisview*.xpm
|
|
|
|
%{_mandir}/man1/*geis*.1%{?ext_man}
|
2012-08-11 04:51:15 +02:00
|
|
|
|
2015-08-30 13:50:17 +02:00
|
|
|
%files -n %{soname}%{sover}
|
2012-08-11 04:51:15 +02:00
|
|
|
%defattr(-,root,root)
|
2015-08-30 13:50:17 +02:00
|
|
|
%doc AUTHORS COPYING COPYING.GPL README
|
|
|
|
%{_libdir}/libgeis.so.%{sover}*
|
2012-08-11 04:51:15 +02:00
|
|
|
|
2015-08-30 13:50:17 +02:00
|
|
|
%files -n python3-geis
|
2012-08-11 04:51:15 +02:00
|
|
|
%defattr(-,root,root)
|
2015-08-30 13:50:17 +02:00
|
|
|
%{python3_sitelib}/geis*/
|
|
|
|
%{python3_sitearch}/*.so
|
2012-08-11 04:51:15 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2015-08-30 13:50:17 +02:00
|
|
|
%doc %{_docdir}/%{name}-devel/
|
2012-08-11 04:51:15 +02:00
|
|
|
%{_includedir}/geis/
|
2015-08-30 13:50:17 +02:00
|
|
|
%{_libdir}/libgeis.so
|
|
|
|
%{_libdir}/pkgconfig/libgeis.pc
|
2012-08-11 04:51:15 +02:00
|
|
|
|
|
|
|
%changelog
|