Name: leiningen Version: 2.9.3 Release: 2%{?dist} Summary: Automate Clojure projects without setting your hair on fire Group: Development/Tools License: EPL-1.0 URL: https://github.com/technomancy/leiningen/ Source0: https://github.com/technomancy/%{name}/releases/download/%{version}/%{name}-%{version}-standalone.zip Source1: https://github.com/technomancy/%{name}/releases/download/%{version}/%{name}-%{version}-standalone.zip.asc Source2: https://raw.githubusercontent.com/technomancy/%{name}/stable/bin/lein-pkg Source3: https://raw.githubusercontent.com/technomancy/%{name}/master/COPYING BuildArch: noarch %define _lein_jar %{name}-%{version}-standalone.jar Requires: java-headless >= 1:1.8.0 %description Leiningen is for automating Clojure projects without setting your hair on fire. %prep %install install -d -m 755 %{buildroot}%{_javadir} install -d -m 755 %{buildroot}%{_bindir} install -d -m 755 %{buildroot}%{_pkgdocdir} install -pm 755 %{SOURCE2} %{buildroot}%{_bindir}/lein install -pm 644 %{SOURCE0} %{buildroot}%{_javadir}/%{_lein_jar} install -pm 644 %{SOURCE3} %{buildroot}%{_pkgdocdir}/LICENSE %files %license %{_pkgdocdir}/LICENSE %{_bindir}/lein %{_javadir}/%{_lein_jar} %changelog * Tue Jul 14 2020 Golanv - 2.9.3-2 - Rebuilds without gpg * Sun Mar 29 2020 Markku Korkeala - 2.9.3-1 - Initial release