package created by autospec [release 3.03-1mamba;Wed Aug 20 2014]

This commit is contained in:
Davide Madrisan 2024-01-05 21:31:54 +01:00
parent 138a33dc01
commit 98c76ebcc2
18 changed files with 558 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# cowsay
cowsay is a configurable talking cow, written in Perl.
It operates much as the figlet program does, and it written in the same spirit of silliness.

17
cowsay-3.03-apt_cow.patch Normal file
View File

@ -0,0 +1,17 @@
Description: Add a new cow
Forwarded: no
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=143810#5
Bug-Debian: http://bugs.debian.org/143810
Author: Steven Barker <scbarker@uiuc.edu>
--- /dev/null
+++ cowsay-3.03/cows/apt.cow
@@ -0,0 +1,8 @@
+$the_cow = <<"EOC";
+ $thoughts (__)
+ ($eyes)
+ /------\\/
+ / | ||
+ * /\\---/\\
+ ~~ ~~
+EOC

View File

@ -0,0 +1,48 @@
Description: Add a new cow
Forwarded: no
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404287#5
Bug-Debian: http://bugs.debian.org/404287
Author: Krishna Kumar <krish.kumar@gmail.com>
Last-Update: 2014-03-21
--- /dev/null
+++ cowsay-3.03/cows/calvin.cow
@@ -0,0 +1,38 @@
+##
+##
+##
+$the_cow = <<"EOC";
+ $thoughts .,
+ $thoughts . .TR d'
+ $thoughts k,l .R.b .t .Je
+ $thoughts .P q. a|.b .f .Z%
+ .b .h .E` # J: 2` .
+ .,.a .E ,L.M' ?:b `| ..J9!`.,
+ q,.h.M` `.., ..,""` ..2"`
+ .M, J8` `: ` 3;
+ . Jk ..., `^7"90c.
+ j, ,! .7"'`j,.| .n. ...
+ j, 7' .r` 4: L `...
+ ..,m. J` ..,|.. J` 7TWi
+ ..JJ,.: % $eyes ,. ....,
+ .,E 3 7`g.M: P 41
+ JT7"' O. .J,; `` V"7N.
+ G. ""Q+ .Zu.,!` Z`
+ .9.. . J&..J! . ,:
+ 7"9a JM"!
+ .5J. .. ..F`
+ 78a.. ` ..2'
+ J9Ksaw0"'
+ .EJ?A...a.
+ q...g...gi
+ .m...qa..,y:
+ .HQFNB&...mm
+ ,Z|,m.a.,dp
+ .,?f` ,E?:"^7b
+ `A| . .F^^7'^4,
+ @9@mmBmmmmmQM$
+ ..MMMMMMMMMMMQzna,
+ ...f"A.JdT J: Jp,
+ `JNa..........A....af`
+ `^^^^^'`
+EOC

View File

@ -0,0 +1,23 @@
Description: Add a new cow
Forwarded: no
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404287#5
Bug-Debian: http://bugs.debian.org/404287
Author: Krishna Kumar <krish.kumar@gmail.com>
Last-Update: 2014-03-21
--- /dev/null
+++ cowsay-3.03/cows/cock.cow
@@ -0,0 +1,13 @@
+$the_cow = <<"EOC";
+ $thoughts
+ $thoughts /\\/\\
+ \\ /
+ | 0 >>
+ |___|
+ __((_<| |
+( |
+(__________)
+ | |
+ | |
+ /\\ /\\
+EOC

View File

@ -0,0 +1,24 @@
Description: utf8 support in input, output and arguments on utf8-enabled locales
Note that this is not a complete solution (doesn't support Chinese/Japanese
characters for example) but it's better than what we had.
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=254557#27
Bug-Debian: http://bugs.debian.org/254557
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/cowsay/+bug/393212
Author: Damyan Ivanov <dmn@debian.org>
--- a/cowsay
+++ b/cowsay
@@ -12,6 +12,13 @@ use File::Basename;
use Getopt::Std;
use Cwd;
+if (${^UTF8LOCALE}) {
+ binmode STDIN, ':utf8';
+ binmode STDOUT, ':utf8';
+ require Encode;
+ eval { $_ = Encode::decode_utf8($_,1) } for @ARGV;
+}
+
$version = "3.03";
$progname = basename($0);
$eyes = "oo";

View File

@ -0,0 +1,14 @@
Description: Add a new cow
Forwarded: no
Author: Gürkan Sengün <gurkan@phys.ethz.ch>
--- /dev/null
+++ cowsay-3.03/cows/duck.cow
@@ -0,0 +1,7 @@
+# provided by Gürkan Sengün <gurkan@phys.ethz.ch>
+$the_cow = <<"EOC";
+ $thoughts
+ $thoughts
+ $thoughts >()_
+ (__)__ _
+EOC

View File

@ -0,0 +1,19 @@
Description: Work-around for broken baloons with empty messages
Forwarded: no
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=165218#5
Bug-Debian: http://bugs.debian.org/165218
Author: Jeronimo Pellegrini <pellegrini@mpcnet.com.br>
--- cowsay-3.03.orig/cowsay
+++ cowsay-3.03/cowsay
@@ -106,6 +106,10 @@ sub maxlength {
$l = length $i;
$m = $l if ($l > $m);
}
+## maxlength patch from Jeronimo Pellegrini (Closes: #165218)
+ if ($m == -1) {
+ $m = 0;
+ }
return $m;
}

View File

@ -0,0 +1,17 @@
--- cowsay-3.03/cowsay 2014-08-20 22:05:05.000000000 +0200
+++ cowsay-3.03/cowsay.fixpath 2014-08-22 00:15:46.000000000 +0200
@@ -1,4 +1,4 @@
-#%BANGPERL%
+#!/usr/bin/perl
##
## Cowsay 3.03
@@ -16,7 +16,7 @@
$progname = basename($0);
$eyes = "oo";
$tongue = " ";
-$cowpath = $ENV{'COWPATH'} || '%PREFIX%/share/cows';
+$cowpath = $ENV{'COWPATH'} || '/usr/share/cowsay/cows';
@message = ();
$thoughts = "";

34
cowsay-3.03-gnu_cow.patch Normal file
View File

@ -0,0 +1,34 @@
Description: Add a new cow
Forwarded: no
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367310#5
Bug-Debian: http://bugs.debian.org/367310
Author: Gerfried Fuchs <alfie@debian.org>
--- /dev/null
+++ cowsay-3.03/cows/gnu.cow
@@ -0,0 +1,25 @@
+## vim:ft=perl:
+## GNU/say - (c) 2006 Gerfried Fuchs <rhonda@deb.at>
+## distributed under the WTFPLv2 license
+##
+$the_cow = <<"EOC";
+ $thoughts ,-----._
+ . $thoughts . ,' `-.__,------._
+ // $thoughts __\\\\' `-.
+(( _____-'___)) |
+ `:='/ (alf_/ |
+ `.=| |=' |
+ |) O | \\
+ | | /\\ \\
+ | / . / \\ \\
+ | .-..__ ___ .--' \\ |\\ \\ |
+ |o o | ``--.___. / `-' \\ \\\\ \\ |
+ `--'' ' .' / / | | | | \\
+ $tongue | | / / | | | mmm
+ | || | | /| |
+ ( .' \\ \\ || | |
+ | | \\ \\ // / /
+ | | \\ \\ || |_|
+ / | |_/ /_|
+ /__/
+EOC

View File

@ -0,0 +1,16 @@
Description: Fix a small typo in the luke-koala cow
Forwarded: no
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=203648#5
Bug-Debian: http://bugs.debian.org/203648
Author: Adam Garside <asg@gimp.shacknet.nu>
--- cowsay-3.03.orig/cows/luke-koala.cow
+++ cowsay-3.03/cows/luke-koala.cow
@@ -10,6 +10,6 @@ $the_cow = <<EOC;
()~*~()
(_)-(_)
Luke
- Sywalker
+ Skywalker
koala
EOC

View File

@ -0,0 +1,31 @@
Description: Add a new cow
Forwarded: no
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=193440#15
Bug-Debian: http://bugs.debian.org/193440
Author: Thom May <thom@debian.org>
--- /dev/null
+++ cowsay-3.03/cows/mech-and-cow.cow
@@ -0,0 +1,22 @@
+## mecha cow!
+##
+## Patch from Thom May
+$the_cow = <<EOC;
+ ,-----.
+ | |
+ ,--| |-.
+ __,----| | | |
+ ,;:: | `_____' |
+ `._______| i^i |
+ `----| |---'| .
+ ,-------._| |== ||//
+ | |_|P`. /'/
+ `-------' 'Y Y/'/'
+ .==\ /_\
+ ^__^ / /'| `i
+ (oo)\_______ /' / | |
+ (__)\ )\/\ /' / | `i
+ ||----w | ___,;`----'.___L_,-'`\__
+ || || i_____;----\.____i""\____\
+
+EOC

View File

@ -0,0 +1,16 @@
Description: Remove tab characters
Forwarded: no
Origin: vendor
Bug-Debian: http://bugs.debian.org/742286
Author: Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
Last-Update: 2014-03-21
--- a/cows/moofasa.cow
+++ b/cows/moofasa.cow
@@ -10,5 +10,5 @@ $the_cow = <<EOC;
\\____/|----w |
|| ||
- Moofasa
+ Moofasa
EOC

View File

@ -0,0 +1,16 @@
Description: The openmamba snake
Author: Davide Madrisan <davide.madrisan@gmail.com>
--- /dev/null
+++ cowsay-3.03/cows/openmamba.cow
@@ -0,0 +1,10 @@
+##
+## The openmamba snake
+##
+$the_cow = <<"EOC";
+ $thoughts
+ ss
+ ;S; ss sss __
+ w Sss SSS sss /
+ sSs: ss;
+EOC

View File

@ -0,0 +1,116 @@
Description: Add 4 new cows
Forwarded: no
Origin: vendor
Bug-Debian: http://bugs.debian.org/575317
Author: Nick Daly <nick.m.daly@gmail.com>
Last-Update: 2010-12-04
--- /dev/null
+++ b/cows/pony-smaller.cow
@@ -0,0 +1,13 @@
+##
+## A Pony!
+## Copyright 2010 Nick Daly <nick.m.daly@gmail.com>
+## Released under the same terms as cowsay
+##
+$the_cow = <<"EOC";
+ $thoughts _^^
+ $thoughts _- $eyes\\
+ \\----- \\______
+ $tongue \\ )\\
+ ||-----|| \\
+ || ||
+EOC
--- /dev/null
+++ b/cows/pony.cow
@@ -0,0 +1,33 @@
+#
+# A (big) pony!
+# Copyright 2010 Nick Daly <nick.m.daly@gmail.com>
+# Released under the same terms as cowsay
+#
+$the_cow = <<"EOC";
+ $thoughts /\\/\\
+ $thoughts \\/\\/
+ $thoughts / -\\
+ $thoughts / $eyes -\\
+ $thoughts / \\
+ | ---\\ -\\
+ \\--/ \\ \\
+ $tongue | -\\
+ \\ -\\ -------------\\ /-\\
+ \\ \\-------/ ---/ \\
+ \\ |\\ \\
+ | / | |
+ \\ | \\ |
+ | / \\ |
+ | / \\ |
+ \\ \\ \\|
+ - /--------\\ | o
+ \\+ +--------- \\ |
+ | | | \\
+ | | \\ |
+ | | | \\
+ | | \\ |
+ \\ | | |
+ | | \\ \\
+ | | | |
+ +--+ ---+
+EOC
--- /dev/null
+++ b/cows/unipony-smaller.cow
@@ -0,0 +1,15 @@
+#
+# A (smaller) unipony!
+# Copyright 2010 Nick Daly <nick.m.daly@gmail.com>
+# Released under the same terms as cowsay
+#
+$the_cow = <<"EOC";
+ $thoughts \\
+ $thoughts \\
+ $thoughts _\\^
+ $thoughts _- $eyes\\
+ \\---- \\______
+ $tongue \\ )\\
+ ||-----|| \\
+ || ||
+EOC
--- /dev/null
+++ b/cows/unipony.cow
@@ -0,0 +1,36 @@
+#
+# A (big) pony!
+# Copyright 2010 Nick Daly <nick.m.daly@gmail.com>
+# Released under the same terms as cowsay
+#
+$the_cow = <<"EOC";
+ $thoughts \\
+ $thoughts \\_
+ $thoughts \\\\
+ $thoughts \\\\/\\
+ $thoughts _\\\\/
+ $thoughts / -\\
+ $thoughts / $eyes -\\
+ $thoughts / \\
+ | ---\\ -\\
+ \\--/ \\ \\
+ $tongue | -\\
+ \\ -\\ -------------\\ /-\\
+ \\ \\-------/ ---/ \\
+ \\ |\\ \\
+ | / | |
+ \\ | \\ |
+ | / \\ |
+ | / \\ |
+ \\ \\ \\|
+ - /--------\\ | o
+ \\+ +--------- \\ |
+ | | | \\
+ | | \\ |
+ | | | \\
+ | | \\ |
+ \\ | | |
+ | | \\ \\
+ | | | |
+ +--+ ---+
+EOC

View File

@ -0,0 +1,25 @@
Description: Add a new cow
Forwarded: no
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561531#5
Bug-Debian: http://bugs.debian.org/561531
Author: chrysn <chrysn@fsfe.org>
--- /dev/null
+++ b/cows/snowman.cow
@@ -0,0 +1,16 @@
+# a snowman
+# (c) 2009 chrysn <chrysn@fsfe.org>
+# published under the same terms as cowsay or cc-by-3.0, at your discretion
+$the_cow = <<EOF
+ $thoughts
+ ___###
+ /$eyes\\ |||
+ \\$tongue/ \\|/
+ /""\\ I
+()| |(I)
+ \\ / I
+ /""""\\ I
+ | |I
+ | |I
+ \\____/ I
+EOF

View File

@ -0,0 +1,27 @@
Description: Add a new cow
This is the official I-can't-believe-we-have-this-in-Debian cow file.
.
Added thanks to peer pressure on #debian-uk.
Forwarded: no
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326063#5
Bug-Debian: http://bugs.debian.org/326063
Author: Vincent Sanders <vince@kyllikki.org>
--- /dev/null
+++ cowsay-3.03/cows/sodomized-sheep.cow
@@ -0,0 +1,15 @@
+##
+## The non-flaming sheep.
+##
+$the_cow = <<EOC
+ $thoughts __
+ $thoughts (${eyes})
+ $thoughts (${tongue})
+ $thoughts /--\\
+ __ / \\ \\
+ U${eyes}U\\.'\@\@\@\@\@\@`.\\ )
+ \\__/(\@\@\@\@\@\@\@\@\@\@) /
+ (\@\@\@\@\@\@\@\@)((
+ `YY~~~~YY' \\\\
+ || || >>
+EOC

View File

@ -0,0 +1,21 @@
Description: Add a new cow
Forwarded: no
Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367310#5
Bug-Debian: http://bugs.debian.org/367310
Author: Gerfried Fuchs <alfie@debian.org>
--- /dev/null
+++ cowsay-3.03/cows/suse.cow
@@ -0,0 +1,12 @@
+## vim:ft=perl:
+## SuSE thingy - (c) 2006 Gerfried Fuchs <rhonda@deb.at>
+## distributed under the WTFPLv2 license
+##
+$the_cow = <<"EOC";
+ $thoughts
+ ${thoughts}____
+ /@ ~-.
+ \\/ __ .- |
+ // // @
+EOC
+

91
cowsay.spec Normal file
View File

@ -0,0 +1,91 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: cowsay
Version: 3.03
Release: 1mamba
Summary: Configurable talking cow
Group: Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.nog.net/~tony/warez
## GITSOURCE https://alioth.debian.org/anonscm/git/collab-maint/cowsay.git
Source0: https://alioth.debian.org/anonscm/git/collab-maint/cowsay.git/master/cowsay-%{version}.tar.bz2
# Debian patches
Patch0: cowsay-3.03-fix_paths.patch
Patch1: cowsay-3.03-debian_utf8_width.patch
Patch2: cowsay-3.03-empty_messages.patch
Patch3: cowsay-3.03-koala_typo.patch
Patch4: cowsay-3.03-moofasa_remove_tabs.patch
Patch10: cowsay-3.03-apt_cow.patch
Patch11: cowsay-3.03-calvin_cow.patch
Patch12: cowsay-3.03-cock_cow.patch
Patch13: cowsay-3.03-duck_cow.patch
Patch14: cowsay-3.03-gnu_cow.patch
Patch15: cowsay-3.03-mech-and-cow_cow.patch
Patch16: cowsay-3.03-ponies_cow.patch
Patch17: cowsay-3.03-snowman_cow.patch
Patch18: cowsay-3.03-sodomized-sheep_cow.patch
Patch19: cowsay-3.03-suse_cow.patch
# openmamba patches
Patch30: cowsay-3.03-openmamba_cow.patch
License: GPL, Artistic
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl-devel
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
cowsay is a configurable talking cow, written in Perl.
It operates much as the figlet program does, and it written in the same spirit of silliness.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch19 -p1
%patch30 -p1
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 cowsay %{buildroot}%{_bindir}/cowsay
install -D -m0644 cowsay.1 %{buildroot}%{_mandir}/man1/cowsay.1
install -d %{buildroot}%{_datadir}/cowsay/cows
install -m0644 cows/*.cow %{buildroot}%{_datadir}/cowsay/cows/
cd %{buildroot}%{_bindir} && ln -s cowsay cowthink
cd %{buildroot}%{_mandir}/man1 && ln -s cowsay.1 cowthink.1
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/cowsay
%{_bindir}/cowthink
%dir %{_datadir}/cowsay/cows
%{_datadir}/cowsay/cows/*.cow
%{_mandir}/man1/cowsay*
%{_mandir}/man1/cowthink*
%doc LICENSE
%changelog
* Wed Aug 20 2014 Davide Madrisan <davide.madrisan@gmail.com> 3.03-1mamba
- package created by autospec