%global _empty_manifest_terminate_build 0 Name: python-podcastparser Version: 0.6.9 Release: 1 Summary: Simplified, fast RSS parser License: ISC License URL: http://gpodder.org/podcastparser/ Source0: https://mirrors.nju.edu.cn/pypi/web/packages/90/48/cae76d73226746a5c17ed58fcdf32b8f2cea54f9deca882fd67f82b6b4f7/podcastparser-0.6.9.tar.gz BuildArch: noarch %description The podcast parser project is a library from the gPodder project to provide an easy and reliable way of parsing RSS- and Atom-based podcast feeds in Python. See docs in [./doc](./doc) or at [Read the Docs](https://podcastparser.readthedocs.io/en/latest/). ## Automated Tests To run the unit tests you need [`pytest`](https://docs.pytest.org/). If you have `pytest` installed, use the `pytest` command in the repository's root directory to run the tests. ## Automated Release to Pypi To release, update the version number in podcastparser.py, commit and push. Then create an (annotated) tag and push it. The GitHub action will publish on pypi. %package -n python3-podcastparser Summary: Simplified, fast RSS parser Provides: python-podcastparser BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-podcastparser The podcast parser project is a library from the gPodder project to provide an easy and reliable way of parsing RSS- and Atom-based podcast feeds in Python. See docs in [./doc](./doc) or at [Read the Docs](https://podcastparser.readthedocs.io/en/latest/). ## Automated Tests To run the unit tests you need [`pytest`](https://docs.pytest.org/). If you have `pytest` installed, use the `pytest` command in the repository's root directory to run the tests. ## Automated Release to Pypi To release, update the version number in podcastparser.py, commit and push. Then create an (annotated) tag and push it. The GitHub action will publish on pypi. %package help Summary: Development documents and examples for podcastparser Provides: python3-podcastparser-doc %description help The podcast parser project is a library from the gPodder project to provide an easy and reliable way of parsing RSS- and Atom-based podcast feeds in Python. See docs in [./doc](./doc) or at [Read the Docs](https://podcastparser.readthedocs.io/en/latest/). ## Automated Tests To run the unit tests you need [`pytest`](https://docs.pytest.org/). If you have `pytest` installed, use the `pytest` command in the repository's root directory to run the tests. ## Automated Release to Pypi To release, update the version number in podcastparser.py, commit and push. Then create an (annotated) tag and push it. The GitHub action will publish on pypi. %prep %autosetup -n podcastparser-0.6.9 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-podcastparser -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri Apr 07 2023 Python_Bot - 0.6.9-1 - Package Spec generated