Compare commits

...
Sign in to create a new pull request.

15 commits

Author SHA1 Message Date
Fedora Release Engineering
5066c0040b Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:29:01 +00:00
Benjamin A. Beasley
999f9deb8e Update the .rpmlintrc file
[skip changelog]
2026-01-07 16:35:44 +00:00
Fedora Release Engineering
52005ff320 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 16:47:43 +00:00
Benjamin A. Beasley
6d838becc0 Revert "Use the VCS tag"; tag contents did not follow convention
This reverts commit c9ae8fd33c.
2025-06-13 06:36:08 -04:00
Benjamin A. Beasley
c9ae8fd33c Use the VCS tag 2025-06-13 06:18:39 -04:00
Benjamin A. Beasley
6d02d1e9e5 Update .rpmlintrc file for a new rpmlint verison 2025-04-24 07:57:12 -04:00
Fedora Release Engineering
f12f185d6d Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 10:39:37 +00:00
Benjamin A. Beasley
0b1d468e63 Add a SourceLicense field 2024-12-11 14:17:59 -05:00
Benjamin A. Beasley
304257fd2c Improve the license-breakdown spec-file comment 2024-12-11 14:03:31 -05:00
Benjamin A. Beasley
014ec9f6e9 Invoke autoreconf and configure in %conf rather than in %build 2024-10-31 14:10:42 -04:00
Fedora Release Engineering
b5736a5b66 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 16:39:52 +00:00
Benjamin A. Beasley
b849bab27f Add an rpmlintrc file
[skip changelog]
2024-03-05 09:21:39 -05:00
Fedora Release Engineering
97cb7201ea Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 22:43:47 +00:00
Fedora Release Engineering
b5dda5d8e2 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 12:18:11 +00:00
Benjamin A. Beasley
93f35b3173 Update to 2.6 (close RHBZ#2243085) 2023-11-09 10:46:52 -05:00
4 changed files with 28 additions and 13 deletions

1
.gitignore vendored
View file

@ -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

View file

@ -1,4 +1,6 @@
# There is really no version information available.
addFilter(r' unversioned-explicit-provides bundled\(7zip\)')
# Every RPM has this…
addFilter(r' strange-permission advancecomp\.spec 600$')
# 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")

View file

@ -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,13 +14,18 @@ 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.
#
# Certain build-system files, which do not contribute to the license of the
# binary RPM, are under other permissible licenses.
#
# 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: 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
Source: %{forgeurl}/archive/v%{version}/advancecomp-%{version}.tar.gz
@ -38,9 +43,13 @@ BuildRequires: dos2unix
BuildRequires: zlib-devel
# Unbundled downstream
BuildRequires: pkgconfig(libdeflate)
BuildRequires: pkgconfig(libdeflate) >= 1.19
BuildRequires: zopfli-devel
# 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:
#
# This directory contains some source files from the
@ -80,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.
@ -90,7 +99,7 @@ find . -type f -exec gawk \
xargs -r -t sed -r -i 's@^([[:blank:]]*#include.*)libdeflate/@\1@'
# Patch out bundled zopfli
rm -rvf zopfli
rm -rv zopfli
sed -r -i \
-e '/zopfli[\/_]/d' \
-e 's/((\(7z_SOURCES\)|WindowOut\.h).*)[[:blank:]]*\\/\1/' \
@ -103,7 +112,7 @@ find . -type f -exec gawk \
xargs -r -t sed -r -i -e 's@^([[:blank:]]*#include.*)zopfli/@\1@'
%build
%conf
autoreconf --force --install --verbose
# Link against system libdeflate
@ -115,6 +124,9 @@ export LDFLAGS="$(pkgconf --libs libdeflate) ${LDFLAGS-}"
export LDFLAGS="-lzopfli ${LDFLAGS-}"
%configure
%build
%make_build

View file

@ -1 +1 @@
SHA512 (advancecomp-2.5.tar.gz) = c508526415dc002dad442e3f55202494ab2c49ecac3f5ea6e1a3fe27d224dd9a1a33dace02f59c18123d3f4bc74e3f03556b1cff6541cb88dcaaa32ac35c0043
SHA512 (advancecomp-2.6.tar.gz) = 63cbb0578f96fd3f55ccb49e31bfe945649d36a11558aa482332440943d6d347f161de797b8d4469562b1d551b274c22fe08818179926d56aa4746581d3926dd