%global commit 6712037d394584d269f5b747d13881ac7ba1e7ac %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortname ctags Name: universal-ctags Version: %{shortcommit} Release: 1%{?dist} Summary: A maintained ctags implementation License: GPLv2 URL: https://ctags.io/ Source0: https://github.com/%{name}/%{shortname}/archive/%{commit}.tar.gz BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: make BuildRequires: perl BuildRequires: python2-docutils Conflicts: ctags Provides: ctags %description universal-ctags has the objective of continuing the development from what existed in the Sourceforge area. GitHub exuberant-ctags repository was started by Reza Jelveh and was later moved to the universal-ctags organization. %prep %setup -q -n %{shortname}-%{commit} %build ./autogen.sh %configure %make_build %install %make_install %files %license COPYING %doc README.md %{_bindir}/* %{_mandir}/man1/* %{_mandir}/man7/* %changelog * Mon Sep 10 2018 Bartek Jasicki - Updated package to commit 6712037d394584d269f5b747d13881ac7ba1e7ac * Fri Aug 17 2018 Bartek Jasicki - Initial package