Skip to content

Instantly share code, notes, and snippets.

@yookoala
Last active July 26, 2018 05:57
Show Gist options
  • Save yookoala/e26d3b7bb28b4557386f09fd6efec20f to your computer and use it in GitHub Desktop.
Save yookoala/e26d3b7bb28b4557386f09fd6efec20f to your computer and use it in GitHub Desktop.
RPM SPEC file for tick5
# Some metadata required by an RPM package
Name: tick5
Summary: Print a message every 5s
Version: 0.1
Release: 1
License: MIT
%description
tick5 is a simple useless script that echos a message every 5 seconds.
%install
mkdir -p %{buildroot}/usr/bin
cp -pdf tick5 %{buildroot}/usr/bin/tick5
chmod 755 %{buildroot}/usr/bin/tick5
%files
/usr/bin/tick5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment