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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 499564 - (show annotations) (download)
Mon Oct 14 23:56:08 2013 UTC (10 years, 6 months ago) by pterjan
File size: 870 byte(s)
Rebuild to add different pythonegg provides for python 2 and 3
1 %define oname tinysegmenter
2 %define name python-%{oname}
3 %define version 0.1
4 %define release %mkrel 3
5
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 %{__python} setup.py build
27
28 %install
29 %{__python} setup.py install --skip-build --root=%{buildroot}
30
31 %files
32 %defattr(-,root,root,-)
33 %doc README.rst COPYING AUTHORS
34 %{python_sitelib}/*

  ViewVC Help
Powered by ViewVC 1.1.30