forked from pool/cowsay
Accepting request 712098 from shells
OBS-URL: https://build.opensuse.org/request/show/712098 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cowsay?expand=0&rev=4
This commit is contained in:
commit
db30dee367
30
chami.patch
Normal file
30
chami.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
Index: cowsay-3.03/cows/chameleon.cow
|
||||||
|
===================================================================
|
||||||
|
--- /dev/null
|
||||||
|
+++ cowsay-3.03/cows/chameleon.cow
|
||||||
|
@@ -0,0 +1,25 @@
|
||||||
|
+##
|
||||||
|
+## SUSE-like chameleon
|
||||||
|
+##
|
||||||
|
+$the_cow = <<EOC;
|
||||||
|
+ $thoughts
|
||||||
|
+ $thoughts
|
||||||
|
+ $thoughts
|
||||||
|
+
|
||||||
|
+ _..~~~~~‾‾‾‾‾‾‾~~~~~._ |‾--.____
|
||||||
|
+ _.~‾ ‾~.. ‾‾--._
|
||||||
|
+ _.~‾ --- ‾.
|
||||||
|
+ .~ / $eye \\ \\
|
||||||
|
+ / \\ / )
|
||||||
|
+ / _ --- )
|
||||||
|
+ / ________ ‾-_ __)
|
||||||
|
+ / / ¯_ ‾-___--‾‾ /
|
||||||
|
+ / / _-------_ ¯. ~~~~~~~~ /‾~~__ $tongue _~¯
|
||||||
|
+ | / / _____ \\ \\ / \\ | ‾‾~~~~~~‾
|
||||||
|
+ | | | | _ \\ \\ \\ / \\ |
|
||||||
|
+ \\ | \\ V | | | \\ | \\ \\
|
||||||
|
+ \\ \\ \\___/ | / \\| \\|
|
||||||
|
+ \\ \\______/ /
|
||||||
|
+ \\_________/
|
||||||
|
+
|
||||||
|
+EOC
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 26 07:45:39 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- Add SUSE brand
|
||||||
|
* chami.patch -- big chameleon picture named chameleon.cow
|
||||||
|
* one-eye.patch -- helper patch to allow the chameleon to be dead
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat May 27 09:21:12 UTC 2017 - sor.alexei@meowr.ru
|
Sat May 27 09:21:12 UTC 2017 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
18
cowsay.spec
18
cowsay.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package cowsay
|
# spec file for package cowsay
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -23,16 +23,18 @@ Name: cowsay
|
|||||||
Version: 3.03
|
Version: 3.03
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Configurable talking cow (and some other creatures)
|
Summary: Configurable talking cow (and some other creatures)
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: GPL-1.0-or-later OR Artistic-1.0
|
||||||
Group: Amusements/Toys/Other
|
Group: Amusements/Toys/Other
|
||||||
Url: http://nog.net/~tony/warez/
|
URL: http://nog.net/~tony/warez/
|
||||||
Source: http://nog.net/~tony/warez/%{name}-%{version}.tar.gz
|
Source: http://nog.net/~tony/warez/%{name}-%{version}.tar.gz
|
||||||
Source1: http://nog.net/~tony/warez/%{name}-%{version}.tar.gz.sig
|
Source1: http://nog.net/~tony/warez/%{name}-%{version}.tar.gz.sig
|
||||||
Source2: http://nog.net/~tony/tony-monroe-gpgkey.txt#/cowsay.keyring
|
Source2: http://nog.net/~tony/tony-monroe-gpgkey.txt#/cowsay.keyring
|
||||||
|
Patch0: one-eye.patch
|
||||||
|
Patch1: chami.patch
|
||||||
BuildRequires: bash
|
BuildRequires: bash
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%perl_requires
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
cowsay is a configurable talking cow, written in Perl. It operates
|
cowsay is a configurable talking cow, written in Perl. It operates
|
||||||
@ -42,6 +44,8 @@ of silliness.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
sed -i "s|,\$%{nil}PREFIX,|,%{_prefix},|" install.sh
|
sed -i "s|,\$%{nil}PREFIX,|,%{_prefix},|" install.sh
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl -c cowsay
|
perl -c cowsay
|
||||||
@ -52,8 +56,8 @@ mv -T %{buildroot}%{_prefix}/man/ %{buildroot}%{_mandir}
|
|||||||
rm -f %{buildroot}%{_datadir}/cows/mech-and-cow
|
rm -f %{buildroot}%{_datadir}/cows/mech-and-cow
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%doc ChangeLog LICENSE MANIFEST README
|
%doc ChangeLog MANIFEST README
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_bindir}/cowthink
|
%{_bindir}/cowthink
|
||||||
%{_datadir}/cows
|
%{_datadir}/cows
|
||||||
|
12
one-eye.patch
Normal file
12
one-eye.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: cowsay-3.03/cowsay
|
||||||
|
===================================================================
|
||||||
|
--- cowsay-3.03.orig/cowsay
|
||||||
|
+++ cowsay-3.03/cowsay
|
||||||
|
@@ -66,6 +66,7 @@ $Text::Wrap::columns = $opts{'W'};
|
||||||
|
split("\n", fill("", "", @message)));
|
||||||
|
&construct_balloon;
|
||||||
|
&construct_face;
|
||||||
|
+$eye = substr($eyes,0,1);
|
||||||
|
&get_cow;
|
||||||
|
print @balloon_lines;
|
||||||
|
print $the_cow;
|
Loading…
x
Reference in New Issue
Block a user