%global gituser radare %global gitname acr %global commit f119ad28a80ae89dda04569e36eca289deca19d6 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: acr Version: 1.3 Release: 1%{?dist} Group: Applications/Internet Summary: ACR is an autoconf like tool that allows you to create configure scripts for your programs. License: GPLv2+ #URL: https://github.com/radare/acr URL: https://github.com/radare/%{name} #Source0: https://github.com/%{gituser}/%{gitname}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz Source0: https://github.com/%{gituser}/%{gitname}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: make #Requires: %description ACR is an autoconf like tool that allows you to create configure scripts for your programs. The main aim of this tool is to teach developers how to create portable builds of their tools, just using generic functions wrapped by acr to generate portable shellscript. %prep #%setup -q -n %{gitname}-%{commit} %setup -q -n %{gitname}-%{version} %build %configure %make_build %{?_smp_mflags} %install %make_install %files %doc %{_datadir}/doc/%{name} %{_bindir}/acr %{_bindir}/acr-cat %{_bindir}/acr-install %{_bindir}/acr-sh %{_bindir}/amr %dir %{_datadir}/%{name} %{_datadir}/%{name}/modules/csharp.acr %{_datadir}/%{name}/modules/java-gtk.acr %{_datadir}/%{name}/modules/sizes.acr %{_mandir}/man1/*.1* %{_mandir}/man5/*.5* %changelog * Thu Oct 06 2016 Michal Ambroz - 0.10.5-1 - bump to 0.10.5 * Sun Oct 11 2015 Michal Ambroz - 0.9.9-1 - bump to 0.9.9 * Tue Jun 3 2014 Michal Ambroz - 0.9.6-1 - initial build for Fedora 20