]> git.pld-linux.org Git - packages/archmage.git/blob - archmage.spec
- missing pyrequireq_eq, release 4
[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:        4
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 %pyrequires_eq  python-libs
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
21
22 %description -l pl
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
26 Jediego Winga.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31
32 %build
33 CFLAGS="%{rpmcflags}" \
34 python setup.py build
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 python setup.py install \
39         --root=$RPM_BUILD_ROOT
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc doc/* README
47 %attr(755,root,root) %{_bindir}/archmage
48 %{py_sitedir}/*.py*
49 %attr(755,root,root) %{py_sitedir}/_chmlib.so
50 %{_datadir}/archmage
51 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/arch.conf
This page took 0.096846 seconds and 3 git commands to generate.