Accepting request 745035 from home:mnhauke

Initial package for ansilove

OBS-URL: https://build.opensuse.org/request/show/745035
OBS-URL: https://build.opensuse.org/package/show/graphics/ansilove?expand=0&rev=1
This commit is contained in:
Stefan Brüns 2019-11-03 19:55:43 +00:00 committed by Git OBS Bridge
commit 13571fac18
4 changed files with 106 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

3
ansilove-4.0.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6c580960e8e7cecd3ccf31e8ddc2a0f1b9ba3f51a6cd43f10dd5270c358b4d7
size 25212

17
ansilove.changes Normal file
View File

@ -0,0 +1,17 @@
-------------------------------------------------------------------
Sun Nov 3 19:07:40 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Shorten the description
-------------------------------------------------------------------
Mon Oct 28 21:07:42 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 4.0.4
* Add initial seccomp support to Ansilove
* Move pledge and seccomp initialization before ansilove_init()
* Move conditional includes for 'pledge' and 'strtonum' in compat.h
-------------------------------------------------------------------
Sun Oct 27 12:33:52 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Initial package, version 4.0.3

63
ansilove.spec Normal file
View File

@ -0,0 +1,63 @@
#
# spec file for package ansilove
#
# Copyright (c) 2019, 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.0.4
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