]> git.pld-linux.org Git - packages/archmage.git/blob - archmage.spec
- up to 0.4.2.1
[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.4.2.1
5 Release:        1
6 License:        GPL
7 Group:          Development/Libraries
8 Source0:        https://github.com/dottedmag/archmage/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  af3b4393d5d8912ddf93d722725e9b70
10 URL:            https://github.com/dottedmag/archmage
11 BuildRequires:  python-devel
12 BuildRequires:  rpm-pythonprov
13 BuildRequires:  rpmbuild(macros) >= 1.710
14 BuildArch:      noarch
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
31 %build
32 %py3_build
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_sysconfdir}
37
38 %py3_install
39
40 %{__mv} $RPM_BUILD_ROOT%{py3_sitescriptdir}/archmage/arch.conf $RPM_BUILD_ROOT%{_sysconfdir}
41 ln -sr $RPM_BUILD_ROOT%{_sysconfdir}/arch.conf $RPM_BUILD_ROOT%{py3_sitescriptdir}/archmage/
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc AUTHORS NEWS README.md
49 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/arch.conf
50 %attr(755,root,root) %{_bindir}/archmage
51 %{py3_sitescriptdir}/archmage
52 %{py3_sitescriptdir}/%{name}-%{version}-py*.egg-info
This page took 0.102721 seconds and 4 git commands to generate.