/[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 1379787 - (hide annotations) (download)
Sat Mar 23 13:12:43 2019 UTC (5 years, 1 month ago) by danf
File size: 1185 byte(s)
Fixed a buffer over-read on malformed PNG files (bug #24535)
1 danf 455229 Summary: Recompression utilities
2 ovitters 644242 Name: advancecomp
3 danf 868264 Version: 1.20
4 danf 1379787 %define subrel 3
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 1379783 Patch4: advancecomp-2.1-git-CVE-2019-9210.patch
14 danf 1379787 Patch5: advancecomp-2.1-git-png-overread.patch
15 danf 455229 BuildRequires: pkgconfig(zlib)
16 danf 455398 BuildRequires: libbzip2-devel
17     BuildRequires: dos2unix
18     BuildRequires: autoconf
19     BuildRequires: automake
20 danf 455223
21     %description
22     AdvanceCOMP contains recompression utilities for your .zip
23     archives, .png images, .mng video clips and .gz files.
24    
25     %prep
26 danf 455229 %setup -q
27 ovitters 875650 %autopatch -p1
28 danf 455223
29     %build
30 danf 455400 autoreconf -fis
31 danf 455398 %configure2_5x --enable-bzip2
32 tv 1014163 %make_build
33 danf 455223
34 danf 455229 %check
35 danf 455398 # The check fails with bzip2 enabled due to bzip2 giving smaller than
36     # expected sizes
37 tv 1014163 #%%make_build check
38 danf 455223
39     %install
40 tv 1014163 %make_install
41 danf 455223
42     %files
43 danf 455229 %doc AUTHORS HISTORY README doc/*.html doc/*.txt
44     %{_bindir}/advzip
45     %{_bindir}/advpng
46     %{_bindir}/advmng
47     %{_bindir}/advdef
48 danf 455223 %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30