update to 3.7.0 [release 3.7.0-1mamba;Mon Dec 27 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 21:31:55 +01:00
parent 155e9a0cbe
commit 6dcd011899

View File

@ -1,16 +1,16 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) %define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: cowsay Name: cowsay
Version: 3.04 Version: 3.7.0
Release: 1mamba Release: 1mamba
Summary: Configurable talking cow Summary: Configurable talking cow
Group: Applications/Graphics Group: Applications/Graphics
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.nog.net/~tony/warez URL: https://github.com/tnalpgge/rank-amateur-cowsay
## GITSOURCE https://alioth.debian.org/anonscm/git/collab-maint/cowsay.git Source: https://github.com/cowsay-org/cowsay.git/v%{version}/cowsay-%{version}.tar.bz2
Source: https://github.com/tnalpgge/rank-amateur-cowsay.git/cowsay-%{version}/rank-amateur-cowsay-%{version}.tar.bz2 #Source: https://github.com/tnalpgge/rank-amateur-cowsay.git/cowsay-%{version}/rank-amateur-cowsay-%{version}.tar.bz2
# Debian patches # Debian patches
Patch0: cowsay-3.03-fix_paths.patch Patch0: cowsay-3.03-fix_paths.patch
Patch1: cowsay-3.03-debian_utf8_width.patch Patch1: cowsay-3.03-debian_utf8_width.patch
@ -33,23 +33,24 @@ Patch31: cowsay-3.03-snake_cow.patch
License: GPL, Artistic License: GPL, Artistic
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libperl BuildRequires: libperl
BuildRequires: perl(Acme::Cow)
BuildRequires: perl-devel BuildRequires: perl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: perl-devel BuildRequires: perl-devel
Requires: perl >= %perl_major_ver Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
cowsay is a configurable talking cow, written in Perl. 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. It operates much as the figlet program does, and it written in the same spirit of silliness.
%prep %prep
%setup -q -n rank-amateur-cowsay-%{version} %setup -q
%patch0 -p1 #%patch0 -p1
%patch1 -p1 #%patch1 -p1
%patch2 -p1 #%patch2 -p1
%patch3 -p1 #%patch3 -p1
%patch4 -p1 #%patch4 -p1
cd share
%patch10 -p1 %patch10 -p1
%patch11 -p1 %patch11 -p1
%patch12 -p1 %patch12 -p1
@ -67,13 +68,8 @@ It operates much as the figlet program does, and it written in the same spirit o
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{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 %makeinstall prefix=%{_prefix}
cd %{buildroot}%{_mandir}/man1 && ln -s cowsay.1 cowthink.1
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -83,12 +79,15 @@ cd %{buildroot}%{_mandir}/man1 && ln -s cowsay.1 cowthink.1
%{_bindir}/cowsay %{_bindir}/cowsay
%{_bindir}/cowthink %{_bindir}/cowthink
%dir %{_datadir}/cowsay/cows %dir %{_datadir}/cowsay/cows
%{_datadir}/cowsay/cows/*.cow %{_datadir}/cowsay/cows/*
%{_mandir}/man1/cowsay* %{_mandir}/man1/cowsay*
%{_mandir}/man1/cowthink* %{_mandir}/man1/cowthink*
%doc LICENSE %doc LICENSE.txt
%changelog %changelog
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.0-1mamba
- update to 3.7.0
* Thu Sep 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.04-1mamba * Thu Sep 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.04-1mamba
- update to 3.04 - update to 3.04