Name: wgetpaste Version: 2.28 Release: 1%{?dist} Summary: Command-line interface to various paste-bins License: Public Domain URL: http://%{name}.zlin.dk/ Source0: %{url}/%{name}-%{version}.tar.bz2 Requires: bash sed wget BuildArch: noarch %description Command-line interface to various paste-bins %prep %setup -q %build %install rm -rf $RPM_BUILD_ROOT mkdir -p %{buildroot}/%{_bindir} install -m 0755 %{name} %{buildroot}/%{_bindir}/%{name} sed -i -e "s:/usr/bin/env bash:/bin/bash:" %{buildroot}/%{_bindir}/%{name} #%make_install %files %{_bindir}/%{name} #%license add-license-file-here #%doc %{name} %changelog * Wed Mar 21 2018 Wulf C. Krueger %{version}-%{release} - Initial package