Blob Blame History Raw
Name:           catimg
Version:        2.4.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

BuildRequires:  cmake >= 2.8
BuildRequires:  gcc

%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.

%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}

%install
%make_install -C %{_target_platform}

%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*

%changelog
* Tue Oct 31 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.4.0-1
- Update to 2.4.0

* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Thu Feb 02 2017 Filip Szymański <fszymanski at, fedoraproject.org> - 2.2.2-1
- Update to 2.2.2

* Fri Jan 13 2017 Filip Szymański <fszymanski at, fedoraproject.org> - 2.2.1-1
- Initial release