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