source: projects/specs/branches/6/n/nwdiag/nwdiag-vl.spec @ 3895

Revision 3895, 1.2 KB checked in by iwaim, 13 years ago (diff)

new: nwdiag

Line 
1%define ver 0.2.3
2%define rel 1
3
4Summary: simple network-diagram image generator
5Name: nwdiag
6Version: %{ver}
7Release: %{rel}%{?_dist_release}
8
9License: Apache License 2.0
10Group: Applications/Text
11URL: http://tk0miya.bitbucket.org/nwdiag/build/html/index.html
12Source0: http://pypi.python.org/packages/source/n/nwdiag/%{name}-%{version}.tar.gz
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
14BuildArch: noarch
15
16BuildRequires: python-devel >= 2.4
17BuildRequires: python-setuptools
18Requires: python >= 2.4
19Requires: python-imaging >= 1.1.5
20Requires: python-funcparserlib >= 0.3.4
21
22Vendor: Project Vine
23Distribution: Vine Linux
24Packager: iwaim
25
26%description
27nwdiag generate network-diagram image file from spec-text file.
28
29%prep
30%setup -q
31
32%build
33%__python setup.py build
34
35%install
36%__rm -rf %{buildroot}
37%__python setup.py install --skip-build --root %{buildroot}
38
39%clean
40%__rm -rf %{buildroot}
41
42%files
43%defattr(-,root,root,-)
44%doc src/README.txt src/TODO.txt LICENSE
45%{_bindir}/nwdiag
46%{python_sitelib}/nwdiag-%{ver}-py*.egg-info
47%{python_sitelib}/nwdiag
48%{python_sitelib}/sphinxcontrib_nwdiag.*
49%{python_sitelib}/nwdiag_sphinxhelper.*
50
51%changelog
52* Mon May 16 2011 IWAI, Masaharu <iwai@alib.jp> 0.2.3-1
53- Initial build.
Note: See TracBrowser for help on using the repository browser.