## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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: chafa Version: 1.14.5 Release: %autorelease %global sum Image-to-text converter for terminal Summary: %{sum} License: LGPL-3.0-or-later URL: https://hpjansson.org/chafa/ Source0: https://github.com/hpjansson/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz ExcludeArch: %{ix86} BuildRequires: gcc BuildRequires: gtk-doc BuildRequires: libtool BuildRequires: make BuildRequires: libjpeg-turbo-devel BuildRequires: libavif-devel BuildRequires: librsvg2-devel BuildRequires: libtiff-devel BuildRequires: libwebp-devel BuildRequires: libpng-devel Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description Chafa is a command-line utility that converts all kinds of images, including animated image formats like GIFs, into ANSI/Unicode character output that can be displayed in a terminal. It is highly configurable, with support for alpha transparency and multiple color modes and color spaces, combining a range of Unicode characters for optimal output. %package libs Summary: %{sum} (library) # Version in libnsgif/README-chafa Provides: bundled(libnsgif) = 0.2.1^chafa # Version in lodepng/lodepng.h Provides: bundled(lodepng) = 20220109 %description libs Shared library for %{name}. %package static Summary: %{sum} (static library) %description static Static library for %{name}. %package devel Summary: %{sum} (development files) Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel Development files for %{name}, such as headers. %package doc Summary: %{sum} (documentation) Recommends: %{name}-devel %description doc Documentation for %{name}, such as headers. %prep %autosetup %build autoreconf -ivf %configure --disable-rpath %make_build %install %make_install %if 0%{?rhel} find %{buildroot} -name "*.la" -delete %endif %files %doc AUTHORS COPYING.LESSER README* NEWS %license COPYING.LESSER %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %files libs %doc AUTHORS %license COPYING.LESSER %{_libdir}/lib%{name}.so.0 %{_libdir}/lib%{name}.so.0.9.5 %files static %doc AUTHORS %license COPYING.LESSER %{_libdir}/lib%{name}.a %files devel %doc AUTHORS %license COPYING.LESSER %{_includedir}/%{name}/ %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/lib%{name}.so %{_libdir}/%{name}/include/chafaconfig.h %files doc %doc AUTHORS %license COPYING.LESSER %doc %{_datadir}/gtk-doc/html/%{name} %changelog ## START: Generated by rpmautospec * Wed Nov 06 2024 Jonathan Wright - 1.14.5-1 - update to 1.14.5 * Fri Jul 26 2024 Jonathan Wright - 1.14.2-1 - update to 1.14.2 rhbz#2292927 * Thu Jul 04 2024 Jonathan Wright - 1.14.1-2 - update license format to SPDX * Thu Jul 04 2024 Jonathan Wright - 1.14.1-1 - update to 1.14.1 rhbz#2292927 includes soname bump * Tue Jan 23 2024 Fedora Release Engineering - 1.10.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.10.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.10.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jan 18 2023 Fedora Release Engineering - 1.10.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 05 2023 Neal Gompa - 1.10.3-3 - Rebuild for ImageMagick 7 * Wed Jul 20 2022 Fedora Release Engineering - 1.10.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri May 06 2022 Miro Hrončok - 1.10.3-1 - Update to 1.10.3 - Fixes: rhbz#1809122 - Contains security fix for CVE-2022-1507 - Fixes: rhbz#2080294 - Provide bundled libnsgif and lodepng * Wed Jan 19 2022 Fedora Release Engineering - 1.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Oct 15 2021 Miro Hrončok - 1.8.0-2 - Rebuilt for ImageMagick 6.9.12 * Mon Sep 20 2021 Mikel Olasagasti Uranga - 1.8.0-1 - Update to 1.8.0 - Fixes: rhbz#1809122 * Wed Jul 21 2021 Fedora Release Engineering - 1.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Aug 27 2019 Miro Hrončok - 1.2.1-1 - Update to 1.2.1 (#1742491) * Wed Jul 24 2019 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Dec 25 2018 Miro Hrončok - 1.0.1-1 - Update to 1.0.1 (soversion 0.0.0 -> 0.1.1) - Rebuilt for new ImageMagick 6.9.10 (#1623249) * Mon Jul 30 2018 Miro Hrončok - 0.9.0-1 - Initial package ## END: Generated by rpmautospec