Name: evilhello Version: 2.8 Release: 2%{?dist} Summary: it will fail to build License: GPLv3+ URL: http://ftp.gnu.org/gnu/%{name} Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz BuildRequires: gettext BuildRequires: gcc Requires(post): info Requires(preun): info %description just fail to build nothing else %prep %autosetup %build %configure make %{?_smp_mflags} %install %make_install %find_lang %{name} rm -f %{buildroot}/%{_infodir}/dir %post /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : %preun if [ $1 = 0 ] ; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi %files -f %{name}.lang %doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO %{_mandir}/man1/hello.1.gz %{_infodir}/%{name}.info.gz %{_bindir}/hello %changelog * Mon Jun 24 2019 Pavel Raiskup - 2.8-1 - add gcc to BR for minimized Fedoras * Tue Sep 06 2011 The Coon of Ty 2.8-1 - Initial version of the package