Name: meow Version: 2.1.5 Release: %autorelease Summary: Print ASCII cats to your terminal License: MIT URL: https://github.com/pixelsergey/meow Source: %{url}/archive/v%{version}/meow-v%{version}.tar.gz BuildRequires: cargo-rpm-macros >= 24 BuildRequires: help2man ExcludeArch: %{ix86} %description This is a simple app to print ASCII cats directly to your terminal. Run `meow` for a single cat, `meow -c ` for more cats, or `meow -l` if you think that you are literally the cat that will be printed. %prep %autosetup %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build {%cargo_license} > LICENSE.dependencies %cargo_license_summary help2man --no-info --output=meow.1 --name='%{summary}' target/rpm/meow-cli %install install -p -m 755 -D target/rpm/meow-cli %{buildroot}%{_bindir}/meow install -t %{buildroot}%{_mandir}/man1 -D -p -m 0644 meow.1 %check %cargo_test %files %{_bindir}/meow %{_mandir}/man1/meow.1* %license LICENSE %license LICENSE.dependencies %doc README.md %changelog %autochangelog