rpms/python-nltk/devel python-nltk.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Michel Alexandre Salim (salimma)
fedora-extras-commits at redhat.com
Thu Nov 17 05:22:27 UTC 2005
Author: salimma
Update of /cvs/extras/rpms/python-nltk/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23246/devel
Modified Files:
.cvsignore sources
Added Files:
python-nltk.spec
Log Message:
auto-import python-nltk-1.4.4-1 on branch devel from python-nltk-1.4.4-1.src.rpm
Initial import of NLTK, a natural language toolkit for Python
--- NEW FILE python-nltk.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-nltk
Version: 1.4.4
Release: 1%{?dist}
Summary: Natural Language Toolkit
Group: Development/Libraries
License: GPL
URL: http://nltk.sf.net/
Source0: http://dl.sourceforge.net/nltk/nltk-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python
Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
Requires: python-numarray, tkinter
%description
The Natural Language Toolkit is a Python package that simplifies the
construction of programs that process natural language, and defines standard
interfaces between the different components of an NLP system.
%prep
%setup -q -n nltk-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc CHANGELOG.TXT LICENSE.TXT README.TXT
%dir %{python_sitelib}/nltk
%dir %{python_sitelib}/nltk/classifier
%dir %{python_sitelib}/nltk/clusterer
%dir %{python_sitelib}/nltk/corpus
%dir %{python_sitelib}/nltk/draw
%dir %{python_sitelib}/nltk/feature
%dir %{python_sitelib}/nltk/hmm
%dir %{python_sitelib}/nltk/parser
%dir %{python_sitelib}/nltk/stemmer
%dir %{python_sitelib}/nltk/tagger
%dir %{python_sitelib}/nltk/test
%dir %{python_sitelib}/nltk/tokenizer
%dir %{python_sitelib}/nltk/tokenreader
%{python_sitelib}/nltk/*.py
%{python_sitelib}/nltk/*.pyc
%{python_sitelib}/nltk/*/*.py
%{python_sitelib}/nltk/*/*.pyc
%ghost %{python_sitelib}/nltk/*.pyo
%ghost %{python_sitelib}/nltk/*/*.pyo
%changelog
* Sun Sep 11 2005 Michel Salim <michel.salim[AT]gmail.com> - 1.4.4-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-nltk/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 17 Nov 2005 05:21:19 -0000 1.1
+++ .cvsignore 17 Nov 2005 05:22:25 -0000 1.2
@@ -0,0 +1 @@
+nltk-1.4.4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-nltk/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 17 Nov 2005 05:21:19 -0000 1.1
+++ sources 17 Nov 2005 05:22:25 -0000 1.2
@@ -0,0 +1 @@
+fb402d42d71844fe4483affa100814e5 nltk-1.4.4.tar.gz
More information about the fedora-extras-commits
mailing list