# Created by pyp2rpm-3.3.2 %global pypi_name xml-preferences Name: python-%{pypi_name} Version: 1.1.4 Release: 1%{?dist} Summary: xml-preferences reads and writes preferences infomation from XML files License: Apache 2.0 URL: https://github.com/barry-scott/xml-preferences Source0: https://files.pythonhosted.org/packages/source/x/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description Module xml_preferences xml_preferences uses a scheme to create a hierarchy of objects that represent the data stored in an XML files. CHanges to the objects can later to saved back into an XML file.The inspiration for this module is to store preferences for applications.Classes class xml_preferences.XmlPreferences __init__( scheme ) The *scheme* is an instance of xml_preferences.Scheme. load(... %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Module xml_preferences xml_preferences uses a scheme to create a hierarchy of objects that represent the data stored in an XML files. CHanges to the objects can later to saved back into an XML file.The inspiration for this module is to store preferences for applications.Classes class xml_preferences.XmlPreferences __init__( scheme ) The *scheme* is an instance of xml_preferences.Scheme. load(... %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitelib}/xml_preferences %{python3_sitelib}/xml_preferences-%{version}-py?.?.egg-info %changelog * Thu Mar 26 2020 mockbuilder - 1.1.4-1 - Initial package.