2f18daff27
- Update to version 8.6: * tests/select34.sh: Use "tr" instead of "xarg" to replace \0 by \n. (The xargs command on BSD ignores empty input lines, the GNU version does not.) Also use "printf" instead of "echo" to write to the log file, because it seems to be more consistent between different shells. * hxselect.c: Fixed a bug in parsing octal escapes in the separator string (option -s). Patch provided by Jorrit Fahlke. * errexit.c: Removed. Consistently use err() and errx() everywhere. * hxwls.c, printlinks.c, hxcopy.c: Allow white space before and after URLs in attributes. (Allowed by HTML5.) OBS-URL: https://build.opensuse.org/request/show/1084745 OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=18
55 lines
1.5 KiB
RPMSpec
55 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package html-xml-utils
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: html-xml-utils
|
|
Version: 8.6
|
|
Release: 0
|
|
Summary: A number of utilities for manipulating HTML and XML files
|
|
License: W3C
|
|
Group: Development/Languages/Other
|
|
URL: https://www.w3.org/Tools/HTML-XML-utils/
|
|
Source: https://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-%{version}.tar.gz
|
|
BuildRequires: bison
|
|
BuildRequires: flex
|
|
BuildRequires: libcurl-devel
|
|
BuildRequires: libidn2-devel
|
|
|
|
%description
|
|
HTML-XML-utils provides a number of utilities for manipulating and
|
|
converting HTML and XML files in various ways.
|
|
|
|
%prep
|
|
%setup -q
|
|
chmod -x ChangeLog README
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
rm %{buildroot}%{_datadir}/doc/%{name}/COPYING
|
|
|
|
%files
|
|
%doc ChangeLog README
|
|
%license COPYING
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*.1*
|
|
|
|
%changelog
|