1 |
%define name advancecomp |
2 |
%define version 1.19 |
3 |
%define release %mkrel 1 |
4 |
|
5 |
Summary: Recompression utilities |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release} |
9 |
License: GPLv3+ |
10 |
Group: Archiving/Compression |
11 |
URL: http://advancemame.sourceforge.net |
12 |
Source0: http://downloads.sourceforge.net/advancemame/%{name}-%{version}.tar.gz |
13 |
Patch1: advancecomp-1.19-mga-option-doc.patch |
14 |
Patch2: advancecomp-1.18-mga-fromdos.patch |
15 |
BuildRequires: pkgconfig(zlib) |
16 |
BuildRequires: libbzip2-devel |
17 |
BuildRequires: dos2unix |
18 |
BuildRequires: autoconf |
19 |
BuildRequires: automake |
20 |
|
21 |
%description |
22 |
AdvanceCOMP contains recompression utilities for your .zip |
23 |
archives, .png images, .mng video clips and .gz files. |
24 |
|
25 |
%prep |
26 |
%setup -q |
27 |
%apply_patches |
28 |
|
29 |
%build |
30 |
autoreconf -fis |
31 |
%configure2_5x --enable-bzip2 |
32 |
%make |
33 |
|
34 |
%check |
35 |
# The check fails with bzip2 enabled due to bzip2 giving smaller than |
36 |
# expected sizes |
37 |
#%make check |
38 |
|
39 |
%install |
40 |
%makeinstall_std |
41 |
|
42 |
%files |
43 |
%doc AUTHORS HISTORY README doc/*.html doc/*.txt |
44 |
%{_bindir}/advzip |
45 |
%{_bindir}/advpng |
46 |
%{_bindir}/advmng |
47 |
%{_bindir}/advdef |
48 |
%{_mandir}/man1/* |