# Created by pyp2rpm-3.3.4 %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: %{pypi_source} 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%{python3_version}.egg-info %changelog * Sat Oct 10 2020 mockbuilder - 1.1.4-1 - Initial package.