[Fedora-i18n-bugs] [eekboard] Install Python files.

Daiki Ueno ueno at fedoraproject.org
Thu Feb 24 09:03:12 UTC 2011


commit fb4c97f26098fa1129c94be345c7101b2f251a33
Author: Daiki Ueno <ueno at unixuser.org>
Date:   Thu Feb 24 18:04:32 2011 +0900

    Install Python files.

 eekboard.spec |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/eekboard.spec b/eekboard.spec
index 7b61c43..3f3d5f4 100644
--- a/eekboard.spec
+++ b/eekboard.spec
@@ -20,6 +20,7 @@ BuildRequires:	gir-repository-devel
 %endif
 BuildRequires:	intltool desktop-file-utils
 BuildRequires:  gobject-introspection-devel
+BuildRequires:  python2-devel
 
 Requires: eekboard-libs = %{version}-%{release}
 
@@ -47,6 +48,15 @@ Requires:	gtk-doc
 %description devel
 This package contains the development tools for eekboard.
 
+%package python
+Summary:	Python binding of eekboard client library
+Group:		System Environment/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description python
+This package contains the Python language binding of eekboard client library.
+
+
 %prep
 %setup -q
 
@@ -110,6 +120,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 # GFDL
 %{_datadir}/gtk-doc/html/*
 
+%files python
+%defattr(-,root,root,-)
+%{python_sitelib}/eekboard/
+
 
 %changelog
 * Thu Feb 24 2011 Daiki Ueno <dueno at redhat.com> - 0.90.2-1


More information about the i18n-bugs mailing list