python-feedgen/python-feedgen.spec
2023-08-01 08:56:33 +08:00

54 lines
1.4 KiB
RPMSpec

%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