%global srcname inema %global desc This is a python module for interfacing the "Internetmarke" API provided by the\ German postal company "Deutsche Post". It implements V3 of this API.\ \ The Internetmarke API allows you to buy online franking for national and\ international postal products like post cards and letters of all weight\ classes and service classes (normal, registered, ...). Name: python-%{srcname} Version: 0.8.6 Release: 2%{?dist} Summary: A Python interface to the Deutsche Post Internetmarke Online Franking License: AGPLv3+ URL: http://git.sysmocom.de/python-inema/ Source0: %pypi_source BuildArch: noarch # required for py3_build macro BuildRequires: python3-devel BuildRequires: python3-setuptools # from setup.py BuildRequires: python3-pytz BuildRequires: python3-zeep %{?python_enable_dependency_generator} %description %{desc} %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{desc} %prep %autosetup -p1 -n %{srcname}-%{version} %build sed -i '1,1s@^#!.*$@@' inema/frank.py inema/inema.py %py3_build %install %py3_install %files -n python3-%{srcname} %{_bindir}/frank %doc README.rst %{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}-*-py*.egg-info/ %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.8.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 09 2022 Georg Sauthoff - 0.8.6-1 - Update to latest upstream release (removes discontinued products) * Wed Jun 15 2022 Python Maint - 0.8.5-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.8.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 11 2021 Georg Sauthoff - 0.8.5-1 - Bump to latest upstream release (include price changes for 2022) * Fri Jul 23 2021 Fedora Release Engineering - 0.8.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.8.4-2 - Rebuilt for Python 3.10 * Sat May 1 2021 Georg Sauthoff - 0.8.4-1 - Bump to latest upstream release (supports discount prices and new warenpost API) * Wed Jan 27 2021 Fedora Release Engineering - 0.8.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Dec 06 2020 Georg Sauthoff - 0.8.3-1 - Bump to latest upstream release (COVID-19 VAT reduction ends and some other product changes happened) * Wed Jul 29 2020 Fedora Release Engineering - 0.8.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 26 2020 Georg Sauthoff - 0.8.2-2 - Be more explicit regarding setuptools depenency, cf. https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/GCPGM34ZGEOVUHSBGZTRYR5XKHTIJ3T7/ * Fri Jun 26 2020 Georg Sauthoff - 0.8.2-1 - Bump to latest upstream release (COVID-19 VAT updates) * Tue May 26 2020 Miro Hrončok - 0.8.1-4 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.8.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Dec 08 2019 Georg Sauthoff - 0.8.1-2 - Fix changelog date * Sun Dec 08 2019 Georg Sauthoff - 0.8.1-1 - Update to latest upstream version * Mon Aug 19 2019 Miro Hrončok - 0.8-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jul 14 2019 Georg Sauthoff - 0.8-1 - Update to latest upstream version * Wed Mar 27 2019 Georg Sauthoff - 0.6-1 - initial packaging