1 |
shlomif |
297046 |
%define oname tinysegmenter |
2 |
|
|
|
3 |
ovitters |
648180 |
Name: python-%{oname} |
4 |
|
|
Version: 0.1 |
5 |
umeabot |
688382 |
Release: %mkrel 6 |
6 |
shlomif |
297046 |
Summary: Python module implementing a Japanese tokenizer |
7 |
|
|
Source0: http://pypi.python.org/packages/source/t/tinysegmenter/%{oname}-%{version}.tar.gz |
8 |
|
|
URL: http://tinysegmenter.tuxfamily.org/ |
9 |
|
|
|
10 |
|
|
Group: Development/Python |
11 |
|
|
License: BSD |
12 |
|
|
Requires: python >= 2.5 |
13 |
|
|
BuildArch: noarch |
14 |
|
|
|
15 |
|
|
%description |
16 |
|
|
An extremely compact native Python module (contained into a single file) |
17 |
|
|
providing a Japanese Tokenization feature. |
18 |
|
|
|
19 |
|
|
%prep |
20 |
|
|
%setup -q -n tinysegmenter-%{version} |
21 |
|
|
|
22 |
|
|
%build |
23 |
philippem |
472741 |
%{__python} setup.py build |
24 |
shlomif |
297046 |
|
25 |
|
|
%install |
26 |
philippem |
472741 |
%{__python} setup.py install --skip-build --root=%{buildroot} |
27 |
shlomif |
297046 |
|
28 |
|
|
%files |
29 |
|
|
%doc README.rst COPYING AUTHORS |
30 |
philippem |
472741 |
%{python_sitelib}/* |