Compare commits
50 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5066c0040b | ||
|
|
999f9deb8e | ||
|
|
52005ff320 | ||
|
|
6d838becc0 | ||
|
|
c9ae8fd33c | ||
|
|
6d02d1e9e5 | ||
|
|
f12f185d6d | ||
|
|
0b1d468e63 | ||
|
|
304257fd2c | ||
|
|
014ec9f6e9 | ||
|
|
b5736a5b66 | ||
|
|
b849bab27f | ||
|
|
97cb7201ea | ||
|
|
b5dda5d8e2 | ||
|
|
93f35b3173 | ||
|
|
fcef08707e | ||
|
|
ab3c30af1a | ||
|
|
0d1703faac | ||
|
|
22e119134b | ||
|
|
6d18adf819 | ||
|
|
824d7ad4cd | ||
|
|
101f35baa0 | ||
|
|
e2ff0b6664 | ||
|
|
649d63913c | ||
|
|
0ee3b4785e | ||
|
|
91a8c8347b | ||
|
|
791cf7b520 | ||
|
|
6729dfb4a3 | ||
|
|
24225a166b | ||
|
|
015bf0b20e | ||
|
|
2153fc922f | ||
|
|
be02239d4e | ||
|
|
496bc34298 | ||
|
|
31d6b3fb26 | ||
|
|
67fc8d1f10 | ||
|
|
4422886c1f | ||
|
|
40e3826b34 | ||
|
|
9c137bf0d5 | ||
|
|
f30873d776 | ||
|
|
bd96721542 | ||
|
|
79a978d5c5 | ||
|
|
7d1fe65e53 | ||
|
|
b880a63b8c | ||
|
|
13d60f1edb | ||
|
|
91d640e955 | ||
|
|
f020f87b3a | ||
|
|
7e7ae4f973 | ||
|
|
e752bb0ce3 | ||
|
|
4485493463 | ||
|
|
3efe68edb9 |
5 changed files with 61 additions and 24 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -9,3 +9,4 @@ advancecomp-1.15.tar.gz
|
|||
/advancecomp-2.3.tar.gz
|
||||
/advancecomp-2.4.tar.gz
|
||||
/advancecomp-2.5.tar.gz
|
||||
/advancecomp-2.6.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Spec file comment shows that exact version is unknown
|
||||
addFilter(r" unversioned-explicit-provides bundled\(7zip\)")
|
||||
# Not real spelling errors
|
||||
addFilter(r" spelling-error \('[Rr]ecompression',")
|
||||
addFilter(r" spelling-error \('([pm]ng|gz)',")
|
||||
addFilter(r" spelling-error \('adv(zip|[pm]ng|def)',")
|
||||
# Intentional, with a justifying spec-file comment
|
||||
addFilter(r" no-%check-section")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Name: advancecomp
|
||||
Version: 2.5
|
||||
Version: 2.6
|
||||
Release: %autorelease
|
||||
Summary: Recompression utilities for .png, .mng, .zip and .gz files
|
||||
|
||||
|
|
@ -14,26 +14,21 @@ Summary: Recompression utilities for .png, .mng, .zip and .gz files
|
|||
# of the sources that would be covered by the “unRAR license restriction” or
|
||||
# the BSD-3-Clause license for LZFSE are present in this fork.
|
||||
#
|
||||
# Apache-2.0:
|
||||
# - zopfli/
|
||||
#
|
||||
# However, in version 1.17, the COPYING file was updated to GPLv3, with a
|
||||
# changelog message (in HISTORY and elsewhere) of “Changes to GPL3.” We
|
||||
# interpret this as an overall license of GPL-3.0-only.
|
||||
License: %{shrink:
|
||||
GPL-3.0-only AND
|
||||
GPL-2.0-or-later AND
|
||||
LGPL-2.1-or-later AND
|
||||
Apache-2.0
|
||||
}
|
||||
License: GPL-3.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
# Additionally, the following bundled libraries are removed in %%prep and do
|
||||
# not contribute to the licenses of the binary RPMs:
|
||||
#
|
||||
# Apache-2.0:
|
||||
# - zopfli/
|
||||
# MIT:
|
||||
# - libdeflate/
|
||||
SourceLicense: %{license} AND Apache-2.0 AND MIT
|
||||
URL: https://www.advancemame.it/
|
||||
%global forgeurl https://github.com/amadvance/advancecomp
|
||||
Source0: %{forgeurl}/archive/v%{version}/advancecomp-%{version}.tar.gz
|
||||
Source: %{forgeurl}/archive/v%{version}/advancecomp-%{version}.tar.gz
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
|
|
@ -48,14 +43,12 @@ BuildRequires: dos2unix
|
|||
BuildRequires: zlib-devel
|
||||
|
||||
# Unbundled downstream
|
||||
BuildRequires: pkgconfig(libdeflate)
|
||||
BuildRequires: pkgconfig(libdeflate) >= 1.19
|
||||
BuildRequires: zopfli-devel
|
||||
|
||||
# No libzopfli/zopfli-devel in EPEL8
|
||||
#
|
||||
# Version number based on HISTORY, which mentions that upstream commit
|
||||
# 6818a0859063b946094fb6f94732836404a0d89a was used from
|
||||
# https://github.com/google/zopfli/.
|
||||
Provides: bundled(zopfli) = 1.0.2^20160527git6818a08
|
||||
# The point of the 2.6 release was to upgrade the bundled libdeflate; enforce
|
||||
# this on the unbundled libdeflate.
|
||||
Requires: libdeflate >= 1.19
|
||||
|
||||
# From 7z/README:
|
||||
#
|
||||
|
|
@ -96,7 +89,7 @@ This package contains:
|
|||
dos2unix -k doc/*.txt
|
||||
|
||||
# Patch out bundled libdeflate
|
||||
rm -rvf libdeflate
|
||||
rm -rv libdeflate
|
||||
sed -r -i '/libdeflate[\/_]/d' Makefile.am
|
||||
# Fix up #include paths. The find-then-modify pattern keeps us from discarding
|
||||
# mtimes on any sources that do not need modification.
|
||||
|
|
@ -105,9 +98,21 @@ find . -type f -exec gawk \
|
|||
'{}' '+' |
|
||||
xargs -r -t sed -r -i 's@^([[:blank:]]*#include.*)libdeflate/@\1@'
|
||||
|
||||
# Patch out bundled zopfli
|
||||
rm -rv zopfli
|
||||
sed -r -i \
|
||||
-e '/zopfli[\/_]/d' \
|
||||
-e 's/((\(7z_SOURCES\)|WindowOut\.h).*)[[:blank:]]*\\/\1/' \
|
||||
Makefile.am
|
||||
# Fix up #include paths. The find-then-modify pattern keeps us from discarding
|
||||
# mtimes on any sources that do not need modification.
|
||||
find . -type f -exec gawk \
|
||||
'/^[[:blank:]]*#include.*zopfli/ { print FILENAME; nextfile }' \
|
||||
'{}' '+' |
|
||||
xargs -r -t sed -r -i -e 's@^([[:blank:]]*#include.*)zopfli/@\1@'
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
|
||||
%conf
|
||||
autoreconf --force --install --verbose
|
||||
|
||||
# Link against system libdeflate
|
||||
|
|
@ -115,7 +120,13 @@ export CFLAGS="$(pkgconf --cflags libdeflate) ${CFLAGS-}"
|
|||
export CXXFLAGS="$(pkgconf --cflags libdeflate) ${CXXFLAGS-}"
|
||||
export LDFLAGS="$(pkgconf --libs libdeflate) ${LDFLAGS-}"
|
||||
|
||||
# Link against system zopfli
|
||||
export LDFLAGS="-lzopfli ${LDFLAGS-}"
|
||||
|
||||
%configure
|
||||
|
||||
|
||||
%build
|
||||
%make_build
|
||||
|
||||
|
||||
|
|
|
|||
25
changelog
25
changelog
|
|
@ -7,9 +7,34 @@
|
|||
- Remove unnecessary BR on tofrodos
|
||||
- Properly document bundled 7z code
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-16
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Jeff Law <law@redhat.com> - 2.1-15
|
||||
- Force C++14 as the code is not ready for C++17
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri May 10 2019 Than Ngo <than@redhat.com> - 2.1-11
|
||||
- Backport for #1708563, CVE-2019-8383 - denial of service in function adv_png_unfilter_8
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (advancecomp-2.5.tar.gz) = c508526415dc002dad442e3f55202494ab2c49ecac3f5ea6e1a3fe27d224dd9a1a33dace02f59c18123d3f4bc74e3f03556b1cff6541cb88dcaaa32ac35c0043
|
||||
SHA512 (advancecomp-2.6.tar.gz) = 63cbb0578f96fd3f55ccb49e31bfe945649d36a11558aa482332440943d6d347f161de797b8d4469562b1d551b274c22fe08818179926d56aa4746581d3926dd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue