rpms/python-nltk/EL-5 .cvsignore, 1.2, 1.3 python-nltk.spec, 1.3, 1.4 sources, 1.2, 1.3
Michel Alexandre Salim (salimma)
fedora-extras-commits at redhat.com
Mon Jan 21 04:29:13 UTC 2008
- Previous message (by thread): rpms/python-nltk/F-8 .cvsignore, 1.3, 1.4 python-nltk.spec, 1.6, 1.7 sources, 1.4, 1.5
- Next message (by thread): rpms/python-nltk/devel .cvsignore, 1.3, 1.4 python-nltk.spec, 1.6, 1.7 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: salimma
Update of /cvs/pkgs/rpms/python-nltk/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28237/EL-5
Modified Files:
.cvsignore python-nltk.spec sources
Log Message:
Update nltk to final 0.9
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-nltk/EL-5/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 17 Nov 2005 05:22:25 -0000 1.2
+++ .cvsignore 21 Jan 2008 04:27:53 -0000 1.3
@@ -1 +1 @@
-nltk-1.4.4.tar.gz
+nltk-0.9.tar.gz
Index: python-nltk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-nltk/EL-5/python-nltk.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- python-nltk.spec 8 Nov 2006 16:22:21 -0000 1.3
+++ python-nltk.spec 21 Jan 2008 04:27:53 -0000 1.4
@@ -1,38 +1,55 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+# define prerel
Name: python-nltk
-Version: 1.4.4
-Release: 3%{?dist}
+Epoch: 1
+Version: 0.9
+Release: 1%{?dist}
Summary: Natural Language Toolkit
Group: Development/Libraries
-License: GPL
+License: GPLv2
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
+Source0: http://osdn.dl.sourceforge.net/sourceforge/nltk/nltk-%{version}%{?prerel}.tar.gz
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+BuildArch: noarch
-BuildRequires: python
-Requires: python-numarray, tkinter
+Obsoletes: python-nltk_lite <= 0.6.6-2%{?dist}
+Provides: python-nltk_lite = %{version}-%{release}
+
+BuildRequires: python-devel, tkinter
+Requires: numpy, python-matplotlib, 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.
+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-%{version}
+%setup -q -n nltk-%{version}%{?prerel}
%build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
-
+%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
+sed -ie 's|\xD1|-|g' README.txt
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+# Make scripts executable
+pushd $RPM_BUILD_ROOT%{python_sitelib}
+pushd nltk
+chmod +x stem/{porter,rslp}.py misc/nemo.py corpus/reader/toolbox.py
+chmod +x test/{coverage,doctest_driver}.py
+popd
+chmod +x nltk_contrib/{bioreader/bioreader,toolbox/{settings,language,data}}.py
+popd
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -40,30 +57,26 @@
%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/*/*.py*
+%doc LICENSE.txt README.txt
+%{python_sitelib}/nltk
+%{python_sitelib}/nltk_contrib
+%{python_sitelib}/yaml
%changelog
-* Wed Nov 8 2006 Michel Salim <michel.salim at gmail.com> - 1.4.4-3
-- Include *.pyos, for compliance with new Python guidelines
+* Sun Jan 20 2008 Michel Salim <michel.sylvan at gmail.com> - 1:0.9-1
+- Update to final 0.9
+- Add Epoch to clear upgrade path from (old) 1.4.4
+
+* Fri Sep 22 2007 Michel Salim <michel.sylvan at gmail.com> - 0.9-0.2.b2
+- BR on tkinter, it is now needed at build time
+
+* Fri Sep 21 2007 Michel Salim <michel.sylvan at gmail.com> - 0.9-0.1.b2
+- Updated to 0.9b2
+- Renamed back to python-nltk
-* Mon Oct 9 2006 Michel Salim <michel.salim at gmail.com> - 1.4.4-2
-- Rebuild for FE6
+* Mon Dec 18 2006 Michel Salim <michel.salim at gmail.com> - 0.6.6-2
+- Rebuild for development branch
-* Sun Sep 11 2005 Michel Salim <michel.salim[AT]gmail.com> - 1.4.4-1
+* Mon Oct 30 2006 Michel Salim <michel.salim at gmail.com> - 0.6.6-1
- Initial package
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-nltk/EL-5/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 17 Nov 2005 05:22:25 -0000 1.2
+++ sources 21 Jan 2008 04:27:53 -0000 1.3
@@ -1 +1 @@
-fb402d42d71844fe4483affa100814e5 nltk-1.4.4.tar.gz
+00cec5d3347a6aa69d26553635187f85 nltk-0.9.tar.gz
- Previous message (by thread): rpms/python-nltk/F-8 .cvsignore, 1.3, 1.4 python-nltk.spec, 1.6, 1.7 sources, 1.4, 1.5
- Next message (by thread): rpms/python-nltk/devel .cvsignore, 1.3, 1.4 python-nltk.spec, 1.6, 1.7 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list