From 53356d094d4b74d6a0a4829bce6a86a55fedfcdb Mon Sep 17 00:00:00 2001 From: Artur Iwicki Date: Jul 18 2018 11:30:40 +0000 Subject: Import from SRPM (bug #1601224) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..393e1eb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/aha-0.4.10.6.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index aac56a8..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# aha - -The aha package \ No newline at end of file diff --git a/aha.spec b/aha.spec new file mode 100644 index 0000000..3871017 --- /dev/null +++ b/aha.spec @@ -0,0 +1,46 @@ +Name: aha +Version: 0.4.10.6 +Release: 2%{?dist} +Summary: Convert terminal output to HTML + +License: MPLv1.1 or LGPLv2+ +URL: https://github.com/theZiz/aha +Source0: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: gcc make + + +%description +%{name} parses output from other programs, +recognizes ANSI terminal escape sequences +and produces an HTML rendition of the original text. + + +%prep +%setup -q +# 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 +* Wed Jul 18 2018 Artur Iwicki - 0.4.10.6-2 +- Invoke %%set_build_flags before building +- Use %%make_build instead of "make %%{?_smp_flags}" + +* Sun Jul 15 2018 Artur Iwicki - 0.4.10.6-1 +- Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..a76dff7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (aha-0.4.10.6.tar.gz) = 640fc0b802fbe026152143e66a2ef5e7e36342dfab01a1f4ed4a543d0fc822a7377a2434f1d5fca917126740eb102a7c6dd232e9c15815d5ca7ef80a4cb27e4b