diff --git a/cowsay.spec b/cowsay.spec index cefdc03..a115509 100644 --- a/cowsay.spec +++ b/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 -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 +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 3.7.0-1mamba +- update to 3.7.0 + * Thu Sep 06 2018 Silvan Calarco 3.04-1mamba - update to 3.04