forked from pool/cowsay
Accepting request 935659 from home:susnux:branches:shells
- Update to 3.7.0 OBS-URL: https://build.opensuse.org/request/show/935659 OBS-URL: https://build.opensuse.org/package/show/shells/cowsay?expand=0&rev=11
This commit is contained in:
parent
971b3e8e03
commit
e1f531e488
@ -1,7 +1,7 @@
|
||||
Index: cowsay-3.03/cows/chameleon.cow
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ cowsay-3.03/cows/chameleon.cow
|
||||
+++ cowsay-3.03/share/cows/chameleon.cow
|
||||
@@ -0,0 +1,25 @@
|
||||
+##
|
||||
+## SUSE-like chameleon
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8b871332cfc1f0b6c16832ecca413ca0ac14d58626491a6733829e3d655878b
|
||||
size 31961
|
3
cowsay-3.7.0.tar.gz
Normal file
3
cowsay-3.7.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af13a93f1559ea435403cf11eaa6c46be5bf03ac165a4acb471c66a4976167e0
|
||||
size 34030
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 3 17:45:48 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||
|
||||
- Update to 3.7.0
|
||||
* cowsay -r [-C] for random cow
|
||||
* Pluggable cow collections using etc/cowsay/cowpath.d
|
||||
* Parseable format for cowsay -l when sent to non-terminal
|
||||
destination
|
||||
* Fix cowsay -l ignoring *.pm files
|
||||
* Have cowsay -l recursively discover cowfiles in subdirectories
|
||||
- Update to 3.5
|
||||
* Add llama cow
|
||||
* Changed to SemVer version numbering
|
||||
- Switch to cowsay-org fork:
|
||||
* Version 3.04.01
|
||||
* Fix the version number in source files
|
||||
- Adjust chami.patch for different directory structure
|
||||
- Drop fixed one-eye.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 2 16:24:11 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
|
30
cowsay.spec
30
cowsay.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package cowsay
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,20 +16,17 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} >= 1140
|
||||
%{?!perl_requires:%define perl_requires() Requires: perl = %{perl_version}}
|
||||
%endif
|
||||
Name: cowsay
|
||||
Version: 3.04
|
||||
Version: 3.7.0
|
||||
Release: 0
|
||||
Summary: Configurable talking cow (and some other creatures)
|
||||
License: GPL-3.0-or-later
|
||||
Group: Amusements/Toys/Other
|
||||
URL: https://github.com/tnalpgge/rank-amateur-cowsay
|
||||
Source: https://github.com/tnalpgge/rank-amateur-cowsay/archive/cowsay-%{version}.tar.gz
|
||||
Patch0: one-eye.patch
|
||||
Patch1: chami.patch
|
||||
BuildRequires: bash
|
||||
URL: https://cowsay.diamonds/
|
||||
Source: https://github.com/cowsay-org/cowsay/archive/cowsay-%{version}.tar.gz
|
||||
Patch0: chami.patch
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildArch: noarch
|
||||
%{perl_requires}
|
||||
@ -40,25 +37,22 @@ much as the figlet program does, and it written in the same spirit
|
||||
of silliness.
|
||||
|
||||
%prep
|
||||
%setup -q -n rank-amateur-cowsay-%{name}-%{version}
|
||||
sed -i "s|,\$%{nil}PREFIX,|,%{_prefix},|" install.sh
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
sed -i '1 s/env //' cowsay
|
||||
|
||||
%build
|
||||
perl -c cowsay
|
||||
|
||||
%install
|
||||
bash ./install.sh %{buildroot}%{_prefix}
|
||||
mv -T %{buildroot}%{_prefix}/man/ %{buildroot}%{_mandir}
|
||||
rm -f %{buildroot}%{_datadir}/cows/mech-and-cow
|
||||
%make_install prefix=%{_prefix}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc ChangeLog MANIFEST README
|
||||
%license LICENSE.txt
|
||||
%doc ChangeLog README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/cowthink
|
||||
%{_datadir}/cows
|
||||
%{_datadir}/cowsay
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
|
@ -1,12 +0,0 @@
|
||||
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…
Reference in New Issue
Block a user