Name: nyancat Version: 1.5.2 Release: 1%{?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 %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 %install mkdir -p %{buildroot}/%{_bindir}/ install -m 0755 src/nyancat %{buildroot}/%{_bindir}/ # upstream doesn't ship manpage yet: # https://github.com/klange/nyancat/pull/54 # mkdir -p %%{buildroot}/%%{_mandir}/man1/ # install -m 0544 nyancat.1 %%{buildroot}/%%{_mandir}/man1/ %files %doc %license %{_bindir}/nyancat # %%{_mandir}/man1/nyancat.1.gz %changelog * Fri Jan 24 2020 Tomas Tomecek - 1.5.2 - Initial RPM packaging