]> git.pld-linux.org Git - packages/archmage.git/blame - archmage.spec
- tabs in preamble
[packages/archmage.git] / archmage.spec
CommitLineData
1395732f 1Summary: CHM (Compiled HTML) Decompressor
bab2525e 2Summary(pl.UTF-8): Dekompresor plików CHM (Compiled HTML)
29f39dac 3Name: archmage
4Version: 0.0.6
1d1c800d 5Release: 4
29f39dac 6License: GPL
7Group: Development/Libraries
3692a355 8Source0: http://dl.sourceforge.net/archmage/%{name}-%{version}.tar.gz
1395732f 9# Source0-md5: 0ab0e7c51fbf10be0a2719f5b5f329f8
3692a355 10Patch0: %{name}-morearchs.patch
9ecea639 11URL: http://archmage.sourceforge.net/
29f39dac 12BuildRequires: python-devel
1d1c800d 13%pyrequires_eq python-libs
29f39dac 14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29f39dac 15
16%description
17arCHMage is an extensible reader and decompiler for files in the CHM
1395732f 18format. This is the format used by Microsoft HTML help, and is also
19known as Compiled HTML. arCHMage is based on chmlib by Jed Wing.
29f39dac 20
09d30171
JR
21%description -l pl.UTF-8
22arCHMage jest rozszerzalnym czytnikiem i dekompilatorem dla plików w
23formacie CHM. Jest to format używany przez pliki pomocy Microsoft
24HTML, zwane także jako skompilowany HTML. arCHMage bazuje na chmlib
1395732f 25Jediego Winga.
29f39dac 26
27%prep
28%setup -q
3692a355 29%patch0 -p1
29f39dac 30
31%build
1f69dc4c
JB
32CFLAGS="%{rpmcflags}" \
33python setup.py build
29f39dac 34
35%install
36rm -rf $RPM_BUILD_ROOT
1f69dc4c
JB
37python setup.py install \
38 --root=$RPM_BUILD_ROOT
29f39dac 39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
1f69dc4c 43%files
29f39dac 44%defattr(644,root,root,755)
45%doc doc/* README
1f69dc4c
JB
46%attr(755,root,root) %{_bindir}/archmage
47%{py_sitedir}/*.py*
48%attr(755,root,root) %{py_sitedir}/_chmlib.so
49%{_datadir}/archmage
9ecea639 50%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/arch.conf
This page took 0.106913 seconds and 4 git commands to generate.