Summary: CHM (Compiled HTML) Decompressor Summary(pl): Dekompresor plików CHM (Compiled HTML) Name: archmage Version: 0.0.6 Release: 4 License: GPL Group: Development/Libraries Source0: http://dl.sourceforge.net/archmage/%{name}-%{version}.tar.gz # Source0-md5: 0ab0e7c51fbf10be0a2719f5b5f329f8 Patch0: %{name}-morearchs.patch URL: http://archmage.sf.net/ BuildRequires: python-devel BuildRequires: rpm-pythonprov %pyrequires_eq python-libs BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description arCHMage is an extensible reader and decompiler for files in the CHM format. This is the format used by Microsoft HTML help, and is also known as Compiled HTML. arCHMage is based on chmlib by Jed Wing. %description -l pl arCHMage jest rozszerzalnym czytnikiem i dekompilatorem dla plików w formacie CHM. Jest to format używany przez pliki pomocy Microsoft HTML, zwane także jako skompilowany HTML. arCHMage bazuje na chmlib Jediego Winga. %prep %setup -q %patch0 -p1 %build CFLAGS="%{rpmcflags}" \ python setup.py build %install rm -rf $RPM_BUILD_ROOT python setup.py install \ --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc doc/* README %attr(755,root,root) %{_bindir}/archmage %{py_sitedir}/*.py* %attr(755,root,root) %{py_sitedir}/_chmlib.so %{_datadir}/archmage %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/arch.conf