Name: slacktee Version: 1.2.11 Release: 1%{?dist} Summary: Tee for slack Group: Applications/System License: Apache URL: https://github.com/course-hero/slacktee/ Source0: https://github.com/course-hero/slacktee/archive/v1.2.11.tar.gz Requires: curl %description slacktee is a bash script that works like tee command. Instead of writing the standard input to files, slacktee posts it to Slack. %prep %setup -q %build %install rm -rf $RPM_BUILD_ROOT install -Dpm 755 slacktee.sh $RPM_BUILD_ROOT%{_bindir}/slacktee.sh install -Dpm 644 slacktee.conf $RPM_BUILD_ROOT%{_sysconfdir}/slacktee.conf %files %doc LICENSE README.md %config(noreplace) %{_sysconfdir}/slacktee.conf %{_bindir}/slacktee.sh %changelog * Thu Jan 26 2017 Scott R. Shinn 1.2.11-1 - First release