diff --git a/entr-4.5.tar.gz b/entr-4.5.tar.gz new file mode 100644 index 0000000..a61ba2e Binary files /dev/null and b/entr-4.5.tar.gz differ diff --git a/entr.spec b/entr.spec new file mode 100644 index 0000000..51183c7 --- /dev/null +++ b/entr.spec @@ -0,0 +1,47 @@ +Name: entr +Version: 4.5 +Release: 1 +Summary: Run arbitrary commands when files change +License: ISC +URL: http://eradman.com/%{name}project/ +Source0: http://eradman.com/%{name}project/code/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: make + +%description +entr is a file watcher runs specified commands when target files change + +%global debug_package %{nil} + +%prep +%setup -q + +%build +./configure +make + +%install +%make_install +mkdir -p %{buildroot}/%{_docdir}/%{name} +cp LICENSE %{buildroot}/%{_docdir}/%{name}/ +cp README.md %{buildroot}/%{_docdir}/%{name}/ +cp NEWS %{buildroot}/%{_docdir}/%{name} + + +%check +make test + +%files +/usr/local/bin/entr +/usr/local/share/man/man1/entr.1 +%dir %{_docdir}/%{name} +%{_docdir}/%{name}/LICENSE +%{_docdir}/%{name}/NEWS +%{_docdir}/%{name}/README.md + + +%changelog +* Fri May 21 2021 yaozc7 +- add source package and spec file +