summaryrefslogtreecommitdiff
path: root/xml/mxml.list.in
blob: fbe6878290a0345af555e7b80a3c975e66a9ac1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#
# "$Id: mxml.list.in 399 2009-05-17 17:20:51Z mike $"
#
# EPM software list file for Mini-XML, a small XML library.
#
# Copyright 2003-2009 by Michael Sweet.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#

# 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-2009 by Michael Sweet
%vendor Michael Sweet
%license ${srcdir}/COPYING
%readme ${srcdir}/README
%version @VERSION@

%description <<EOF
Mini-XML is a small XML parsing library that you can use to read
XML and XML-like data files 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.
    - 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, nor does it support character entities other than
those required by the XML specification.
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.4 libmxml.so.1.4
l 0555 root sys ${libdir}/libmxml.so.1 libmxml.so.1.4
l 0555 root sys ${libdir}/libmxml.so libmxml.so.1.4

%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
f 0444 root sys ${docdir}/COPYING $srcdir/COPYING
f 0444 root sys ${docdir}/CHANGES $srcdir/CHANGES
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

#
# End of "$Id: mxml.list.in 399 2009-05-17 17:20:51Z mike $".
#