Name: nyancat Version: 1.5.2 Release: 3%{?dist} Summary: Nyancat rendered in your terminal License: NCSA URL: https://github.com/klange/nyancat Source0: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: gawk %description Nyan Cat is the name of a YouTube video uploaded in April 2011, which became an internet meme. The video merged a Japanese pop song with an animated cartoon cat with a Pop-Tart for a torso, flying through space, and leaving a rainbow trail behind it. %prep %autosetup %build make %{?_smp_mflags} nyancat awk '1;/\*\//{exit}' < src/nyancat.c > LICENSE %install mkdir -p %{buildroot}/%{_bindir}/ install -m 0755 src/nyancat %{buildroot}/%{_bindir}/ mkdir -p %{buildroot}/%{_mandir}/man1/ install -m 0544 nyancat.1 %{buildroot}/%{_mandir}/man1/ %files %license LICENSE %doc README.md %{_bindir}/nyancat %{_mandir}/man1/nyancat.1* %changelog * Wed Jan 29 2020 Tomas Tomecek - 1.5.2-3 - include manpage * Tue Jan 28 2020 Tomas Tomecek - 1.5.2-2 - improve packaging: - summary doesn't end with a dot - files -> manpage uses a wildcard now - extract license with awk * Fri Jan 24 2020 Tomas Tomecek - 1.5.2 - Initial RPM packaging