rpms/python-nltk_lite/devel python-nltk_lite.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Michel Alexandre Salim (salimma)
fedora-extras-commits at redhat.com
Sat Nov 11 02:58:16 UTC 2006
Author: salimma
Update of /cvs/extras/rpms/python-nltk_lite/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18318/devel
Modified Files:
.cvsignore sources
Added Files:
python-nltk_lite.spec
Log Message:
auto-import python-nltk_lite-0.6.6-1 on branch devel from python-nltk_lite-0.6.6-1.src.rpm
--- NEW FILE python-nltk_lite.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-nltk_lite
Version: 0.6.6
Release: 1%{?dist}
Summary: Natural Language Toolkit
Group: Development/Libraries
License: GPL
URL: http://nltk.sf.net/
Source0: http://dl.sourceforge.net/nltk/nltk_lite-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Obsoletes: python-nltk <= 1.4.4-2%{?dist}
BuildRequires: python
Requires: python-numarray, tkinter
%description
NLTK 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. It was designed primarily
to help teach graduate and undergraduate students about computational
linguistics; but it is also useful as a framework for implementing
research projects.
%prep
%setup -q -n nltk_lite-%{version}
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
# Make scripts executable
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/nltk_lite/test/doctest_driver.py
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/nltk_lite/stem/porter.py
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE.TXT README.txt
%dir %{python_sitelib}/nltk_lite
%dir %{python_sitelib}/nltk_lite/chat
%dir %{python_sitelib}/nltk_lite/cluster
%dir %{python_sitelib}/nltk_lite/contrib
%dir %{python_sitelib}/nltk_lite/corpora
%dir %{python_sitelib}/nltk_lite/draw
%dir %{python_sitelib}/nltk_lite/misc
%dir %{python_sitelib}/nltk_lite/model
%dir %{python_sitelib}/nltk_lite/parse
%dir %{python_sitelib}/nltk_lite/stem
%dir %{python_sitelib}/nltk_lite/tag
%dir %{python_sitelib}/nltk_lite/test
%dir %{python_sitelib}/nltk_lite/tokenize
%{python_sitelib}/nltk_lite/*.py*
%{python_sitelib}/nltk_lite/*/*.py*
%changelog
* Mon Oct 30 2006 Michel Salim <michel.salim at gmail.com> - 0.6.6-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-nltk_lite/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 11 Nov 2006 02:56:58 -0000 1.1
+++ .cvsignore 11 Nov 2006 02:57:46 -0000 1.2
@@ -0,0 +1 @@
+nltk_lite-0.6.6.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-nltk_lite/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 11 Nov 2006 02:56:58 -0000 1.1
+++ sources 11 Nov 2006 02:57:46 -0000 1.2
@@ -0,0 +1 @@
+24fd97b553d421686fa30226b210c143 nltk_lite-0.6.6.tar.gz
More information about the scm-commits
mailing list