[8078] | 1 | %define ver 1.0.0 |
---|
[7591] | 2 | %define rel 1 |
---|
[3895] | 3 | |
---|
| 4 | Summary: simple network-diagram image generator |
---|
[7591] | 5 | Summary(ja): シンプルなテキストからネットワーク図を生成するツール |
---|
[3895] | 6 | Name: nwdiag |
---|
| 7 | Version: %{ver} |
---|
| 8 | Release: %{rel}%{?_dist_release} |
---|
| 9 | |
---|
| 10 | License: Apache License 2.0 |
---|
| 11 | Group: Applications/Text |
---|
[7591] | 12 | URL: http://blockdiag.com/ja/nwdiag/ |
---|
[3895] | 13 | Source0: http://pypi.python.org/packages/source/n/nwdiag/%{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 |
---|
[7591] | 19 | Requires: python(abi) = %pyver |
---|
[3895] | 20 | Requires: python >= 2.4 |
---|
| 21 | Requires: python-imaging >= 1.1.5 |
---|
| 22 | Requires: python-funcparserlib >= 0.3.4 |
---|
| 23 | |
---|
| 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
| 26 | Packager: iwaim |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | nwdiag generate network-diagram image file from spec-text file. |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | %__python setup.py build |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | %__rm -rf %{buildroot} |
---|
| 39 | %__python setup.py install --skip-build --root %{buildroot} |
---|
| 40 | |
---|
| 41 | %clean |
---|
| 42 | %__rm -rf %{buildroot} |
---|
| 43 | |
---|
| 44 | %files |
---|
| 45 | %defattr(-,root,root,-) |
---|
[7591] | 46 | %doc src/README.txt src/TODO.txt LICENSE examples |
---|
[3895] | 47 | %{_bindir}/nwdiag |
---|
[7591] | 48 | %{_bindir}/packetdiag |
---|
| 49 | %{_bindir}/rackdiag |
---|
[3895] | 50 | %{python_sitelib}/nwdiag-%{ver}-py*.egg-info |
---|
| 51 | %{python_sitelib}/nwdiag |
---|
[7591] | 52 | %{python_sitelib}/packetdiag |
---|
| 53 | %{python_sitelib}/rackdiag |
---|
[3895] | 54 | %{python_sitelib}/nwdiag_sphinxhelper.* |
---|
[7591] | 55 | %{python_sitelib}/packetdiag_sphinxhelper.* |
---|
| 56 | %{python_sitelib}/rackdiag_sphinxhelper.* |
---|
[3895] | 57 | |
---|
| 58 | %changelog |
---|
[8078] | 59 | * Mon Dec 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.0.0-1 |
---|
| 60 | - update to 1.0.0 |
---|
| 61 | |
---|
[7591] | 62 | * Sun Mar 3 2013 IWAI, Masaharu <iwai@alib.jp> 0.9.4-1 |
---|
| 63 | - new upstream release |
---|
| 64 | - add packetdiag and rackdiag |
---|
| 65 | - drop sphinxcontrib_nwdiag.*: upstream removed |
---|
| 66 | - add examples in doc dir |
---|
| 67 | - add Requires: python(abi) = %%pyver |
---|
| 68 | - add Summary(ja) |
---|
| 69 | - update URL: upstream moved |
---|
| 70 | |
---|
[5701] | 71 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.3-2 |
---|
| 72 | - rebuild with python-2.7.2 |
---|
| 73 | |
---|
[3895] | 74 | * Mon May 16 2011 IWAI, Masaharu <iwai@alib.jp> 0.2.3-1 |
---|
| 75 | - Initial build. |
---|