/[packages]/cauldron/aha/current/SPECS/aha.spec
ViewVC logotype

Annotation of /cauldron/aha/current/SPECS/aha.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1923252 - (hide annotations) (download)
Thu Dec 15 18:25:38 2022 UTC (2 years, 1 month ago) by daviddavid
File size: 974 byte(s)
initial package aha (mga#31284)

1 daviddavid 1923252 Name: aha
2     Version: 0.5.1
3     Release: %mkrel 1
4     Summary: Ansi HTML Adapter
5     License: MPLv1.1 or LGPLv2+
6     Group: Development/Tools
7     URL: https://github.com/theZiz/aha
8     Source0: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz
9     # Fix a null pointer dereference when interpreting
10     # invalid 24-bit color code escape sequences.
11     #
12     # Submitted upstream: https://github.com/theZiz/aha/pull/97
13     Patch0: 0000-fix-null-pointer-dereference.patch
14    
15     BuildRequires: gcc
16     BuildRequires: make
17    
18     %description
19     %{name} (ANSI HTML Adapter) converts ANSI escape sequences of
20     a unix terminal to HTML code.
21     %{name} parses output from other programs,
22     recognizes ANSI terminal escape sequences
23     and produces an HTML rendition of the original text.
24    
25    
26     %prep
27     %autosetup -p1
28     # Extract license header from source code
29     cat aha.c | awk '1;/\*\//{exit}' > LICENSE
30    
31    
32     %build
33     %set_build_flags
34     %make_build
35    
36    
37     %install
38     %make_install PREFIX=%{_prefix}
39    
40    
41     %files
42     %license LICENSE
43     %{_bindir}/%{name}
44     %{_mandir}/man1/%{name}.*

  ViewVC Help
Powered by ViewVC 1.1.30