Name: minify Version: 2.11.11 Release: 1 Summary: Most simple RPM package License: MIT BuildRequires: git make golang Source0: https://github.com/tdewolff/minify/archive/refs/tags/v%{version}.tar.gz %define debug_package %{nil} %description Minify is a minifier package written in Go. It provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and an interface to implement any other minifier. Minification is the process of removing bytes from a file (such as whitespace) without changing its output and therefore shrinking its size and speeding up transmission over the internet and possibly parsing. The implemented minifiers are designed for high performance. %prep %autosetup %build # Skip this %install %define mypkgdir %{buildroot}/usr/bin/ mkdir -p %{mypkgdir} %make_install GOBIN=%{mypkgdir} %files /usr/bin/minify