%define name python-chm %define realname pychm %define version 0.8.4 Summary: Python package to handle CHM files Name: %{name} Version: %{version} Release: %mkrel 1 Source0: %{realname}-%{version}.tar.bz2 License: GPL Group: Development/Python BuildRequires: chmlib-devel BuildRequires: python-devel BuildRoot: %{_tmppath}/%{name}-buildroot Url: http://gnochm.sourceforge.net Provides: pychm %description The 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). %prep %setup -q -n %{realname}-%{version} %build env CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc README NEWS COPYING ChangeLog %changelog * Mon Jul 16 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.8.4-1mdv2008.0 + Revision: 52595 - update to new version 0.8.4 * Fri May 26 2006 Jerome Soyer <saispo@mandriva.org> 0.8.3-1mdv2007.0 - New release 0.8.3 - add Provides pychm * Fri Mar 31 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 0.8.2-2mdk - Rebuild * Mon Feb 14 2005 Jerome Soyer <saispo@mandrake.org> 0.8.2-1mdk - 0.8.2 * Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 0.8.0-2mdk - Rebuild for new python * Fri Jun 18 2004 Stefan van der Eijk <stefan@mandrake.org> 0.8.0-1mdk - initial MDK package