Compare commits
No commits in common. "c2c298edca6070c15e3a3c9474554c9edaeddd99" and "08d2b7e2dc396cb9b6d31cd5575ae138be946f82" have entirely different histories.
c2c298edca
...
08d2b7e2dc
BIN
entr-4.5.tar.gz
Normal file
BIN
entr-4.5.tar.gz
Normal file
Binary file not shown.
BIN
entr-5.5.tar.gz
BIN
entr-5.5.tar.gz
Binary file not shown.
48
entr.spec
48
entr.spec
@ -1,8 +1,7 @@
|
||||
Name: entr
|
||||
Version: 5.5
|
||||
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
|
||||
@ -11,45 +10,38 @@ BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
A file watcher, which can run specified commands
|
||||
when target files change.
|
||||
entr is a file watcher runs specified commands when target files change
|
||||
|
||||
%global debug_package %{nil}
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
ln -s Makefile{.linux,}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||
export LDFLAGS="%{?__global_ldflags}"
|
||||
%make_build
|
||||
./configure
|
||||
make
|
||||
|
||||
%install
|
||||
export PREFIX=%{_prefix}
|
||||
%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
|
||||
%license LICENSE
|
||||
%doc NEWS README.md
|
||||
%{_bindir}/entr
|
||||
%{_mandir}/man1/entr.1*
|
||||
/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
|
||||
* Thu Feb 29 2024 tenglei <tenglei@kylinos.cn> - 5.5-1
|
||||
- Upgrade to 5.5
|
||||
|
||||
* Sun Oct 08 2023 yaoxin <yao_xin001@hoperun.com> - 5.4-1
|
||||
- Upgrade to 5.4
|
||||
|
||||
* Sat Jul 29 2023 xu_ping <707078654@qq.com> -5.0-3
|
||||
- fix build error due to glibc upgrade
|
||||
|
||||
* Wed Aug 24 2022 caodongxia <caodongxia@h-partners.com> -5.0-2
|
||||
- Add debug package to add strip
|
||||
|
||||
* Sun Aug 29 2021 Leo <clouds@isrc.iscas.ac.cn> - 5.0-1
|
||||
- first publish of version 5.0
|
||||
* Fri May 21 2021 yaozc7 <yaozc7@foxmail.com>
|
||||
- add source package and spec file
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user