SPECS: python-nltk.spec (NEW) - version 0.9 based on python-nlt_lite
czarny
czarny at pld-linux.org
Sun Oct 21 13:04:55 CEST 2007
Author: czarny Date: Sun Oct 21 11:04:55 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- version 0.9 based on python-nlt_lite
---- Files affected:
SPECS:
python-nltk.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-nltk.spec
diff -u /dev/null SPECS/python-nltk.spec:1.1
--- /dev/null Sun Oct 21 13:04:55 2007
+++ SPECS/python-nltk.spec Sun Oct 21 13:04:49 2007
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+
+%define module nltk
+
+Summary: Natural Language Toolkit
+Summary(pl.UTF-8): Przybornik obsługi języków naturalnych (Natural Language Toolkit)
+Name: python-%{module}
+Version: 0.9
+Release: 0.1
+License: GPL
+Group: Libraries/Python
+Source0: http://dl.sourceforge.net/nltk/%{module}-%{version}.tar.gz
+# Source0-md5: 00cec5d3347a6aa69d26553635187f85
+#Patch0: %{name}-no-similarity.patch
+URL: http://nltk.sourceforge.net/
+BuildRequires: python-devel
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: unzip
+%pyrequires_eq python
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Natural Language Toolkit (NLTK-Lite) is a Python module for
+processing natural language text. It was developed as a simpler,
+lightweight version of NLTK.
+
+%description -l pl.UTF-8
+Natural Language Toolkit (NLTK-Lite) jest modułem języka Python
+przetwarzającym tekst w języku naturalnym. Został on stworzony
+jako prostsza, lekka wersja NLTK.
+
+%prep
+%setup -q -n %{module}-%{version}
+#%patch0 -p1
+
+%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/10/21 11:04:49 czarny
+- version 0.9 based on python-nlt_lite
+
+Revision 1.5 2007/06/12 15:06:13 zboczuch
+- added no-similarity patch
+- rel. 2
+
+Revision 1.4 2007/05/27 22:33:59 qboosh
+- typo, BR: rpm-pythonprov
+
+Revision 1.3 2007/05/27 12:42:16 beorn
+- Added missing BR:
+
+Revision 1.2 2007/05/27 12:40:13 beorn
+- pl
+- Group fix
+
+Revision 1.1 2007/05/26 22:17:58 arekm
+- initial
================================================================
More information about the pld-cvs-commit
mailing list