%global commit 1b89b265e4c2bc5d2ee2bd7dd96961a0ca6ebb53 %global shortc %(c=%{commit}; echo ${c:0:7}) %global date %(date +%%Y%%m%%d) %undefine _disable_source_fetch Name: neovim-gtk-git Version: 0.2.0 Release: 9.%{date}git%{shortc}%{dist} Summary: GTK ui for neovim written in rust using gtk-rs bindings. With ligatures support. License: GPL-3 URL: https://github.com/daa84/neovim-gtk Source0: https://github.com/daa84/neovim-gtk/archive/master.tar.gz BuildRequires: rustc BuildRequires: cargo BuildRequires: pkgconfig(gtk+-3.0) Requires: neovim %description GTK ui for neovim written in rust using gtk-rs bindings. With ligatures support. Compiled from latest GIT version %global debug_package %{nil} %prep %autosetup -n neovim-gtk-master %build cargo build --release %install %make_install PREFIX=/usr rm -rf %{buildroot}/%{_datadir}/fonts %{buildroot}/%{_prefix}/.crates.toml %{buildroot}/lib/.buildid %files %{_bindir}/nvim-gtk %{_datadir}/* %license LICENSE %changelog * Mon May 13 2019 Lyude Paul - New git snapshot - 1b89b265e4c2bc5d2ee2bd7dd96961a0ca6ebb53 * Fri May 03 2019 Lyude Paul - New git snapshot - 3c5d6e87532f94eded95d067ac3632113847c9c5 * Sun Apr 28 2019 Lyude Paul - New git snapshot - 2fef84fb8bf445253554d4aae385be53dfcb86ef * Wed Apr 24 2019 Lyude Paul - New git snapshot - 6a7804c6e797142724548b09109cf2883cd6f08c * Mon Apr 22 2019 Lyude Paul - New git snapshot - e9655f0f067a18d3877e064202fe30ea8ff3c316 * Mon Apr 15 2019 Lyude Paul - New git snapshot - 8d26c90e0931a74fc9f83bdefb356005607f1393 * Tue Mar 19 2019 Lyude Paul - New git snapshot - c8b11cb8a3c4aaeef802fc796c5f8f476abc3306 * Tue Feb 19 2019 Lyude Paul - New git snapshot - c075c3232fd7cc3c8c95f5a5f93d7273cb661398 * Tue Feb 19 2019 Lyude Paul - New git snapshot - c075c3232fd7cc3c8c95f5a5f93d7273cb661398 * Wed Nov 28 2018 Paul Ogris - 0.2.0-20181007git828a78b - Bump to new commit - Adjust build process * Sun Oct 7 2018 Paul Ogris - 0.2.0-20181007gita8f7241 - Bump to new commit * Sun Sep 9 2018 Paul Ogris - 0.2.0-20180909gitb275041 - Bump to new commit * Mon Aug 6 2018 Paul Ogris - 0.2.0-20180806git3ea809e - Bump to new commit * Sun Jul 15 2018 Paul Ogris - 0.2.0-20181507git01506a6 - Revert to older commit due to some bugs - Fix some problems with the specfile - Switch to snapshot versioning scheme - Respect version in .toml file * Fri Jul 13 2018 Paul Ogris - 0.1.1-4 - Update to commit 2ebac955566b15ce2cdf41e6da9e2a50bea8659e * Thu Jun 28 2018 Paul Ogris - 0.1.1-3 - Update to commit 01506a6217274668bbcbf2ff8c8b671e23a1206d - Adds transparency commands * Thu Jun 28 2018 Paul Ogris - 0.1.1-2 - Fix desktop file * Wed Jun 27 2018 Paul Ogris - 0.1.1-1 - Initial package