]> git.pld-linux.org Git - packages/archmage.git/blame - archmage.spec
- up to 0.4.2.1
[packages/archmage.git] / archmage.spec
CommitLineData
1395732f 1Summary: CHM (Compiled HTML) Decompressor
bab2525e 2Summary(pl.UTF-8): Dekompresor plików CHM (Compiled HTML)
29f39dac 3Name: archmage
cfd304c3
JR
4Version: 0.4.2.1
5Release: 1
29f39dac 6License: GPL
7Group: Development/Libraries
cfd304c3
JR
8Source0: https://github.com/dottedmag/archmage/archive/v%{version}/%{name}-%{version}.tar.gz
9# Source0-md5: af3b4393d5d8912ddf93d722725e9b70
10URL: https://github.com/dottedmag/archmage
29f39dac 11BuildRequires: python-devel
b1d74b7d 12BuildRequires: rpm-pythonprov
b356d07a 13BuildRequires: rpmbuild(macros) >= 1.710
cfd304c3 14BuildArch: noarch
29f39dac 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29f39dac 16
17%description
18arCHMage is an extensible reader and decompiler for files in the CHM
1395732f 19format. This is the format used by Microsoft HTML help, and is also
20known as Compiled HTML. arCHMage is based on chmlib by Jed Wing.
29f39dac 21
09d30171
JR
22%description -l pl.UTF-8
23arCHMage jest rozszerzalnym czytnikiem i dekompilatorem dla plików w
24formacie CHM. Jest to format używany przez pliki pomocy Microsoft
25HTML, zwane także jako skompilowany HTML. arCHMage bazuje na chmlib
1395732f 26Jediego Winga.
29f39dac 27
28%prep
29%setup -q
30
31%build
cfd304c3 32%py3_build
29f39dac 33
34%install
35rm -rf $RPM_BUILD_ROOT
cfd304c3 36install -d $RPM_BUILD_ROOT%{_sysconfdir}
29f39dac 37
cfd304c3
JR
38%py3_install
39
40%{__mv} $RPM_BUILD_ROOT%{py3_sitescriptdir}/archmage/arch.conf $RPM_BUILD_ROOT%{_sysconfdir}
41ln -sr $RPM_BUILD_ROOT%{_sysconfdir}/arch.conf $RPM_BUILD_ROOT%{py3_sitescriptdir}/archmage/
b1d74b7d 42
29f39dac 43%clean
44rm -rf $RPM_BUILD_ROOT
45
1f69dc4c 46%files
29f39dac 47%defattr(644,root,root,755)
cfd304c3 48%doc AUTHORS NEWS README.md
b1d74b7d 49%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/arch.conf
1f69dc4c 50%attr(755,root,root) %{_bindir}/archmage
cfd304c3
JR
51%{py3_sitescriptdir}/archmage
52%{py3_sitescriptdir}/%{name}-%{version}-py*.egg-info
This page took 0.130679 seconds and 4 git commands to generate.