%global module trml2pdf Name: python-%{module} Version: 0.6 Release: 2%{?dist} License: LGPLv2 Summary: Easy creating PDF using ReportLab's RML URL: https://github.com/romanlv/trml2pdf Source0: https://github.com/romanlv/trml2pdf/archive/%{version}/%{module}-%{version}.tar.gz BuildRequires: python3-setuptools # python3-devel BuildRequires: pkgconfig(python3) # python3-six BuildRequires: %{py3_dist six} >= 1.9 # python3-reportlab BuildRequires: %{py3_dist reportlab} >= 3.2 Requires: %{py3_dist reportlab} >= 3.2 BuildArch: noarch %description Open source implementation of RML (Report Markup Language) from ReportLab %package -n python3-%{module} Summary: %{summary} %py_provides python3-%{module} %description -n python3-%{module} Open source implementation of RML (Report Markup Language) from ReportLab %prep %autosetup -n %{module}-%{version} %build %py3_build %install %py3_install %{__install} -Dp -m0644 doc/trml2pdf.1 %{buildroot}%{_mandir}/man1/trml2pdf.1 %check %py3_build test %files -n python3-%{module} %license LICENSE.txt doc/COPYRIGHT.txt %doc README.md doc/CREDITS.md %{_bindir}/%{module} %{python3_sitelib}/%{module}/ %{python3_sitelib}/%{module}-%{version}-py*.egg-info/ %{_mandir}/man1/trml2pdf.1.* %changelog * Mon May 03 2021 TI_Eugene - 0.6-2 - py_provides typo fixed - Source URL fixed * Sun Jan 31 2021 TI_Eugene - 0.6-1 - Initial build