entr/entr.spec

53 lines
1.1 KiB
RPMSpec
Raw Normal View History

2021-05-21 13:33:37 +08:00
Name: entr
2023-10-08 11:48:43 +08:00
Version: 5.4
Release: 1
2021-05-21 13:33:37 +08:00
Summary: Run arbitrary commands when files change
2021-05-21 13:33:37 +08:00
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.
2021-05-21 13:33:37 +08:00
%prep
%autosetup -n %{name}-%{version} -p1
2023-10-08 11:48:43 +08:00
ln -s Makefile{.linux,}
2021-05-21 13:33:37 +08:00
%build
export CFLAGS="${RPM_OPT_FLAGS}"
2023-10-08 11:48:43 +08:00
export LDFLAGS="%{?__global_ldflags}"
%make_build
2021-05-21 13:33:37 +08:00
%install
2023-10-08 11:48:43 +08:00
export PREFIX=%{_prefix}
%make_install
2021-05-21 13:33:37 +08:00
%check
make test
%files
2023-10-08 11:48:43 +08:00
%license LICENSE
%doc NEWS README.md
%{_bindir}/entr
2023-10-08 11:48:43 +08:00
%{_mandir}/man1/entr.1*
2021-05-21 13:33:37 +08:00
%changelog
2023-10-08 11:48:43 +08:00
* 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
2021-05-21 13:33:37 +08:00