Package archmage: Specfile

Name: archmage
Version: 0.1.9
Release: alt1

Summary: Extensible reader/decompiler of files in CHM format

Group: Text tools
License: GPL
Url: http://archmage.sourceforge.net/

Packager: Vitaly Lipatov <lav@altlinux.ru>

Source: http://prdownloads.sourceforge.net/archmage/archmage-%version.tar.gz

BuildArch: noarch

# for conversion to text
#Requires: elinks

BuildRequires: rpm-build-compat >= 1.2

# Automatically added by buildreq on Sun Oct 05 2008
BuildRequires: python-devel

%description
arCHMage - extensible reader/decompiler of files in CHM format
(Microsoft HTML help, also known as Compiled HTML).
arCHMage is based on chmlib by Jed Wing and is written on python.

%prep
%setup -q

%build
%python_build

%install
%python_install
rm -f %buildroot%python_sitelibdir/archmod/mod_chm.py*

%files
%doc AUTHORS NEWS README
%dir %_sysconfdir/archmage/
%config(noreplace) %_sysconfdir/archmage/arch.conf
%_bindir/archmage
%dir %python_sitelibdir/archmod/
%python_sitelibdir/archmod/CHM.py*
%python_sitelibdir/archmod/htmltotext.py*
%python_sitelibdir/archmod/__init__.py*
# Apache integration
#%python_sitelibdir/archmod/mod_chm.py*
%python_sitelibdir/archmage-*egg-info
%_datadir/archmage/
%_man1dir/archmage*

%changelog
* Sun Oct 05 2008 Vitaly Lipatov <lav@altlinux.ru> 0.1.9-alt1
- initial build for ALT Linux Sisyphus

* Thu Jan  3 2008 Patrice Dumas <pertusus@free.fr> 0.1.9-2
- ship egg

* Fri Aug  3 2007 Patrice Dumas <pertusus@free.fr> 0.1.9-1
- update to 0.1.9

* Thu Jan 18 2007 Patrice Dumas <pertusus@free.fr> 0.0.8-1
- update to 0.0.8

* Tue Dec 12 2006 Patrice Dumas <pertusus@free.fr> 0.0.7-4
- add BuildRequires python-devel

* Sat Dec  9 2006 Patrice Dumas <pertusus@free.fr> 0.0.7-3
- rebuild for python 2.5

* Tue Sep 12 2006 Patrice Dumas <pertusus@free.fr> 0.0.7-2
- .pyo files added. Bug #205369
- BuildRequires:  python and not python-devel since it is noarch

* Mon Mar 20 2006 Patrice Dumas <pertusus@free.fr> 0.0.7-1
- initial release