[python-tashaphyne] Initial import (#1051837).

Mosaab Alzoubi moceap at fedoraproject.org
Mon Feb 24 23:29:24 UTC 2014


commit 8fea2f6025ffea713a2a3698bea2b575b3e06c33
Author: Mosaab Alzoubi <moceap at hotmail.com>
Date:   Tue Feb 25 02:29:56 2014 +0300

    Initial import (#1051837).

 .gitignore             |    1 +
 python-tashaphyne.spec |   41 +++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..71c539f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Tashaphyne-0.2.zip
diff --git a/python-tashaphyne.spec b/python-tashaphyne.spec
new file mode 100644
index 0000000..63aa6de
--- /dev/null
+++ b/python-tashaphyne.spec
@@ -0,0 +1,41 @@
+%global modname tashaphyne
+%global distname Tashaphyne
+
+Name:				python-%{modname}
+Version:			0.2
+Release:			1%{?dist}
+Summary:			Arabic Light Stemmer and segmenter
+Summary(ar):		مقطّع خفيف في العربية
+Group:				Applications/Publishing
+License:			GPLv2 and BSD
+URL:				https://pypi.python.org/pypi/%{distname}
+Source:				https://pypi.python.org/packages/source/T/%{distname}/%{distname}-%{version}.zip
+BuildArch:			noarch
+BuildRequires:		python2-devel
+BuildRequires:		python-setuptools
+
+%description
+Arabic language text Stemmer and segmenter to be used by Python.
+
+%description -l ar
+أداة تقطيع في اللّغة العربية للاستخدام ضمن بيئة بيثون.
+
+%prep
+%setup -q -n %{distname}-%{version}
+#Site of files just for including:
+sed -i 's:#!/usr/bin/python::g' %{modname}/{normalize.py,arabic_const.py}
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
+
+%files
+%doc README
+%{python2_sitelib}/%{modname}/
+%{python2_sitelib}/%{distname}-%{version}*
+
+%changelog
+* Sat Jan 11 2014 Mosaab Alzoubi <moceap at hotmail.com> - 0.2-1
+- Initial build.
diff --git a/sources b/sources
index e69de29..cf418af 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+07ae239fb8aef7d4af2f347d4b81ab21  Tashaphyne-0.2.zip


More information about the scm-commits mailing list