Sophie

Sophie

distrib > Mageia > 9 > armv7hl > by-pkgid > bc3d3e8d2f730f74c5522e80df4120c3 > files > 3

aha-0.5.1-1.mga9.src.rpm

Name:		aha
Version:	0.5.1
Release:	%mkrel 1
Summary:	Ansi HTML Adapter
License:	MPLv1.1 or LGPLv2+
Group:		Development/Tools
URL:		https://github.com/theZiz/aha
Source0:	%{URL}/archive/%{version}/%{name}-%{version}.tar.gz
# Fix a null pointer dereference when interpreting
# invalid 24-bit color code escape sequences.
#
# Submitted upstream: https://github.com/theZiz/aha/pull/97
Patch0:		0000-fix-null-pointer-dereference.patch

BuildRequires:	gcc
BuildRequires:	make

%description
%{name} (ANSI HTML Adapter) converts ANSI escape sequences of
a unix terminal to HTML code.
%{name} parses output from other programs,
recognizes ANSI terminal escape sequences
and produces an HTML rendition of the original text.


%prep
%autosetup -p1
# Extract license header from source code
cat aha.c | awk '1;/\*\//{exit}' > LICENSE


%build
%set_build_flags
%make_build


%install
%make_install PREFIX=%{_prefix}


%files
%license LICENSE
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.*


%changelog
* Thu Dec 15 2022 daviddavid <daviddavid> 0.5.1-1.mga9
+ Revision: 1923252
- initial package aha (mga#31284)