File python-openstep-plist.spec of Package python-openstep-plist

#
# spec file for package python-openstep-plist
#
# Copyright (c) 2022 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 https://bugs.opensuse.org/
#


%define skip_python2 1
%define pkgname openstep-plist
%{?sle15_python_module_pythons}
Name:           python-%{pkgname}
Version:        0.5.0
Release:        0
Summary:        ASCII plist parser written in Cython
License:        MIT
Group:          Development/Languages/Python
URL:            https://github.com/fonttools/%{pkgname}
Source:         openstep_plist-%{version}.tar.gz
BuildRequires:  %{python_module Cython}
BuildRequires:  %{python_module setuptools_scm}
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  python-rpm-macros
%python_subpackages

%description
A parser for the "old style" OpenStep property list format (also known as ASCII plist), written in Cython.

%prep
%setup -q -n openstep_plist-%{version}

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{python_sitearch}

%files %{python_files}
%license LICENSE
%{python_sitearch}/*

%changelog
openSUSE Build Service is sponsored by