]> git.pld-linux.org Git - packages/python-nltk.git/blame - python-nltk.spec
- rel 2
[packages/python-nltk.git] / python-nltk.spec
CommitLineData
5137c4e8 1
1a61d196
JR
2%define module nltk
3%define pre b9
5137c4e8 4
5Summary: Natural Language Toolkit
6Summary(pl.UTF-8): Przybornik obsługi języków naturalnych (Natural Language Toolkit)
7Name: python-%{module}
1a61d196 8Version: 2.0
b44f90e2 9Release: 0.%{pre}.2
5137c4e8 10License: GPL
11Group: Libraries/Python
1a61d196
JR
12Source0: http://nltk.googlecode.com/files/%{module}-%{version}%{pre}.zip
13# Source0-md5: ee983f8023375f2b65aa4607c405a986
e9f89c1f 14URL: http://www.nltk.org/
7f437c64 15BuildRequires: pydoc
5137c4e8 16BuildRequires: python-devel
1a61d196 17BuildRequires: python-PyYAML
5137c4e8 18BuildRequires: rpm-pythonprov
19BuildRequires: rpmbuild(macros) >= 1.219
20BuildRequires: unzip
21%pyrequires_eq python
b44f90e2 22Requires: python-PyYAML
1a61d196
JR
23Suggests: python-numpy
24Suggests: python-matplotlib
25Suggests: prover9
26#Suggests: MaltParser: http://w3.msi.vxu.se/~jha/maltparser/dist/malt-1.2.tar.gz
27#Suggests: MegaM: http://hal3.name/megam/megam_src.tgz
5137c4e8 28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
1a61d196
JR
32The Natural Language Toolkit is a Python module for
33processing natural language text.
5137c4e8 34
35%description -l pl.UTF-8
1a61d196
JR
36Natural Language Toolkit jest modułem języka Python
37przetwarzającym tekst w języku naturalnym.
5137c4e8 38
39%prep
1a61d196 40%setup -q -n %{module}-%{version}%{pre}
5137c4e8 41
42%build
43python ./setup.py build
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48python ./setup.py install \
49 --optimize 2 \
50 --root=$RPM_BUILD_ROOT
51
52%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
53%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
54%py_postclean
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc *.txt
62%{py_sitescriptdir}/*
This page took 0.326968 seconds and 4 git commands to generate.