2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								#
							 | 
						
					
						
							
								
									
										
										
										
											2013-10-24 11:09:21 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# spec file for package python-nltk
							 | 
						
					
						
							
								
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								#
							 | 
						
					
						
							
								
									
										
										
										
											2016-10-15 13:47:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
							 | 
						
					
						
							
								
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								#
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# All modifications and additions to the file contributed by third parties
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# remain the property of their copyright owners, unless otherwise agreed
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# upon. The license for this file, and modifications and additions to the
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# file, is the same license as for the pristine package itself (unless the
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# license for the pristine package is not an Open Source License, in which
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# case the license is the MIT License). An "Open Source License" is a
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# license that conforms to the Open Source Definition (Version 1.9)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# published by the Open Source Initiative.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								# Please submit bugfixes or comments via http://bugs.opensuse.org/
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								#
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								Name:           python-nltk
							 | 
						
					
						
							
								
									
										
										
										
											2016-10-15 13:47:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								Version:        3.2.1
							 | 
						
					
						
							
								
									
										
										
										
											2011-09-23 12:31:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								Release:        0
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								Url:            http://nltk.org/
							 | 
						
					
						
							
								
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								Summary:        Natural Language Toolkit
							 | 
						
					
						
							
								
									
										
										
										
											2011-09-23 12:31:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								License:        Apache-2.0
							 | 
						
					
						
							
								
									
										
										
										
											2013-12-08 13:34:47 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								Group:          Development/Languages/Python
							 | 
						
					
						
							
								
									
										
										
										
											2016-10-15 13:47:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								Source:         https://files.pythonhosted.org/packages/source/n/nltk/nltk-%{version}.tar.gz
							 | 
						
					
						
							
								
									
										
										
										
											2011-09-23 12:31:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								BuildRoot:      %{_tmppath}/%{name}-%{version}-build
							 | 
						
					
						
							
								
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								BuildRequires:  python-devel
							 | 
						
					
						
							
								
									
										
										
										
											2013-10-24 11:09:21 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								BuildRequires:  python-setuptools
							 | 
						
					
						
							
								
									
										
										
										
											2016-10-15 13:47:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								BuildRequires:  python-PyYAML
							 | 
						
					
						
							
								
									
										
										
										
											2011-09-23 12:31:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								BuildRequires:  python-xml
							 | 
						
					
						
							
								
									
										
										
										
											2016-10-15 13:47:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								Requires:       python-PyYAML
							 | 
						
					
						
							
								
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								Requires:       python-numpy
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								Requires:       python-tk
							 | 
						
					
						
							
								
									
										
										
										
											2011-09-23 12:31:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								Requires:       python-xml
							 | 
						
					
						
							
								
									
										
										
										
											2013-12-08 13:34:47 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								%if 0%{?suse_version} && 0%{?suse_version} <= 1110
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								%else
							 | 
						
					
						
							
								
									
										
										
										
											2011-09-23 12:31:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								BuildArch:      noarch
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								%endif
							 | 
						
					
						
							
								
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								%description
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								NLTK -- the Natural Language Toolkit -- is a suite of open source
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								Python modules, data sets and tutorials supporting research and
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								development in Natural Language Processing.
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								%prep
							 | 
						
					
						
							
								
									
										
										
										
											2011-09-23 12:31:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								%setup -q -n nltk-%{version}
							 | 
						
					
						
							
								
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								%build
							 | 
						
					
						
							
								
									
										
										
										
											2011-09-23 12:31:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								python setup.py build
							 | 
						
					
						
							
								
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								%install
							 | 
						
					
						
							
								
									
										
										
										
											2011-09-23 12:31:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								python setup.py install --prefix=%{_prefix} --root="%{buildroot}"
							 | 
						
					
						
							
								
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2011-09-23 12:31:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								%files
							 | 
						
					
						
							
								
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								%defattr(-, root, root)
							 | 
						
					
						
							
								
									
										
										
										
											2016-10-15 13:47:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								%doc LICENSE.txt
							 | 
						
					
						
							
								
									
										
										
										
											2011-09-23 12:31:44 +00:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								%{python_sitelib}/*
							 | 
						
					
						
							
								
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								%changelog
							 |