ansilove/ansilove.spec
Dirk Stoecker 981b3d8aef Accepting request 835470 from home:mnhauke
- Update to version 4.1.3
  * Adjust SAUCE flag output to be binary
  * Add -S flag to use SAUCE info for rendering hints. Users must
    now use -S to get iCE color info. This was previously
    automatically pulled without any extra options.
  * Document the new -S flag, allowing to use SAUCE info for
    render options
  * Add support for seccomp on arm
  * Add missing test for __NR_mmap, the mmap syscall doesn't exist
    on arm

OBS-URL: https://build.opensuse.org/request/show/835470
OBS-URL: https://build.opensuse.org/package/show/graphics/ansilove?expand=0&rev=13
2020-09-18 20:27:21 +00:00

65 lines
2.1 KiB
RPMSpec

#
# spec file for package ansilove
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2019-2020, Martin Hauke <mardnh@gmx.de>
#
# 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 https://bugs.opensuse.org/
#
Name: ansilove
Version: 4.1.3
Release: 0
Summary: ANSI and ASCII art to PNG converter
License: BSD-2-Clause
Group: Productivity/Graphics/Other
URL: https://www.ansilove.org
#Git-Clone: https://github.com/ansilove/ansilove.git
Source: https://github.com/ansilove/ansilove/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: libansilove-devel
%description
AnsiLove/C is a tool to convert ANSI and artscene-related file formats into
PNG images.
The following formats are supported:
- .ANS - ANSi (ANSI escape sequences: ANSI X3.64 standard)
- .PCB - PCBoard Bulletin Board System (BBS) own file format
- .BIN - Binary format (raw memory copy of text mode video memory)
- .ADF - Artworx format, supporting custom character sets and palettes
- .IDF - iCE Draw format, supporting custom character sets and palettes
- .TND - TundraDraw format, supporting 24-bit color mode
- .XB - The eXtended Binary XBin format, supporting custom character
sets and palettes
%prep
%setup -q
find examples/ -type f -name "*.ans" -exec sed -i 's/\r$//' {} +
%build
%cmake
make %{?_smp_mflags}
%install
%cmake_install
%files
%license LICENSE
%doc AUTHORS ChangeLog README.md
%doc examples/
%{_bindir}/ansilove
%{_mandir}/man1/ansilove.1%{?ext_man}
%changelog