1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
%define modname podcastparser %def_enable check Name: python-module-%modname Version: 0.6.4 Release: alt1 Summary: Simple, fast and efficient podcast parser written in Python. Group: Development/Python License: BSD Url: http://gpodder.org/%modname BuildArch: noarch Source: %url/%modname-%version.tar.gz BuildRequires: python-devel python-module-setuptools python-modules-json BuildRequires: python3-devel rpm-build-python3 python3-module-setuptools # for check BuildRequires: python-test python3-test python-module-nose python3-module-nose %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. %package -n python3-module-%modname Summary: Simple, fast and efficient podcast parser written in Python3. Group: Development/Python3 License: BSD %description -n python3-module-%modname 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. %prep %setup -n %modname-%version -a0 mv %modname-%version py3build %build %python_build pushd py3build %python3_build popd %install %python_install pushd py3build %python3_install popd %if_enabled check %check %__python test_%modname.py pushd py3build %__python3 test_%modname.py popd %endif %files %python_sitelibdir_noarch/%{modname}* %doc README.md %files -n python3-module-%modname %python3_sitelibdir_noarch/%{modname}* %python3_sitelibdir_noarch/__pycache__/%{modname}* %doc README.md %changelog * Fri Aug 31 2018 Yuri N. Sedunov <aris@altlinux.org> 0.6.4-alt1 - 0.6.4 * Wed Jan 31 2018 Yuri N. Sedunov <aris@altlinux.org> 0.6.3-alt1 - 0.6.3 * Fri Nov 03 2017 Yuri N. Sedunov <aris@altlinux.org> 0.6.2-alt1 - 0.6.2 * Sun Jan 08 2017 Yuri N. Sedunov <aris@altlinux.org> 0.6.1-alt1 - first build for Sisyphus