Init pacakge python-feedgen of version 0.9.0.

This commit is contained in:
mengzhaoa 2023-07-31 11:13:29 +08:00
parent f095ae401a
commit 1d620887e0
2 changed files with 53 additions and 0 deletions

BIN
feedgen-0.9.0.tar.gz Normal file

Binary file not shown.

53
python-feedgen.spec Normal file
View File

@ -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 <mengzhaoa@isoftstone.com> - 0.9.0-1
- Init package python-feedgen of version 0.9.0