Name: xkpwgen Version: 0.6.1 Release: 1%{?dist} Summary: Generate XKCD 936 passwords on command line License: Apache License, Version 2.0 URL: https://github.com/lunaryorn/xkpwgen.rs/ Source0: https://github.com/lunaryorn/xkpwgen.rs/archive/%{version}/xkpwgen-%{version}.tar.gz BuildRequires: cargo %if 0%{?fedora} >= 24 ExclusiveArch: x86_64 i686 armv7hl %else ExclusiveArch: x86_64 aarch64 %endif %description xkpwgen generates XKCD 936 passwords from wordlists. # Disable debug info; xkpwgen doesn't include debug info in release profile %define debug_package %{nil} %prep %autosetup -v -n xkpwgen.rs-%{version} %build cargo build --release %install install -D -p -m 755 target/release/xkpwgen %{buildroot}%{_bindir}/xkpwgen %check cargo test %files %license LICENSE %doc README.md %{_bindir}/xkpwgen %changelog * Tue Oct 02 2018 Sebastian Wiesner - 0.6.1-1 - Initial spec file