1 Summary: CHM (Compiled HTML) Decompressor
2 Summary(pl.UTF-8): Dekompresor plików CHM (Compiled HTML)
7 Group: Development/Libraries
8 Source0: https://github.com/dottedmag/archmage/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5: af3b4393d5d8912ddf93d722725e9b70
10 URL: https://github.com/dottedmag/archmage
11 BuildRequires: python-devel
12 BuildRequires: rpm-pythonprov
13 BuildRequires: rpmbuild(macros) >= 1.710
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 arCHMage is an extensible reader and decompiler for files in the CHM
19 format. This is the format used by Microsoft HTML help, and is also
20 known as Compiled HTML. arCHMage is based on chmlib by Jed Wing.
22 %description -l pl.UTF-8
23 arCHMage jest rozszerzalnym czytnikiem i dekompilatorem dla plików w
24 formacie CHM. Jest to format używany przez pliki pomocy Microsoft
25 HTML, zwane także jako skompilowany HTML. arCHMage bazuje na chmlib
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_sysconfdir}
40 %{__mv} $RPM_BUILD_ROOT%{py3_sitescriptdir}/archmage/arch.conf $RPM_BUILD_ROOT%{_sysconfdir}
41 ln -sr $RPM_BUILD_ROOT%{_sysconfdir}/arch.conf $RPM_BUILD_ROOT%{py3_sitescriptdir}/archmage/
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc AUTHORS NEWS README.md
49 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/arch.conf
50 %attr(755,root,root) %{_bindir}/archmage
51 %{py3_sitescriptdir}/archmage
52 %{py3_sitescriptdir}/%{name}-%{version}-py*.egg-info