|
|
@ -1,9 +1,7 @@ |
|
|
|
# |
|
|
|
# |
|
|
|
# "$Id$" |
|
|
|
# RPM "spec" file for Mini-XML, a small XML file parsing library. |
|
|
|
# |
|
|
|
# |
|
|
|
# RPM "spec" file for Mini-XML, a small XML library. |
|
|
|
# Copyright 2003-2017 by Michael R Sweet. |
|
|
|
# |
|
|
|
|
|
|
|
# Copyright 2003-2016 by Michael Sweet. |
|
|
|
|
|
|
|
# |
|
|
|
# |
|
|
|
# These coded instructions, statements, and computer programs are the |
|
|
|
# These coded instructions, statements, and computer programs are the |
|
|
|
# property of Michael R Sweet and are protected by Federal copyright |
|
|
|
# property of Michael R Sweet and are protected by Federal copyright |
|
|
@ -11,17 +9,17 @@ |
|
|
|
# which should have been included with this file. If this file is |
|
|
|
# which should have been included with this file. If this file is |
|
|
|
# missing or damaged, see the license at: |
|
|
|
# missing or damaged, see the license at: |
|
|
|
# |
|
|
|
# |
|
|
|
# http://www.msweet.org/projects.php/Mini-XML |
|
|
|
# https://michaelrsweet.github.io/mxml |
|
|
|
# |
|
|
|
# |
|
|
|
|
|
|
|
|
|
|
|
Summary: Miniature XML development library |
|
|
|
Summary: Small XML file parsing library |
|
|
|
Name: mxml |
|
|
|
Name: mxml |
|
|
|
Version: 2.10 |
|
|
|
Version: 2.11 |
|
|
|
Release: 1 |
|
|
|
Release: 1 |
|
|
|
License: LGPL |
|
|
|
License: LGPL |
|
|
|
Group: Development/Libraries |
|
|
|
Group: Development/Libraries |
|
|
|
Source: https://www.msweet.org/files/project3/mxml-%{version}.tar.gz |
|
|
|
Source: https://github.com/michaelrsweet/mxml/releases/download/release-%{version}/mxml-%{version}.tar.gz |
|
|
|
Url: http://www.msweet.org/projects.php/Mini-XML |
|
|
|
Url: https://michaelrsweet.github.io/mxml |
|
|
|
Packager: John Doe <johndoe@example.com> |
|
|
|
Packager: John Doe <johndoe@example.com> |
|
|
|
Vendor: Michael R Sweet |
|
|
|
Vendor: Michael R Sweet |
|
|
|
|
|
|
|
|
|
|
@ -29,28 +27,23 @@ Vendor: Michael R Sweet |
|
|
|
BuildRoot: /var/tmp/%{name}-root |
|
|
|
BuildRoot: /var/tmp/%{name}-root |
|
|
|
|
|
|
|
|
|
|
|
%description |
|
|
|
%description |
|
|
|
Mini-XML is a small XML parsing library that you can use to read |
|
|
|
Mini-XML is a small XML parsing library that you can use to read XML data files |
|
|
|
XML and XML-like data files in your application without |
|
|
|
or strings in your application without requiring large non-standard libraries. |
|
|
|
requiring large non-standard libraries. Mini-XML provides the |
|
|
|
Mini-XML provides the following functionality: |
|
|
|
following functionality: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Reading of UTF-8 and UTF-16 and writing of UTF-8 encoded |
|
|
|
- Reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML files and |
|
|
|
XML files and strings. |
|
|
|
strings. |
|
|
|
- Data is stored in a linked-list tree structure, preserving |
|
|
|
- Data is stored in a linked-list tree structure, preserving the XML data |
|
|
|
the XML data hierarchy. |
|
|
|
hierarchy. |
|
|
|
- Supports arbitrary element names, attributes, and |
|
|
|
- SAX (streamed) reading of XML files and strings to minimize memory usage. |
|
|
|
attribute values with no preset limits, just available |
|
|
|
- Supports arbitrary element names, attributes, and attribute values with no |
|
|
|
memory. |
|
|
|
preset limits, just available memory. |
|
|
|
- Supports integer, real, opaque ("cdata"), and text data |
|
|
|
- Supports integer, real, opaque ("cdata"), and text data types in "leaf" nodes. |
|
|
|
types in "leaf" nodes. |
|
|
|
- Functions for creating and managing trees of data. |
|
|
|
- Functions for creating and managing trees of data. |
|
|
|
- "Find" and "walk" functions for easily locating and navigating trees of data. |
|
|
|
- "Find" and "walk" functions for easily locating and |
|
|
|
|
|
|
|
navigating trees of data. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mini-XML doesn't do validation or other types of processing on |
|
|
|
Mini-XML doesn't do validation or other types of processing on the data |
|
|
|
the data based upon schema files or other sources of definition |
|
|
|
based upon schema files or other sources of definition information. |
|
|
|
information, nor does it support character entities other than |
|
|
|
|
|
|
|
those required by the XML specification. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
%prep |
|
|
|
%setup |
|
|
|
%setup |
|
|
@ -87,7 +80,3 @@ rm -rf $RPM_BUILD_ROOT |
|
|
|
/usr/share/man/man1/* |
|
|
|
/usr/share/man/man1/* |
|
|
|
%dir /usr/share/man/man3 |
|
|
|
%dir /usr/share/man/man3 |
|
|
|
/usr/share/man/man3/* |
|
|
|
/usr/share/man/man3/* |
|
|
|
|
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# End of "$Id$". |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|