File python-plantuml.spec of Package python-plantuml
#
# spec file for package python-plantuml
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-plantuml
Version: 0.3.0
Release: 0
License: BSD-2-Clause
Summary: Python remote client interface to a plantuml server
Url: https://github.com/dougn/python-plantuml/
Group: Development/Languages/Python
Source: plantuml-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module httplib2}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
Requires: python-httplib2
Requires: python-six
BuildArch: noarch
%python_subpackages
%description
[Plantuml](http://plantuml.sourceforge.net/index.html) is a library for
generating UML diagrams from a simple text markup language.
This is a simple python remote client interface to a
[plantuml](http://plantuml.sourceforge.net/index.html) server using the
same custom encoding used by most other plantuml
[clients](http://plantuml.sourceforge.net/running.html).
%prep
%setup -q -n plantuml-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%{python_sitelib}/*
%changelog