Summary: simple activity-diagram image generator
Summary(ja): シンプルなテキストからアクティビティ図を生成するツール
Name: actdiag
Version: 2.0.0
Release: 1%{?_dist_release}
Group: graphics
Vendor: Project Vine
Distribution: Vine Linux
Packager: iwaim

License: Apache License 2.0
URL: http://blockdiag.com/ja/actdiag/
Source0: https://pypi.python.org/packages/source/a/actdiag/%{name}-%{version}.tar.gz

BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

BuildRequires: python-rpm-macros
BuildRequires: python-devel >= 2.4
BuildRequires: python-setuptools
BuildRequires: python2-rpm-macros
Requires: python >= 2.4
Requires: python(abi) = %pyver
Requires: blockdiag

%description
actdiag generate activity-diagram image file from spec-text file.


%package -n python3-actdiag
Summary: simple activity-diagram image generator
Summary(ja): シンプルなテキストからアクティビティ図を生成するツール
Group: graphics
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-rpm-macros
Requires: python3
Requires: python3-blockdiag

%description -n python3-actdiag
seqdiag generate sequence-diagram image file from spec-text file.


%prep
%setup -q


%build
%py2_build
%py3_build


%install
%__rm -rf %{buildroot}
%py2_install
%py3_install


%clean
%__rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%license LICENSE
%doc README*
%{_bindir}/actdiag
%{python_sitelib}/actdiag-%{version}-py*.egg-info
%{python_sitelib}/actdiag
%{python_sitelib}/actdiag_sphinxhelper.*

%files -n python3-actdiag
%defattr(-,root,root,-)
%license LICENSE
%doc README*
%{_bindir}/actdiag
%{python3_sitelib}/actdiag*
%{python3_sitelib}/__pycache__/*


%changelog
* Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.0-1
- new upstream release.

* Thu Nov 21 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.5.4-1
- new upstream release.
- added python3 support.

* Mon Dec 30 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.5.1-1
- update to 0.5.1

* Sun Mar  3 2013 IWAI, Masaharu <iwai@alib.jp> 0.4.3-1
- new upstream release
 - drop sphinxcontrib_actdiag.*: upstream removed
- add Requires: python(abi) = %%pyver
- add Summary(ja)
- update URL: upstream moved

* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.5-2
- rebuild with python-2.7.2

* Mon May 16 2011 IWAI, Masaharu <iwai@alib.jp> 0.1.5-1
- Initial build.
