SPECS: python-nltk_lite.spec (NEW) - initial
arekm
arekm at pld-linux.org
Sun May 27 00:18:03 CEST 2007
Author: arekm Date: Sat May 26 22:18:03 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
python-nltk_lite.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-nltk_lite.spec
diff -u /dev/null SPECS/python-nltk_lite.spec:1.1
--- /dev/null Sun May 27 00:18:03 2007
+++ SPECS/python-nltk_lite.spec Sun May 27 00:17:58 2007
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+
+%define module nltk_lite
+
+Summary: Natural Language Toolkit
+Name: python-%{module}
+Version: 0.7.5
+Release: 1
+License: GPL
+Group: Development/Languages/Python
+Source0: http://dl.sourceforge.net/nltk/nltk_lite-%{version}.tar.gz
+# Source0-md5: eece3cdf514c049051599ec3983b7186
+URL: http://nltk.sourceforge.net/
+%pyrequires_eq python
+BuildRequires: python-devel
+BuildRequires: unzip
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Natural Langauge Toolkit (NLTK-Lite) is a Python package for
+processing natural language text. It was developed as a simpler,
+lightweight version of NLTK.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python ./setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python ./setup.py install \
+ --optimize 2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.txt
+%{py_sitescriptdir}/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/05/26 22:17:58 arekm
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list