# Created by pyp2rpm-3.3.2 %global pypi_name pychm Name: python-chm Version: 0.8.4.1 Release: 30%{?dist} Summary: Python package for CHM files handling License: GPLv2+ URL: https://github.com/dottedmag/pychm Source0: %{pypi_source} # https://github.com/dottedmag/pychm/pull/5 Patch0: https://patch-diff.githubusercontent.com/raw/dottedmag/pychm/pull/5.patch#/0001-Python3-port.patch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: gcc BuildRequires: chmlib-devel %global _description\ The python chm package provides three modules, chm, chmlib and extra,\ which provide access to the API implemented by the C library chmlib\ and some additional classes and functions. They are used to access\ MS-ITSS encoded files - Compressed Html Help files (.chm). %description %_description %package -n python3-chm Summary: %{summary} %{?python_provide:%python_provide python3-chm} %description -n python3-chm %_description %prep %autosetup -p1 -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %files -n python3-chm %doc README %license COPYING %{python3_sitearch}/chm/ %{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Fri May 03 16:39:22 CEST 2019 Robert-André Mauchin - 0.8.4.1-30 - Python 3 version * Sat Feb 02 2019 Fedora Release Engineering - 0.8.4.1-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.8.4.1-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Mar 28 2018 Peter Oliver - 0.8.4-27 - Update URLs. * Sun Feb 11 2018 Iryna Shcherbina - 0.8.4-26 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 0.8.4-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.8.4-24 - Python 2 binary package renamed to python2-chm See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Aug 03 2017 Fedora Release Engineering - 0.8.4-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.8.4-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.8.4-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 0.8.4-20 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.8.4-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.8.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.8.4-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.8.4-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.8.4-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.8.4-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Aug 10 2012 Lakshmi Narasimhan T V - 0.8.4-13 - Reviving package for chm2pdf. * Sat Jul 21 2012 Fedora Release Engineering - 0.8.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 0.8.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.8.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Jul 22 2010 David Malcolm - 0.8.4-9 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sun Jul 26 2009 Fedora Release Engineering - 0.8.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Jun 11 2009 Rangeen Basu Roy Chowdhury - 0.8.4-7 - Building for F-12 * Thu Feb 26 2009 Fedora Release Engineering - 0.8.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.8.4-5 - Rebuild for Python 2.6 * Tue Feb 19 2008 Fedora Release Engineering - 0.8.4-4 - Autorebuild for GCC 4.3 * Thu Jan 3 2008 Patrice Dumas 0.8.4-3 - remove python-abi requires, it needs python in the build root - ship egg file * Sat Dec 9 2006 Patrice Dumas 0.8.4-1 - update to 0.8.4 * Tue Sep 12 2006 Patrice Dumas 0.8.3-3 - add .pyo. Bug #205407 * Tue Sep 12 2006 Patrice Dumas 0.8.3-2 - rebuild for FC6 * Sun Jun 4 2006 Patrice Dumas 0.8.3-1 - Update to 0.8.3 * Sun Mar 12 2006 Patrice Dumas 0.8.2-2 - Fedora Extras submission, loosely based on Dag.