Accepting request 743373 from home:mnhauke
Initial package for ansilove-term OBS-URL: https://build.opensuse.org/request/show/743373 OBS-URL: https://build.opensuse.org/package/show/graphics/ansilove-term?expand=0&rev=1
This commit is contained in:
commit
cb726cd621
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/ansilove/ansilove-term.git</param>
|
||||
<param name="revision">master</param>
|
||||
<param name="versionformat">0.0.0+git.%cd</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="compression">xz</param>
|
||||
<param name="file">*.tar</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled">
|
||||
</service>
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/ansilove/ansilove-term.git</param>
|
||||
<param name="changesrevision">a91ff53f66e3ddd66d594ef067da015d4edc5149</param></service></servicedata>
|
3
ansilove-term-0.0.0+git.20190908.tar.xz
Normal file
3
ansilove-term-0.0.0+git.20190908.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1940f53b378863bf33bb429c6a5d3aa91b8167b12710e40cca511531b2056408
|
||||
size 300120
|
14
ansilove-term-use-gcc.patch
Normal file
14
ansilove-term-use-gcc.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 7f21b67..351f888 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
-CXX = clang++
|
||||
-CXXFLAGS = -Wall -c -std=c++11 -Isrc/libtextmode -I/usr/local/include
|
||||
-LDFLAGS = -L/usr/local/lib
|
||||
+CXX = c++
|
||||
+CXXFLAGS += -Wall -c -std=c++11 -Isrc/libtextmode -I/usr/local/include
|
||||
+LDFLAGS += -L/usr/local/lib
|
||||
|
||||
OUT = ans
|
||||
|
6
ansilove-term.changes
Normal file
6
ansilove-term.changes
Normal file
@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 27 18:32:14 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Initial package, version 0.0.0+git.20190908
|
||||
- Add patch:
|
||||
* ansilove-term-use-gcc.patch
|
51
ansilove-term.spec
Normal file
51
ansilove-term.spec
Normal file
@ -0,0 +1,51 @@
|
||||
#
|
||||
# spec file for package ansilove-term
|
||||
#
|
||||
# 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-term
|
||||
Version: 0.0.0+git.20190908
|
||||
Release: 0
|
||||
Summary: CLI tool to render text-mode art files as PNG files
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/Graphics/Other
|
||||
URL: https://www.ansilove.org
|
||||
#Git-Clone: https://github.com/ansilove/ansilove-term.git
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
Patch0: ansilove-term-use-gcc.patch
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
%description
|
||||
Ansilove-Term is a command line tool to render text-mode art files as
|
||||
PNG files, as well as displaying in several different mediums.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export CXXFLAGS="%{optflags} -Wno-return-type"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
install -D -m0755 ans %{buildroot}/%{_bindir}/ans
|
||||
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
%doc Readme.md
|
||||
%{_bindir}/ans
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user