1 |
Summary: Recompression utilities |
2 |
Name: advancecomp |
3 |
Version: 2.1 |
4 |
Release: %mkrel 1 |
5 |
License: GPLv3+ |
6 |
Group: Archiving/Compression |
7 |
URL: http://www.advancemame.it/comp-readme.html |
8 |
Source0: https://github.com/amadvance/advancecomp/releases/download/v%{version}/%{name}-%{version}.tar.gz |
9 |
Patch1: advancecomp-1.19-mga-option-doc.patch |
10 |
BuildRequires: pkgconfig(zlib) |
11 |
BuildRequires: libbzip2-devel |
12 |
|
13 |
%description |
14 |
AdvanceCOMP contains recompression utilities for your .zip |
15 |
archives, .png images, .mng video clips and .gz files. |
16 |
|
17 |
%prep |
18 |
%setup -q |
19 |
%autopatch -p1 |
20 |
|
21 |
%build |
22 |
%configure2_5x --enable-bzip2 |
23 |
%make_build |
24 |
|
25 |
%check |
26 |
# The check fails with bzip2 enabled due to bzip2 giving smaller than |
27 |
# expected sizes |
28 |
#%%make_build check |
29 |
|
30 |
%install |
31 |
%make_install |
32 |
|
33 |
%files |
34 |
%doc AUTHORS HISTORY README |
35 |
%{_bindir}/advzip |
36 |
%{_bindir}/advpng |
37 |
%{_bindir}/advmng |
38 |
%{_bindir}/advdef |
39 |
%{_mandir}/man1/* |