diff options
author | Wulf C. Krueger <philantrop@exherbo.org> | 2019-10-01 16:23:13 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2020-07-07 18:14:28 +0200 |
commit | fd07ca397e8c1898a9378f4142418f59db0d467f (patch) | |
tree | afc3b2719580c5e32bc41bfdcc9af677201922e1 | |
parent | 6175f89cb618fef83882ed86ab049a7fd1035770 (diff) | |
download | wgetpaste-fd07ca397e8c1898a9378f4142418f59db0d467f.tar.gz |
wgetpaste.spec: Add spec file for building RPMs
-rw-r--r-- | wgetpaste.spec | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/wgetpaste.spec b/wgetpaste.spec new file mode 100644 index 0000000..f02005d --- /dev/null +++ b/wgetpaste.spec @@ -0,0 +1,39 @@ +Name: wgetpaste +Version: 2.29 +Release: 1%{?dist} +Summary: Command-line interface to various paste-bins + +License: MIT +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} + +%files +%{_bindir}/%{name} +%license LICENSE + + +%changelog +* Tue Oct 1 2019 Wulf C. Krueger <wk@mailstation.de> 2.29-1 +- Update to 2.29 + +* Wed Mar 21 2018 Wulf C. Krueger <wk@mailstation.de> 2.28-1 +- Initial package |