/[packages]/cauldron/python-tinysegmenter/current/SPECS/python-tinysegmenter.spec
ViewVC logotype

Annotation of /cauldron/python-tinysegmenter/current/SPECS/python-tinysegmenter.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (hide annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 2 months ago) by pterjan
File size: 940 byte(s)
oops
1 shlomif 297046 %define oname tinysegmenter
2     %define name python-%{oname}
3     %define version 0.1
4 umeabot 379566 %define release %mkrel 2
5 shlomif 297046
6     Name: %{name}
7     Version: %{version}
8     Release: %{release}
9     Summary: Python module implementing a Japanese tokenizer
10     Source0: http://pypi.python.org/packages/source/t/tinysegmenter/%{oname}-%{version}.tar.gz
11     URL: http://tinysegmenter.tuxfamily.org/
12    
13     Group: Development/Python
14     License: BSD
15     Requires: python >= 2.5
16     BuildArch: noarch
17    
18     %description
19     An extremely compact native Python module (contained into a single file)
20     providing a Japanese Tokenization feature.
21    
22     %prep
23     %setup -q -n tinysegmenter-%{version}
24    
25     %build
26     PYTHONDONTWRITEBYTECODE= %{__python} setup.py build
27    
28     %install
29     %__rm -rf %{buildroot}
30     PYTHONDONTWRITEBYTECODE= %{__python} setup.py install --skip-build --root=%{buildroot}
31    
32     %files
33     %defattr(-,root,root,-)
34     %doc README.rst COPYING AUTHORS
35     %py_puresitedir/*

  ViewVC Help
Powered by ViewVC 1.1.30