1 | %define ver 1.3.2 |
---|
2 | %define rel 1 |
---|
3 | |
---|
4 | Summary: simple block-diagram image generator |
---|
5 | Summary(ja): シンプルなテキストからブロック図を生成するツール |
---|
6 | Name: blockdiag |
---|
7 | Version: %{ver} |
---|
8 | Release: %{rel}%{?_dist_release} |
---|
9 | |
---|
10 | License: Apache License 2.0 |
---|
11 | Group: Applications/Text |
---|
12 | URL: http://blockdiag.com/ja/ |
---|
13 | Source0: http://pypi.python.org/packages/source/b/blockdiag/%{name}-%{version}.tar.gz |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
---|
15 | BuildArch: noarch |
---|
16 | |
---|
17 | BuildRequires: python-devel >= 2.4 |
---|
18 | BuildRequires: python-setuptools |
---|
19 | Requires: python >= 2.4 |
---|
20 | Requires: python(abi) = %pyver |
---|
21 | Requires: python-imaging >= 1.1.5 |
---|
22 | Requires: python-funcparserlib >= 0.3.4 |
---|
23 | Requires: python-webcolors |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | Packager: iwaim |
---|
28 | |
---|
29 | %description |
---|
30 | blockdiag generate block-diagram image file from spec-text file. |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q |
---|
34 | |
---|
35 | %build |
---|
36 | %__python setup.py build |
---|
37 | |
---|
38 | %install |
---|
39 | %__rm -rf %{buildroot} |
---|
40 | %__python setup.py install --skip-build --root %{buildroot} |
---|
41 | |
---|
42 | %clean |
---|
43 | %__rm -rf %{buildroot} |
---|
44 | |
---|
45 | %files |
---|
46 | %defattr(-,root,root,-) |
---|
47 | %doc examples src/README.txt src/TODO.txt |
---|
48 | %{_bindir}/blockdiag |
---|
49 | %{python_sitelib}/blockdiag-%{ver}-py*.egg-info |
---|
50 | %{python_sitelib}/blockdiag |
---|
51 | %{python_sitelib}/blockdiag_sphinxhelper.* |
---|
52 | |
---|
53 | %changelog |
---|
54 | * Mon Dec 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.3.2-1 |
---|
55 | - update to 1.3.2 |
---|
56 | |
---|
57 | * Sun Mar 3 2013 IWAI, Masaharu <iwai@alib.jp> 1.2.4-1 |
---|
58 | - new upstream release |
---|
59 | - add Requires: python-webcolors |
---|
60 | - add Requires: python(abi) = %%pyver |
---|
61 | - add Summary(ja) |
---|
62 | - update URL: upstream moved |
---|
63 | |
---|
64 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.1-2 |
---|
65 | - rebuild with python-2.7.2 |
---|
66 | |
---|
67 | * Mon May 16 2011 IWAI, Masaharu <iwai@alib.jp> 0.8.1-1 |
---|
68 | - Initial build. |
---|
69 | |
---|