Files
html-xml-utils/html-xml-utils.spec
Sebastian Wagner c68bc5640d - Update to version 8.3:
* dtd.hash: Make <head> rather than <body> the preferred parent
   for <script>. Allow text in the <body> element, without requiring a
   <p> or other element around it.
 * tests/pipe5.sh, tests/pipe6.sh, tests/pipe7.sh: Added tests for
   the -H option of hxpipe.
 * hxpipe.c: Add option -H, which assumes the input is HTML and adds
   implied tags and parses script and style elements as literal text.
   hxpipe now outputs attributes in a normalized order
   (alphabetical). Remove a redundant "if".

OBS-URL: https://build.opensuse.org/package/show/utilities/html-xml-utils?expand=0&rev=15
2022-02-11 15:28:09 +00:00

55 lines
1.5 KiB
RPMSpec

#
# spec file for package html-xml-utils
#
# Copyright (c) 2022 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.3
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