entr/entr.spec
Li Chao 2850f3f8b9 revert the plagiarized files & update to 5.0
(cherry picked from commit b700924ab7071a397d1bac67ad0453333c2c1b48)
2022-10-14 16:02:18 +08:00

50 lines
953 B
RPMSpec

Name: entr
Version: 5.0
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
A file watcher, which can run specified commands
when target files change.
%global debug_package %{nil}
%prep
%setup -q
%build
./configure
make
%install
%make_install PREFIX=/usr
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
%{_bindir}/entr
%{_mandir}/man1/entr.1.gz
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/LICENSE
%{_docdir}/%{name}/NEWS
%{_docdir}/%{name}/README.md
%changelog
* Sun Aug 29 2021 Leo <clouds@isrc.iscas.ac.cn> - 5.0-1
- first publish of version 5.0