## START: Set by rpmautospec ## (rpmautospec version 0.6.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 28; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global cowpathdir %{_sysconfdir}/cowsay/cowpath.d %global pkgcowsdir %{_datadir}/%{name}/cows Name: cowsay-beefymiracle Version: 1.0 Release: %autorelease Summary: Cowsay file for the Beefy Miracle License: CC-BY-SA URL: http://rrix.fedorapeople.org/beefsay Source0: http://rrix.fedorapeople.org/beefsay/beefymiracle.cow # 3.7.0-6 first shipped /etc/cowsay/cowpath.d/ BuildRequires: cowsay >= 3.7.0-6 Requires: cowsay >= 3.7.0-6 BuildArch: noarch %description Provides a cowsay file for His Holiness the Beefy Miracle. It can be invoked using cowsay -f beefymiracle, or aliased appropriately. %prep mkdir -p %{name}-%{version} cd %{name}-%{version} %build cd %{name}-%{version} echo "%{pkgcowsdir}" > %{name}.path sed -e 's,/bin/env perl,/usr/bin/perl,g' %{SOURCE0} > beefymiracle.cow %install cd %{name}-%{version} rm -rf %{buildroot} install -d -m 0755 %{buildroot}%{cowpathdir} install -p -m 0644 %{name}.path %{buildroot}%{cowpathdir} install -d -m 0755 %{buildroot}%{pkgcowsdir} install -p -m 0644 beefymiracle.cow %{buildroot}%{pkgcowsdir} %check # Note: This does *not* check that our cowsdir is the same as the # cowsay package's cowsdir export COWPATH=%{buildroot}%{pkgcowsdir} echo "Installation (probably) successful" | cowsay -f beefymiracle %files %doc %{cowpathdir}/%{name}.path %{pkgcowsdir}/beefymiracle.cow %changelog ## START: Generated by rpmautospec * Wed Jul 17 2024 Fedora Release Engineering - 1.0-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 1.0-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 1.0-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 1.0-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.0-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Aug 30 2022 Hans Ulrich Niedermann - 1.0-23 - Use /etc/cowsay/cowpath.d/ * Mon Aug 22 2022 Hans Ulrich Niedermann - 1.0-19 - Use cowsay's new cows directory * Wed Jul 20 2022 Fedora Release Engineering - 1.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 1.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 1.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 1.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 1.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jul 30 2018 Adam Williamson - 1.0-11 - Hack shebang to not use env, to avoid broken /bin/perl dependency * Thu Jul 12 2018 Fedora Release Engineering - 1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jan 21 2013 Ryan Rix - 1.0-1 - Initial packaging of cowsay plugin ## END: Generated by rpmautospec