| 
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2010-02-26 10:34:38 +00:00
										 |  |  | # spec file for package python-nltk (Version 2.0b8)
 | 
					
						
							| 
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # Copyright 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | # 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/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # norootforbuild
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %define modname nltk
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Name:           python-nltk
 | 
					
						
							| 
									
										
										
										
											2010-02-26 10:34:38 +00:00
										 |  |  | Version:        2.0b8
 | 
					
						
							| 
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 |  |  | Release:        1
 | 
					
						
							|  |  |  | License:        Apache V2.0
 | 
					
						
							|  |  |  | Summary:        Natural Language Toolkit
 | 
					
						
							|  |  |  | Group:          Development/Libraries/Python
 | 
					
						
							|  |  |  | Url:            http://www.nltk.org/
 | 
					
						
							|  |  |  | Source0:        nltk-%{version}.tar.bz2
 | 
					
						
							|  |  |  | %{py_requires}
 | 
					
						
							|  |  |  | BuildRequires:  python-devel
 | 
					
						
							| 
									
										
										
										
											2010-02-26 10:34:38 +00:00
										 |  |  | BuildRequires:  python-yaml
 | 
					
						
							| 
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 |  |  | BuildRequires:  pyxml
 | 
					
						
							|  |  |  | BuildRequires:  unzip
 | 
					
						
							|  |  |  | Requires:       python-numpy
 | 
					
						
							|  |  |  | Requires:       python-tk
 | 
					
						
							|  |  |  | Requires:       python-yaml
 | 
					
						
							|  |  |  | Requires:       pyxml
 | 
					
						
							|  |  |  | Recommends:     python-matplotlib
 | 
					
						
							|  |  |  | BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
					
						
							|  |  |  | # Build as noarch for >= 11.2
 | 
					
						
							|  |  |  | %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
 | 
					
						
							|  |  |  | BuildArch: noarch
 | 
					
						
							|  |  |  | %endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %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.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Authors:
 | 
					
						
							|  |  |  | --------
 | 
					
						
							|  |  |  |     Steven Bird <sb@csse.unimelb.edu.au>
 | 
					
						
							| 
									
										
										
										
											2010-02-26 10:34:38 +00:00
										 |  |  |     Edward Loper <edloper@gradient.cis.upenn.edu>
 | 
					
						
							|  |  |  |     Ewan Klein <ewan@inf.ed.ac.uk>
 | 
					
						
							| 
									
										
										
										
											2010-01-15 14:00:38 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							|  |  |  | %setup -q -n %{modname}-%{version}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							|  |  |  | %{__python} setup.py build
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							|  |  |  | %{__python} setup.py install --prefix=%{_prefix} --record-rpm=INSTALLED_FILES --root="$RPM_BUILD_ROOT"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %clean
 | 
					
						
							|  |  |  | rm -rf %{buildroot}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files -f INSTALLED_FILES
 | 
					
						
							|  |  |  | %defattr(-, root, root)
 | 
					
						
							|  |  |  | %doc README.txt LICENSE.txt
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |