2024-01-05 21:31:54 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: cowsay
|
2024-12-04 11:19:39 +01:00
|
|
|
Version: 3.8.4
|
2024-01-05 21:31:54 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 21:31:54 +01:00
|
|
|
Summary: Configurable talking cow
|
|
|
|
Group: Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 21:31:55 +01:00
|
|
|
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
|
2024-01-05 21:31:54 +01:00
|
|
|
# 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
|
2024-01-05 21:31:54 +01:00
|
|
|
Patch31: cowsay-3.03-snake_cow.patch
|
2024-01-05 21:31:54 +01:00
|
|
|
License: GPL, Artistic
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libperl
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%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
|
2024-01-05 21:31:55 +01:00
|
|
|
%setup -q
|
|
|
|
#%patch0 -p1
|
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
|
|
|
#%patch3 -p1
|
|
|
|
#%patch4 -p1
|
|
|
|
cd share
|
2024-08-11 10:38:56 +02:00
|
|
|
%patch 10 -p1
|
|
|
|
%patch 11 -p1
|
|
|
|
%patch 12 -p1
|
|
|
|
%patch 13 -p1
|
|
|
|
%patch 14 -p1
|
|
|
|
#%patch 15 -p1
|
|
|
|
%patch 16 -p1
|
|
|
|
%patch 17 -p1
|
|
|
|
%patch 18 -p1
|
|
|
|
%patch 19 -p1
|
|
|
|
%patch 30 -p1
|
|
|
|
%patch 31 -p1
|
2024-01-05 21:31:54 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 21:31:55 +01:00
|
|
|
%makeinstall prefix=%{_prefix}
|
2024-01-05 21:31:54 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/cowsay
|
|
|
|
%{_bindir}/cowthink
|
|
|
|
%dir %{_datadir}/cowsay/cows
|
2024-01-05 21:31:55 +01:00
|
|
|
%{_datadir}/cowsay/cows/*
|
2024-01-05 21:31:54 +01:00
|
|
|
%{_mandir}/man1/cowsay*
|
|
|
|
%{_mandir}/man1/cowthink*
|
2024-01-05 21:31:55 +01:00
|
|
|
%doc LICENSE.txt
|
2024-01-05 21:31:54 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-12-04 11:19:39 +01:00
|
|
|
* Mon Dec 02 2024 Automatic Build System <autodist@openmamba.org> 3.8.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-22 11:38:16 +02:00
|
|
|
* Thu Aug 22 2024 Automatic Build System <autodist@openmamba.org> 3.8.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-18 22:46:54 +02:00
|
|
|
* Sat Aug 17 2024 Automatic Build System <autodist@openmamba.org> 3.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-08-11 10:38:56 +02:00
|
|
|
* Sat Aug 10 2024 Automatic Build System <autodist@openmamba.org> 3.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:31:55 +01:00
|
|
|
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.0-1mamba
|
|
|
|
- update to 3.7.0
|
|
|
|
|
2024-01-05 21:31:54 +01:00
|
|
|
* Thu Sep 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.04-1mamba
|
|
|
|
- update to 3.04
|
|
|
|
|
2024-01-05 21:31:54 +01:00
|
|
|
* Tue Dec 29 2015 Automatic Build System <autodist@mambasoft.it> 3.03+dfsg1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:31:54 +01:00
|
|
|
* Sun Aug 31 2014 Davide Madrisan <davide.madrisan@gmail.com> 3.03-2mamba
|
|
|
|
- new cow files: openmamba and snake
|
|
|
|
|
2024-01-05 21:31:54 +01:00
|
|
|
* Wed Aug 20 2014 Davide Madrisan <davide.madrisan@gmail.com> 3.03-1mamba
|
|
|
|
- package created by autospec
|