mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-26 21:38:27 +00:00
add: typeracer (#184)
* add: typeracer * I forgot update.rhai again * deps * perl as deps * Bai bai debug package
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "rust-typeracer.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
# Generated by rust2rpm 23
|
||||
%bcond_without check
|
||||
|
||||
%global crate typeracer
|
||||
|
||||
Name: rust-typeracer
|
||||
Version: 2.1.2
|
||||
Release: %autorelease
|
||||
Summary: Terminal typing game
|
||||
|
||||
License: GPL-3.0
|
||||
URL: https://crates.io/crates/typeracer
|
||||
Source: %{crates_source}
|
||||
|
||||
BuildRequires: perl openssl-devel anda-srpm-macros rust-packaging >= 21
|
||||
|
||||
%global _description %{expand:
|
||||
Terminal typing game. Race to see the fastest time you can get!.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
# FIXME: no license files detected
|
||||
%doc README.md
|
||||
%{_bindir}/typeracer
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(crates("typeracer"));
|
||||
Reference in New Issue
Block a user