%global debug_package %{nil} Name: amp Version: 0.6.2 Release: 1%{?dist} Summary: Complete text editor for your terminal License: GPLv3+ URL: https://github.com/jmacdonald/amp Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: cargo >= 1.33.0 BuildRequires: python3 BuildRequires: rust >= 1.33.0 BuildRequires: pkgconfig(oniguruma) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(xcb) %description Heavily inspired by Vi/Vim. Amp aims to take the core interaction model of Vim, simplify it, and bundle in the essential features required for a modern text editor. %prep %autosetup -n %{name}-%{version} %build cargo build --release #cargo build %install install -Dp -m 0755 target/release/%{name} %{buildroot}%{_bindir}/%{name} #install -Dp -m 0755 target/debug/%{name} %{buildroot}%{_bindir}/%{name} %files %license LICENSE %doc README.md CHANGELOG.md %{_bindir}/%{name} %changelog * Wed Feb 05 2020 Artem Polishchuk - 0.6.2-1 - Update to 0.6.2 * Fri Jan 17 2020 Artem Polishchuk - 0.6.1-1 - Update to 0.6.1 * Thu Nov 28 2019 Artem Polishchuk - 0.6.0-1 - Initial package