update to 3.7.0 [release 3.7.0-1mamba;Mon Dec 27 2021]
This commit is contained in:
parent
155e9a0cbe
commit
6dcd011899
39
cowsay.spec
39
cowsay.spec
@ -1,16 +1,16 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: cowsay
|
||||
Version: 3.04
|
||||
Version: 3.7.0
|
||||
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
|
||||
Source: https://github.com/tnalpgge/rank-amateur-cowsay.git/cowsay-%{version}/rank-amateur-cowsay-%{version}.tar.bz2
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/tnalpgge/rank-amateur-cowsay
|
||||
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
|
||||
# Debian patches
|
||||
Patch0: cowsay-3.03-fix_paths.patch
|
||||
Patch1: cowsay-3.03-debian_utf8_width.patch
|
||||
@ -33,23 +33,24 @@ Patch31: cowsay-3.03-snake_cow.patch
|
||||
License: GPL, Artistic
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libperl
|
||||
BuildRequires: perl(Acme::Cow)
|
||||
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 -n rank-amateur-cowsay-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%setup -q
|
||||
#%patch0 -p1
|
||||
#%patch1 -p1
|
||||
#%patch2 -p1
|
||||
#%patch3 -p1
|
||||
#%patch4 -p1
|
||||
cd share
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
@ -67,13 +68,8 @@ It operates much as the figlet program does, and it written in the same spirit o
|
||||
|
||||
%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
|
||||
%makeinstall prefix=%{_prefix}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -83,12 +79,15 @@ cd %{buildroot}%{_mandir}/man1 && ln -s cowsay.1 cowthink.1
|
||||
%{_bindir}/cowsay
|
||||
%{_bindir}/cowthink
|
||||
%dir %{_datadir}/cowsay/cows
|
||||
%{_datadir}/cowsay/cows/*.cow
|
||||
%{_datadir}/cowsay/cows/*
|
||||
%{_mandir}/man1/cowsay*
|
||||
%{_mandir}/man1/cowthink*
|
||||
%doc LICENSE
|
||||
%doc LICENSE.txt
|
||||
|
||||
%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
|
||||
- update to 3.04
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user