Name: leiningen Version: 2.9.5 Release: 1%{?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://raw.githubusercontent.com/technomancy/%{name}/stable/doc/lein.1 Source2: https://raw.githubusercontent.com/technomancy/%{name}/stable/bin/lein-pkg Source3: https://raw.githubusercontent.com/technomancy/%{name}/stable/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 -m 755 -D %{SOURCE2} %{buildroot}%{_bindir}/lein install -m 644 -D %{SOURCE0} %{buildroot}%{_javadir}/%{_lein_jar} install -m 644 -D %{SOURCE3} %{buildroot}%{_pkgdocdir}/LICENSE install -m 644 -D %{SOURCE1} %{buildroot}%{_mandir}/man1/lein.1 %files %license %{_pkgdocdir}/LICENSE %{_bindir}/lein %{_javadir}/%{_lein_jar} %{_mandir}/man1/lein.1* %changelog * Mon Dec 7 2020 Golanv - 2.9.5-1 - Version bump - https://github.com/technomancy/leiningen/releases/tag/2.9.5 * Wed Jul 15 2020 Golanv - 2.9.4-1 - Version bump - Patches broken lein-pkg, see https://github.com/technomancy/leiningen/issues/2691 - Adds man page * Tue Jul 14 2020 Golanv - 2.9.3-2 - Rebuilds without gpg * Sun Mar 29 2020 Markku Korkeala - 2.9.3-1 - Initial release