diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c983245 --- /dev/null +++ b/LICENSE @@ -0,0 +1,65 @@ +1) Project Source + + Source code for `entr` is licensed under an ISC-style license, to the + following copyright holders: + + Eric Radman + + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +2) Compatibility Libraries (MacOS and Linux only) + + Some code under the /missing subdirectory is licensed under a 2-term BSD + license, to the following copyright holders: + + Jonathan Lemon + + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + + Some code under the /missing subdirectory is licensed under an ISC-style + license, to the following copyright holders: + + Todd C. Miller + Martin Pieuchot + Ted Unangst + + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND TODD C. MILLER DISCLAIMS ALL + * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL TODD C. MILLER BE LIABLE + * FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/entr-4.5.tar.gz b/entr-4.5.tar.gz deleted file mode 100644 index a61ba2e..0000000 Binary files a/entr-4.5.tar.gz and /dev/null differ diff --git a/entr-5.0.tar.gz b/entr-5.0.tar.gz new file mode 100644 index 0000000..ecfb7bb Binary files /dev/null and b/entr-5.0.tar.gz differ diff --git a/entr.spec b/entr.spec index 51183c7..fdfde13 100644 --- a/entr.spec +++ b/entr.spec @@ -1,7 +1,8 @@ Name: entr -Version: 4.5 +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 @@ -10,7 +11,8 @@ BuildRequires: gcc BuildRequires: make %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} @@ -22,7 +24,7 @@ entr is a file watcher runs specified commands when target files change make %install -%make_install +%make_install PREFIX=/usr mkdir -p %{buildroot}/%{_docdir}/%{name} cp LICENSE %{buildroot}/%{_docdir}/%{name}/ cp README.md %{buildroot}/%{_docdir}/%{name}/ @@ -33,8 +35,8 @@ cp NEWS %{buildroot}/%{_docdir}/%{name} make test %files -/usr/local/bin/entr -/usr/local/share/man/man1/entr.1 +%{_bindir}/entr +%{_mandir}/man1/entr.1.gz %dir %{_docdir}/%{name} %{_docdir}/%{name}/LICENSE %{_docdir}/%{name}/NEWS @@ -42,6 +44,6 @@ make test %changelog -* Fri May 21 2021 yaozc7 -- add source package and spec file +* Sun Aug 29 2021 Leo - 5.0-1 +- first publish of version 5.0