Initial commit
This commit is contained in:
commit
eb9e8b5108
4 changed files with 56 additions and 0 deletions
25
rpmtemplate.spec
Normal file
25
rpmtemplate.spec
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
Name: rpmtemplate
|
||||
Version: 1
|
||||
Release: 1
|
||||
Summary: basic rpm package template
|
||||
License: MIT
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: bash
|
||||
|
||||
%description
|
||||
basic rpm package template
|
||||
|
||||
%prep
|
||||
echo "prep here"
|
||||
|
||||
%build
|
||||
echo "#!/bin/bash" > rpmtemplate
|
||||
echo "echo Hello World!" >> rpmtemplate
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
install -m 755 rpmtemplate %{buildroot}%{_bindir}
|
||||
|
||||
%files
|
||||
%{_bindir}/rpmtemplate
|
||||
Loading…
Add table
Add a link
Reference in a new issue