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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1379787 - (show annotations) (download)
Sat Mar 23 13:12:43 2019 UTC (16 months, 2 weeks ago) by danf
File size: 1185 byte(s)
Fixed a buffer over-read on malformed PNG files (bug #24535)
1 Summary: Recompression utilities
2 Name: advancecomp
3 Version: 1.20
4 %define subrel 3
5 Release: %mkrel 3
6 License: GPLv3+
7 Group: Archiving/Compression
8 URL: http://www.advancemame.it/comp-readme.html
9 Source0: https://github.com/amadvance/advancecomp/releases/download/v%{version}/%{name}-%{version}.tar.gz
10 Patch1: advancecomp-1.19-mga-option-doc.patch
11 Patch2: advancecomp-1.20-mga-fromdos.patch
12 Patch3: advancecomp-2.0-git-CVE-2018-1056.patch
13 Patch4: advancecomp-2.1-git-CVE-2019-9210.patch
14 Patch5: advancecomp-2.1-git-png-overread.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 %autopatch -p1
28
29 %build
30 autoreconf -fis
31 %configure2_5x --enable-bzip2
32 %make_build
33
34 %check
35 # The check fails with bzip2 enabled due to bzip2 giving smaller than
36 # expected sizes
37 #%%make_build check
38
39 %install
40 %make_install
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/*

  ViewVC Help
Powered by ViewVC 1.1.28