/[packages]/updates/6/advancecomp/current/SPECS/advancecomp.spec
ViewVC logotype

Annotation of /updates/6/advancecomp/current/SPECS/advancecomp.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1203849 - (hide annotations) (download)
Tue Feb 20 23:35:38 2018 UTC (6 years, 1 month ago) by danf
File size: 1088 byte(s)
Fixed a crash condition with invalid ZIP data (CVE-2018-1056)
bug #22099

1 danf 455229 Summary: Recompression utilities
2 ovitters 644242 Name: advancecomp
3 danf 868264 Version: 1.20
4 danf 1203849 %define subrel 1
5 tv 1014163 Release: %mkrel 3
6 danf 455398 License: GPLv3+
7 danf 455223 Group: Archiving/Compression
8 danf 868264 URL: http://www.advancemame.it/comp-readme.html
9     Source0: https://github.com/amadvance/advancecomp/releases/download/v%{version}/%{name}-%{version}.tar.gz
10 danf 621105 Patch1: advancecomp-1.19-mga-option-doc.patch
11 danf 868264 Patch2: advancecomp-1.20-mga-fromdos.patch
12 danf 1203849 Patch3: advancecomp-2.0-git-CVE-2018-1056.patch
13 danf 455229 BuildRequires: pkgconfig(zlib)
14 danf 455398 BuildRequires: libbzip2-devel
15     BuildRequires: dos2unix
16     BuildRequires: autoconf
17     BuildRequires: automake
18 danf 455223
19     %description
20     AdvanceCOMP contains recompression utilities for your .zip
21     archives, .png images, .mng video clips and .gz files.
22    
23     %prep
24 danf 455229 %setup -q
25 ovitters 875650 %autopatch -p1
26 danf 455223
27     %build
28 danf 455400 autoreconf -fis
29 danf 455398 %configure2_5x --enable-bzip2
30 tv 1014163 %make_build
31 danf 455223
32 danf 455229 %check
33 danf 455398 # The check fails with bzip2 enabled due to bzip2 giving smaller than
34     # expected sizes
35 tv 1014163 #%%make_build check
36 danf 455223
37     %install
38 tv 1014163 %make_install
39 danf 455223
40     %files
41 danf 455229 %doc AUTHORS HISTORY README doc/*.html doc/*.txt
42     %{_bindir}/advzip
43     %{_bindir}/advpng
44     %{_bindir}/advmng
45     %{_bindir}/advdef
46 danf 455223 %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30