]> git.pld-linux.org Git - packages/archmage.git/blob - archmage.spec
- BR: rpm-pythonprov
[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 BuildRequires:  rpm-pythonprov
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 arCHMage is an extensible reader and decompiler for files in the CHM
18 format. This is the format used by Microsoft HTML help, and is also
19 known as Compiled HTML. arCHMage is based on chmlib by Jed Wing.
20
21 %description -l pl
22 arCHMage jest rozszerzalnym czytnikiem i dekompilatorem dla plików w
23 formacie CHM. Jest to format u¿ywany przez pliki pomocy Microsoft
24 HTML, zwane tak¿e jako skompilowany HTML. arCHMage bazuje na chmlib
25 Jediego Winga.
26
27 %prep
28 %setup -q
29
30 %build
31 CFLAGS="%{rpmcflags}" \
32 python setup.py build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 python setup.py install \
37         --root=$RPM_BUILD_ROOT
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc doc/* README
45 %attr(755,root,root) %{_bindir}/archmage
46 %{py_sitedir}/*.py*
47 %attr(755,root,root) %{py_sitedir}/_chmlib.so
48 %{_datadir}/archmage
49 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/arch.conf
This page took 0.060324 seconds and 3 git commands to generate.