!1 Init package python-feedgen of version 0.9.0
From: @mengzhaoa Reviewed-by: @desert-sailor Signed-off-by: @desert-sailor
This commit is contained in:
commit
981341f53c
BIN
feedgen-0.9.0.tar.gz
Normal file
BIN
feedgen-0.9.0.tar.gz
Normal file
Binary file not shown.
53
python-feedgen.spec
Normal file
53
python-feedgen.spec
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user