1 |
%define name advancecomp |
%define name advancecomp |
2 |
%define version 1.15 |
%define version 1.17 |
3 |
%define release %mkrel 6 |
%define release %mkrel 1 |
4 |
|
|
5 |
Summary: Recompression utilities |
Summary: Recompression utilities |
6 |
Name: %{name} |
Name: %{name} |
7 |
Version: %{version} |
Version: %{version} |
8 |
Release: %{release} |
Release: %{release} |
9 |
License: GPLv2+ |
License: GPLv3+ |
10 |
Group: Archiving/Compression |
Group: Archiving/Compression |
11 |
URL: http://advancemame.sourceforge.net |
URL: http://advancemame.sourceforge.net |
12 |
Source0: %{name}-%{version}.tar.bz2 |
Source0: http://downloads.sourceforge.net/advancemame/%{name}-%{version}.tar.gz |
13 |
|
Patch0: advancecomp-1.17-mga-bzip2-compile.patch |
14 |
|
Patch1: advancecomp-1.17-mga-option-doc.patch |
15 |
|
Patch2: advancecomp-1.17-mga-fromdos.patch |
16 |
BuildRequires: pkgconfig(zlib) |
BuildRequires: pkgconfig(zlib) |
17 |
|
BuildRequires: libbzip2-devel |
18 |
|
BuildRequires: dos2unix |
19 |
|
BuildRequires: autoconf |
20 |
|
BuildRequires: automake |
21 |
|
|
22 |
%description |
%description |
23 |
AdvanceCOMP contains recompression utilities for your .zip |
AdvanceCOMP contains recompression utilities for your .zip |
25 |
|
|
26 |
%prep |
%prep |
27 |
%setup -q |
%setup -q |
28 |
|
%apply_patches |
29 |
|
|
30 |
%build |
%build |
31 |
%configure2_5x |
autoreconf |
32 |
|
%configure2_5x --enable-bzip2 |
|
# this does not work |
|
|
# --enable-bzip2 |
|
|
|
|
33 |
%make |
%make |
34 |
|
|
35 |
%check |
%check |
36 |
%make check |
# The check fails with bzip2 enabled due to bzip2 giving smaller than |
37 |
|
# expected sizes |
38 |
|
#%make check |
39 |
|
|
40 |
%install |
%install |
41 |
%makeinstall_std |
%makeinstall_std |