File aha.spec of Package aha

# spec file for package aha
# Copyright (c) 2016, Martin Hauke <>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           aha
Version:        0.4.9
Release:        0
Summary:        ANSI color to HTML converter
License:        MPL-1.1 or LGPL-2.1+
Group:          System/Console
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

aha (ANSI HTML Adapter) converts ANSI colors to HTML, e.g. if you
want to publish the output of ls --color=yes, git diff, ccal or htop
as static HTML somewhere.

%setup -q

export CFLAGS="%{optflags}"
make %{?_smp_mflags}

make install DESTDIR=%{buildroot} PREFIX=/usr MANDIR=share/man %{?_smp_mflags}