2014-04-18 13:44:27 +02:00
|
|
|
#
|
|
|
|
# spec file for package cowsay
|
|
|
|
#
|
2021-12-05 00:51:41 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-04-18 13:44:27 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-06-26 11:13:33 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-04-18 13:44:27 +02:00
|
|
|
#
|
|
|
|
|
2014-04-26 17:49:36 +02:00
|
|
|
|
2017-05-27 11:27:29 +02:00
|
|
|
%{?!perl_requires:%define perl_requires() Requires: perl = %{perl_version}}
|
2014-04-18 13:44:27 +02:00
|
|
|
Name: cowsay
|
2021-12-05 00:51:41 +01:00
|
|
|
Version: 3.7.0
|
2014-04-18 13:44:27 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Configurable talking cow (and some other creatures)
|
2020-09-02 19:00:26 +02:00
|
|
|
License: GPL-3.0-or-later
|
2014-04-26 17:49:36 +02:00
|
|
|
Group: Amusements/Toys/Other
|
2021-12-05 00:51:41 +01:00
|
|
|
URL: https://cowsay.diamonds/
|
|
|
|
Source: https://github.com/cowsay-org/cowsay/archive/cowsay-%{version}.tar.gz
|
|
|
|
Patch0: chami.patch
|
|
|
|
BuildRequires: make
|
2017-05-27 11:27:29 +02:00
|
|
|
BuildRequires: perl
|
2014-04-18 13:44:27 +02:00
|
|
|
BuildArch: noarch
|
2019-06-26 11:13:33 +02:00
|
|
|
%{perl_requires}
|
2014-04-18 13:44:27 +02:00
|
|
|
|
|
|
|
%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
|
2021-12-05 00:51:41 +01:00
|
|
|
%setup -q
|
2019-06-26 11:13:33 +02:00
|
|
|
%patch0 -p1
|
2021-12-05 00:51:41 +01:00
|
|
|
sed -i '1 s/env //' cowsay
|
2014-04-18 13:44:27 +02:00
|
|
|
|
|
|
|
%build
|
2014-04-26 17:49:36 +02:00
|
|
|
perl -c cowsay
|
2014-04-18 13:44:27 +02:00
|
|
|
|
|
|
|
%install
|
2021-12-05 00:51:41 +01:00
|
|
|
%make_install prefix=%{_prefix}
|
2014-04-18 13:44:27 +02:00
|
|
|
|
|
|
|
%files
|
2021-12-05 00:51:41 +01:00
|
|
|
%license LICENSE.txt
|
|
|
|
%doc ChangeLog README.md
|
2014-04-18 13:44:27 +02:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/cowthink
|
2021-12-05 00:51:41 +01:00
|
|
|
%{_datadir}/cowsay
|
2014-04-18 13:44:27 +02:00
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
%changelog
|