]> git.pld-linux.org Git - packages/archmage.git/blob - archmage.spec
automatic change: use py_build/py_install macros
[packages/archmage.git] / archmage.spec
1 Summary:        CHM (Compiled HTML) Decompressor
2 Summary(pl.UTF-8):      Dekompresor plików CHM (Compiled HTML)
3 Name:           archmage
4 Version:        0.0.6
5 Release:        5
6 License:        GPL
7 Group:          Development/Libraries
8 Source0:        http://downloads.sourceforge.net/archmage/%{name}-%{version}.tar.gz
9 # Source0-md5:  0ab0e7c51fbf10be0a2719f5b5f329f8
10 Patch0:         %{name}-morearchs.patch
11 URL:            http://archmage.sourceforge.net/
12 BuildRequires:  python-devel
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.219
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.UTF-8
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 CC="%{__cc}" \
34 CFLAGS="%{rpmcppflags} %{rpmcflags}" \
35 %py_build
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 %py_install
40
41 %py_postclean
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc doc/* README
49 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/arch.conf
50 %attr(755,root,root) %{_bindir}/archmage
51 %{py_sitedir}/CHM.py[co]
52 %{py_sitedir}/chmlib.py[co]
53 %{py_sitedir}/mod_chm.py[co]
54 %attr(755,root,root) %{py_sitedir}/_chmlib.so
55 %{_datadir}/archmage
56 %{py_sitedir}/%{name}-%{version}-py*.egg-info
This page took 0.044689 seconds and 4 git commands to generate.