diff --git a/feedgen-0.9.0.tar.gz b/feedgen-0.9.0.tar.gz new file mode 100644 index 0000000..3e13fc5 Binary files /dev/null and b/feedgen-0.9.0.tar.gz differ diff --git a/python-feedgen.spec b/python-feedgen.spec new file mode 100644 index 0000000..166549a --- /dev/null +++ b/python-feedgen.spec @@ -0,0 +1,53 @@ +%global pypi_name feedgen + +Name: python-%{pypi_name} +Version: 0.9.0 +Release: 1 +Summary: Feed Generator (ATOM, RSS, Podcasts) + +License: BSD or LGPLv3 +URL: https://github.com/lkiesow/python-feedgen +Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + + +%description +Feedgenerator This module can be used to generate web feeds in both ATOM and +RSS format. It has support for extensions. Included is for example an extension +to produce Podcasts. + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: python-%{pypi_name} + +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pip +BuildRequires: python3-wheel + +%description -n python3-%{pypi_name} +Feedgenerator This module can be used to generate web feeds in both ATOM and +RSS format. It has support for extensions. Included is for example an extension +to produce Podcasts. + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%license license.lgpl license.bsd +%doc readme.rst + +%{python3_sitelib}/feedgen-*dist-info/ +%{python3_sitelib}/feedgen/ + +%changelog +* Mon Jul 31 2023 mengzhaoa - 0.9.0-1 +- Init package python-feedgen of version 0.9.0