## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: sng Version: 1.1.1 Release: %autorelease Summary: Lossless editing of PNGs via a textual representation License: Zlib URL: https://sng.sourceforge.net/ Source0: https://sourceforge.net/projects/sng/files/sng-%{version}.tar.xz BuildRequires: make BuildRequires: gcc BuildRequires: grep BuildRequires: libpng-devel BuildRequires: zlib-devel BuildRequires: rgb BuildRequires: rubygem-asciidoctor Requires: rgb %description SNG (Scriptable Network Graphics) is a minilanguage designed specifically to represent the entire contents of a PNG (Portable Network Graphics) file in an editable form. Thus, SNGs representing elaborate graphics images and ancillary chunk data can be readily generated or modified using only text tools. SNG is implemented by a compiler/decompiler called sng that losslessly translates between SNG and PNG. %prep %autosetup # Do not ignore specified linker flags sed -r -i 's/LDFLAGS=/LDFLAGS+=/' Makefile %build %make_build %install %make_install prefix=%{_prefix} %check # Upstream has a test suite, but the test files are not packaged. # Let's just check on the files that are in the tarball. ./sng_regress *.png *.sng %files %license COPYING %doc NEWS.adoc README TODO %doc %_mandir/man1/sng.1* %_bindir/sng %changelog ## START: Generated by rpmautospec * Tue Jul 23 2024 Zbigniew Jędrzejewski-Szmek - 1.1.1-4 - Apply distro linker flags * Sat Jul 20 2024 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Feb 15 2024 Zbigniew Jędrzejewski-Szmek - 1.1.1-2 - Add missing BuildRequires - Update license tag to SPDX spelling (this was actually done in the previous commit.) * Thu Feb 15 2024 Zbigniew Jędrzejewski-Szmek - 1.1.1-1 - Version 1.1.1 (rhbz#2264233) - Upstream mentions documentation improvements and build-system changes. In the sources, there's a bit of churn, which seems to be fixes and cleanups. * Sat Jan 27 2024 Fedora Release Engineering - 1.1.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 1.1.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Feb 27 2023 Zbigniew Jędrzejewski-Szmek - 1.1.0-18 - Replace file path dependency by package name (rhbz#1731702). With dnf this was "illegal" but didn't have any practical effect. With dnf5 this causes an installation error (c.f. #2173051). * Sat Jan 21 2023 Fedora Release Engineering - 1.1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 1.1.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 1.1.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 1.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jan 19 2017 Zbigniew Jędrzejewski-Szmek - 1.1.0-2 - Require rgb.txt also at runtime * Wed Nov 16 2016 Zbigniew Jędrzejewski-Szmek - 1.1.0-1 - Initial packaging ## END: Generated by rpmautospec