You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
2.9 KiB
94 lines
2.9 KiB
#
|
|
# EPM software list file for Mini-XML, a small XML library.
|
|
#
|
|
# Copyright 2003-2017 by Michael R Sweet.
|
|
#
|
|
# These coded instructions, statements, and computer programs are the
|
|
# property of Michael R Sweet and are protected by Federal copyright
|
|
# law. Distribution and use rights are outlined in the file "COPYING"
|
|
# which should have been included with this file. If this file is
|
|
# missing or damaged, see the license at:
|
|
#
|
|
# https://michaelrsweet.github.io/mxml
|
|
#
|
|
|
|
# Directories...
|
|
$prefix=@prefix@
|
|
$exec_prefix=@exec_prefix@
|
|
$bindir=@bindir@
|
|
$datarootdir=@datarootdir@
|
|
$docdir=@docdir@
|
|
$includedir=@includedir@
|
|
$libdir=@libdir@
|
|
$mandir=@mandir@
|
|
$srcdir=@srcdir@
|
|
|
|
$PICFLAG=@PICFLAG@
|
|
|
|
# Product information
|
|
%product mxml
|
|
%copyright 2003-2017 by Michael R Sweet
|
|
%vendor Michael R Sweet
|
|
%license ${srcdir}/COPYING
|
|
%readme ${srcdir}/README.md
|
|
%version @VERSION@
|
|
|
|
%description <<EOF
|
|
Mini-XML is a small XML parsing library that you can use to read XML data files
|
|
or strings in your application without requiring large non-standard libraries.
|
|
Mini-XML provides the following functionality:
|
|
|
|
- Reading of UTF-8 and UTF-16 and writing of UTF-8 encoded XML files and
|
|
strings.
|
|
- Data is stored in a linked-list tree structure, preserving the XML data
|
|
hierarchy.
|
|
- SAX (streamed) reading of XML files and strings to minimize memory usage.
|
|
- Supports arbitrary element names, attributes, and attribute values with no
|
|
preset limits, just available memory.
|
|
- Supports integer, real, opaque ("cdata"), and text data types in "leaf" nodes.
|
|
- Functions for creating and managing 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 the data
|
|
based upon schema files or other sources of definition information.
|
|
EOF
|
|
|
|
# Executables
|
|
f 0555 root sys ${bindir}/mxmldoc mxmldoc
|
|
|
|
# Header files
|
|
f 0444 root sys ${includedir}/mxml.h mxml.h
|
|
|
|
# Libraries
|
|
%if $PICFLAG
|
|
%system hpux
|
|
f 0555 root sys ${libdir}/libmxml.sl.1 libmxml.sl.1
|
|
l 0555 root sys ${libdir}/libmxml.sl libmxml.sl.1
|
|
|
|
%system darwin
|
|
f 0555 root sys ${libdir}/libmxml.1.dylib libmxml.1.dylib
|
|
l 0555 root sys ${libdir}/libmxml.dylib libmxml.1.dylib
|
|
|
|
%system freebsd irix linux netbsd openbsd solaris tru64
|
|
f 0555 root sys ${libdir}/libmxml.so.1.5 libmxml.so.1.5
|
|
l 0555 root sys ${libdir}/libmxml.so.1 libmxml.so.1.5
|
|
l 0555 root sys ${libdir}/libmxml.so libmxml.so.1.5
|
|
|
|
%system all
|
|
%endif
|
|
|
|
f 0444 root sys ${libdir}/libmxml.a libmxml.a
|
|
|
|
# pkg-config info
|
|
f 0444 root sys $(libdir)/pkgconfig/mxml.pc mxml.pc
|
|
|
|
# Documentation
|
|
f 0444 root sys ${docdir}/README $srcdir/README.md
|
|
f 0444 root sys ${docdir}/COPYING $srcdir/COPYING
|
|
f 0444 root sys ${docdir}/CHANGES $srcdir/CHANGES.md
|
|
f 0444 root sys ${docdir}/mxml.html $srcdir/doc/mxml.html
|
|
f 0444 root sys ${docdir}/mxml.pdf $srcdir/doc/mxml.pdf
|
|
|
|
# Man pages
|
|
f 0444 root sys ${mandir}/man1/mxmldoc.1 $srcdir/mxmldoc.man
|
|
f 0444 root sys ${mandir}/man3/mxml.3 $srcdir/mxml.man
|
|
|