commit 13571fac18372c2d3a9974a8a241d32f18faa68fc183c60dca36487cc7847fca Author: Stefan BrĂ¼ns Date: Sun Nov 3 19:55:43 2019 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/ansilove-4.0.4.tar.gz b/ansilove-4.0.4.tar.gz new file mode 100644 index 0000000..9c9f377 --- /dev/null +++ b/ansilove-4.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6c580960e8e7cecd3ccf31e8ddc2a0f1b9ba3f51a6cd43f10dd5270c358b4d7 +size 25212 diff --git a/ansilove.changes b/ansilove.changes new file mode 100644 index 0000000..ee3c6c7 --- /dev/null +++ b/ansilove.changes @@ -0,0 +1,17 @@ +------------------------------------------------------------------- +Sun Nov 3 19:07:40 UTC 2019 - Martin Hauke + +- Shorten the description + +------------------------------------------------------------------- +Mon Oct 28 21:07:42 UTC 2019 - Martin Hauke + +- 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 + +- Initial package, version 4.0.3 diff --git a/ansilove.spec b/ansilove.spec new file mode 100644 index 0000000..791c7cc --- /dev/null +++ b/ansilove.spec @@ -0,0 +1,63 @@ +# +# spec file for package ansilove +# +# Copyright (c) 2019, 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 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