]> git.pld-linux.org Git - packages/python-mecab.git/blob - python-mecab.spec
BR: rpmbuild(macros) >= 1.710
[packages/python-mecab.git] / python-mecab.spec
1 Summary:        MeCab module for Python
2 Summary(pl.UTF-8):      Moduł MeCab dla Pythona
3 Name:           python-mecab
4 Version:        0.996
5 Release:        2
6 License:        GPL v2 or LGPL v2.1 or BSD
7 Group:          Development/Languages/Python
8 #Source0Download: http://code.google.com/p/mecab/downloads/list
9 Source0:        http://mecab.googlecode.com/files/mecab-python-%{version}.tar.gz
10 # Source0-md5:  167da6c5f3865262852853efbd240c0e
11 URL:            http://code.google.com/p/mecab/
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  mecab-devel >= 0.996
14 BuildRequires:  python-devel
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  rpmbuild(macros) >= 1.710
17 Requires:       mecab >= 0.996
18 Requires:       python-libs
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 MeCab module for Python.
23
24 %description -l pl.UTF-8
25 Moduł MeCab dla Pythona.
26
27 %prep
28 %setup -q -n mecab-python-%{version}
29
30 %build
31 %py_build
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %py_install
37
38 %py_postclean
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc AUTHORS BSD COPYING README bindings.html
46 %{py_sitedir}/MeCab.py[co]
47 %attr(755,root,root) %{py_sitedir}/_MeCab.so
48 %if "%{py_ver}" > "2.4"
49 %{py_sitedir}/mecab_python-%{version}-py*.egg-info
50 %endif
This page took 0.078121 seconds and 3 git commands to generate.