[packages/geis] - new
baggins
baggins at pld-linux.org
Fri May 15 20:18:15 CEST 2015
commit 3f5d1bd5d4e91723d99d8b7e8a23d36c55eb3f51
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri May 15 20:17:55 2015 +0200
- new
geis.spec | 161 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 161 insertions(+)
---
diff --git a/geis.spec b/geis.spec
new file mode 100644
index 0000000..eb63977
--- /dev/null
+++ b/geis.spec
@@ -0,0 +1,161 @@
+#
+# Conditional build:
+%bcond_without static_libs # don't build static libraries
+#
+Summary: An implementation of the GEIS (Gesture Engine Interface and Support) interface
+Name: geis
+Version: 2.2.16
+Release: 1
+License: GPL v3/LGPL v3
+Group: Libraries
+Source0: https://launchpad.net/geis/trunk/%{version}/+download/%{name}-%{version}.tar.xz
+# Source0-md5: f70af0887a5585539406d8737b231b5e
+URL: https://launchpad.net/geis
+BuildRequires: dbus-devel >= 1.2.16
+BuildRequires: frame-devel >= 2.2
+BuildRequires: grail-devel >= 3.0.8
+BuildRequires: libxcb-devel >= 1.6
+BuildRequires: python3-devel
+BuildRequires: python3-modules
+BuildRequires: python3-setuptools > 7.0
+BuildRequires: rpm-pythonprov
+BuildRequires: xorg-lib-libX11-devel
+BuildRequires: xorg-lib-libXext-devel
+BuildRequires: xorg-lib-libXi-devel >= 1.3
+Requires(post,postun): /sbin/ldconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 tools
+Summary: Test tools for geis library
+Summary(pl.UTF-8): Testowe narzędzia biblioteki geis
+Summary(pl.UTF-8): Wspólne pliki biblioteki geis
+Group: Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description tools
+Test tools for geis library.
+
+%description tools -l pl.UTF-8
+Testowe narzędzia biblioteki geis.
+
+%package devel
+Summary: Header files for geis library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki geis
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for geis library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki geis.
+
+%package static
+Summary: Static geis library
+Summary(pl.UTF-8): Statyczna biblioteka geis
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static geis library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka geis.
+
+%package -n python3-geis
+Summary: Python3 bindings for geis library
+Summary(pl.UTF-8): Wiązania python3 dla biblioteki geis
+Group: Libraries/Python
+Requires: %{name} = %{version}-%{release}
+Requires: python3-modules
+
+%description -n python3-geis
+Python3 bindings for geis library.
+
+%description -n python3-geis -l pl.UTF-8
+Wiązania python3 dla biblioteki geis.
+
+%package -n geisview
+Summary: A tool to view operation of the GEIS API
+Summary(pl.UTF-8): Narzędzie do przeglądania działania GEIS API.
+Group: Applications
+Requires: python3-geis = %{version}-%{release}
+
+%description -n geisview
+A tool to view operation of the GEIS API.
+
+%description -n geisview -l pl.UTF-8
+Narzędzie do przeglądania działania GEIS API.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ %{!?with_static_libs:--disable-static}
+%{__make} V=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_libdir}/libgeis.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgeis.so.1
+
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/geistest
+%attr(755,root,root) %{_bindir}/geis-server
+%attr(755,root,root) %{_bindir}/pygeis
+%{_mandir}/man1/pygeis.1*
+%{_mandir}/man1/geistest.1*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgeis.so
+%{_includedir}/geis
+%{_pkgconfigdir}/libgeis.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgeis.a
+%endif
+
+%files -n python3-geis
+%defattr(644,root,root,755)
+%{py3_sitedir}/_geis_bindings.so
+%dir %{py3_sitescriptdir}/geis
+%{py3_sitescriptdir}/geis/__init__.py*
+%{py3_sitescriptdir}/geis/geis_v2.py*
+
+%files -n geisview
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/geisview
+%dir %{py3_sitescriptdir}/geisview
+%{py3_sitescriptdir}/geisview/*.py*
+%{_desktopdir}/geisview.desktop
+%dir %{_datadir}/geisview
+%{_datadir}/geisview/filter_definition.ui
+%{_datadir}/geisview/filter_list.ui
+%{_datadir}/geisview/geisview.ui
+%{_pixmapsdir}/geisview32x32.xpm
+%{_mandir}/man1/geisview.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/geis.git/commitdiff/3f5d1bd5d4e91723d99d8b7e8a23d36c55eb3f51
More information about the pld-cvs-commit
mailing list