From c91531f92348e107f54ffdf92032060620d37738 Mon Sep 17 00:00:00 2001 From: K. de Jong Date: Oct 26 2020 15:15:08 +0000 Subject: New upstream release --- diff --git a/.gitignore b/.gitignore index 8ba0db4..c607783 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ -/catimg-2.2.1.tar.gz -/catimg-2.2.2.tar.gz -/catimg-2.4.0.tar.gz + +*.swp +results_catimg/* +*.src.rpm +*.tar.gz +bodhi.template.last +clog diff --git a/catimg.spec b/catimg.spec index 0b54207..ad3a25b 100644 --- a/catimg.spec +++ b/catimg.spec @@ -1,44 +1,42 @@ Name: catimg -Version: 2.4.0 -Release: 6%{?dist} +Version: 2.7.0 +Release: 1%{?dist} Summary: Print images in a terminal with 256 colors support License: MIT URL: https://github.com/posva/catimg -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source0: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz -BuildRequires: gcc-c++ BuildRequires: cmake >= 2.8 -BuildRequires: gcc +BuildRequires: gcc-c++ %description -%{name} is a little program written in C with no dependencies that prints -images in terminal. It supports JPEG, PNG, ICO and GIF formats. +%{name} prints images in a terminal with 256 colors support. It supports +JPEG, PNG, ICO and GIF formats. %prep %autosetup %build -mkdir -p %{_target_platform} -pushd %{_target_platform} - %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DMAN_OUTPUT_PATH=%{_mandir}/man1 \ - .. -popd -%make_build -C %{_target_platform} +%cmake . +%cmake_build %install -%make_install -C %{_target_platform} +%cmake_install +install -D -p -m 644 completion/_catimg %{buildroot}%{_datadir}/zsh/site-functions/_catimg %files %license LICENSE %doc README.md %{_bindir}/%{name} +%dir %{_datadir}/zsh +%dir %{_datadir}/zsh/site-functions +%{_datadir}/zsh/site-functions/_catimg %{_mandir}/man1/%{name}.1* %changelog -* Tue Jan 28 2020 Fedora Release Engineering - 2.4.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild +* Sun Sep 13 2020 K. de Jong - 2.7.0-1 +- New upstream release * Wed Jul 24 2019 Fedora Release Engineering - 2.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 83db01b..f376132 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (catimg-2.4.0.tar.gz) = fae0ff8436ce62cdf90c59aca603ff1850e2ccce8cb87420214fe62c0295f59d6af6191270010a3a437f9aa24542849bff3829e4d6e5e9c8c7bf7023282d462b +SHA512 (catimg-2.7.0.tar.gz) = 85b19183a2dc666aeb5655d6b66a40d325160d6ac8b5d38c00bad14ee79d69f2277ba0378af6ea84570a0d41c10d52950d658c0872dc1007e7ae17da7b6abdec