]> git.pld-linux.org Git - packages/archmage.git/blob - archmage.spec
- removed %%include /usr/lib/rpm/macros.python
[packages/archmage.git] / archmage.spec
1 Summary:        CHM (Compiled HTML) Decompressor
2 Summary(pl):    Dekompresor plików CHM (Compiled HTML)
3 Name:           archmage
4 Version:        0.0.6
5 Release:        2
6 License:        GPL
7 Group:          Development/Libraries
8 Source0:        http://dl.sourceforge.net/archmage/%{name}-%{version}.tar.gz
9 # Source0-md5:  0ab0e7c51fbf10be0a2719f5b5f329f8
10 Patch0:         %{name}-morearchs.patch
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 %patch0 -p1
30
31 %build
32 CFLAGS="%{rpmcflags}" \
33 python setup.py build
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 python setup.py install \
38         --root=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc doc/* README
46 %attr(755,root,root) %{_bindir}/archmage
47 %{py_sitedir}/*.py*
48 %attr(755,root,root) %{py_sitedir}/_chmlib.so
49 %{_datadir}/archmage
50 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/arch.conf
This page took 0.067294 seconds and 3 git commands to generate.