Compare commits
10 Commits
08d2b7e2dc
...
c2c298edca
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c2c298edca | ||
|
|
6b0306631a | ||
|
|
ad5c9359b1 | ||
|
|
253474aeaa | ||
|
|
5439dc2bf5 | ||
|
|
631cabd9c2 | ||
|
|
be95e00f26 | ||
|
|
72d971628d | ||
|
|
7ed31b00e0 | ||
|
|
b700924ab7 |
BIN
entr-4.5.tar.gz
BIN
entr-4.5.tar.gz
Binary file not shown.
BIN
entr-5.5.tar.gz
Normal file
BIN
entr-5.5.tar.gz
Normal file
Binary file not shown.
48
entr.spec
48
entr.spec
@ -1,7 +1,8 @@
|
|||||||
Name: entr
|
Name: entr
|
||||||
Version: 4.5
|
Version: 5.5
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Run arbitrary commands when files change
|
Summary: Run arbitrary commands when files change
|
||||||
|
|
||||||
License: ISC
|
License: ISC
|
||||||
URL: http://eradman.com/%{name}project/
|
URL: http://eradman.com/%{name}project/
|
||||||
Source0: http://eradman.com/%{name}project/code/%{name}-%{version}.tar.gz
|
Source0: http://eradman.com/%{name}project/code/%{name}-%{version}.tar.gz
|
||||||
@ -10,38 +11,45 @@ BuildRequires: gcc
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
|
||||||
%description
|
%description
|
||||||
entr is a file watcher runs specified commands when target files change
|
A file watcher, which can run specified commands
|
||||||
|
when target files change.
|
||||||
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
ln -s Makefile{.linux,}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure
|
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||||
make
|
export LDFLAGS="%{?__global_ldflags}"
|
||||||
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
export PREFIX=%{_prefix}
|
||||||
%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
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
/usr/local/bin/entr
|
%license LICENSE
|
||||||
/usr/local/share/man/man1/entr.1
|
%doc NEWS README.md
|
||||||
%dir %{_docdir}/%{name}
|
%{_bindir}/entr
|
||||||
%{_docdir}/%{name}/LICENSE
|
%{_mandir}/man1/entr.1*
|
||||||
%{_docdir}/%{name}/NEWS
|
|
||||||
%{_docdir}/%{name}/README.md
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri May 21 2021 yaozc7 <yaozc7@foxmail.com>
|
* Thu Feb 29 2024 tenglei <tenglei@kylinos.cn> - 5.5-1
|
||||||
- add source package and spec file
|
- 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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user