File python-febelfin-coda.spec of Package python-febelfin-coda
#
# spec file for package python-febelfin-coda
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019-2022 Dr. Axel Braun <DocB@openSUSE.org>
#
# 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-%{**}}
%define skip_python2 1
%define base_name febelfin-coda
Name: python-%{base_name}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Version: 0.2.0
Release: 0
Source: https://pypi.io/packages/source/f/%{base_name}/%{base_name}-%{version}.tar.gz
Url: https://pypi.io/project/febelfin-coda
BuildArch: noarch
Summary: A module to parse CODA files
License: BSD-3-Clause
Group: Development/Languages/Python
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
febelfin-coda is a parser for CODA files.
CODA files: https://www.febelfin.be/sites/default/files/files/standard-coda-2.5-en.pdf
%prep
%setup -q -n %{base_name}-%{version}
%build
%python_build
%install
%python_install
%files %{python_files}
%defattr(-,root,root)
%doc README
%{python_sitelib}/*
%changelog