parent
bcc99b153a
commit
868e694d8d
@ -0,0 +1,89 @@ |
||||
# |
||||
# "$Id: mxml.list.in,v 1.1 2003/06/15 00:44:34 mike Exp $" |
||||
# |
||||
# EPM software list file for mini-XML, a small XML-like file parsing library. |
||||
# |
||||
# Copyright 2003 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@ |
||||
$docdir=@docdir@ |
||||
$includedir=@includedir@ |
||||
$libdir=@libdir@ |
||||
$mandir=@mandir@ |
||||
$srcdir=@srcdir@ |
||||
|
||||
# Product information |
||||
%product mxml |
||||
%copyright 2003 by Michael Sweet |
||||
%vendor Michael Sweet |
||||
%license ${srcdir}/COPYING |
||||
%readme ${srcdir}/README |
||||
%version 1.0 |
||||
|
||||
%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 and writing of UTF-8 encoded XML files. |
||||
- 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. Also, since Mini-XML |
||||
does not support the UTF-16 encoding, it is technically not a |
||||
conforming XML consumer/client. |
||||
EOF |
||||
|
||||
# Manpage extensions... |
||||
$CAT1EXT=@CAT1EXT@ |
||||
$MAN1EXT=@MAN1EXT@ |
||||
|
||||
# Executables |
||||
f 0555 root sys ${bindir}/mxmldoc mxmldoc |
||||
|
||||
# Header files |
||||
f 0444 root sys ${includedir}/mxml.h mxml.h |
||||
|
||||
# Libraries |
||||
f 0444 root sys ${libdir}/libmxml.a libmxml.a |
||||
|
||||
# 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}/index.html $srcdir/index.html |
||||
f 0444 root sys ${docdir}/documentation.html $srcdir/documentation.html |
||||
|
||||
# Man pages |
||||
f 0444 root sys ${mandir}/cat1/mxmldoc.$CAT1EXT $srcdir/mxmldoc.$CAT1EXT |
||||
f 0444 root sys ${mandir}/man1/mxmldoc.$MAN1EXT $srcdir/mxmldoc.man |
||||
|
||||
# |
||||
# End of "$Id: mxml.list.in,v 1.1 2003/06/15 00:44:34 mike Exp $". |
||||
# |
@ -0,0 +1,94 @@ |
||||
# |
||||
# "$Id: mxml.spec,v 1.1 2003/06/15 00:44:34 mike Exp $" |
||||
# |
||||
# RPM "spec" file for mini-XML, a small XML-like file parsing library. |
||||
# |
||||
# Copyright 2003 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. |
||||
# |
||||
|
||||
Summary: Miniature XML development library |
||||
Name: mxml |
||||
Version: 1.0 |
||||
Release: 1 |
||||
Copyright: GPL |
||||
Group: Development/Libraries |
||||
Source: http://www.easysw.com/~mike/mxml/mxml-%{version}.tar.gz |
||||
Url: http://www.easysw.com/~mike/mxml/ |
||||
Packager: Mike Sweet <mike@easysw.com> |
||||
Vendor: Mike Sweet |
||||
|
||||
# Use buildroot so as not to disturb the version already installed |
||||
BuildRoot: /var/tmp/%{name}-root |
||||
|
||||
%description |
||||
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 and writing of UTF-8 encoded XML files. |
||||
- 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. Also, since Mini-XML |
||||
does not support the UTF-16 encoding, it is technically not a |
||||
conforming XML consumer/client. |
||||
|
||||
%prep |
||||
%setup |
||||
|
||||
%build |
||||
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr |
||||
|
||||
# If we got this far, all prerequisite libraries must be here. |
||||
make |
||||
|
||||
%install |
||||
# Make sure the RPM_BUILD_ROOT directory exists. |
||||
rm -rf $RPM_BUILD_ROOT |
||||
|
||||
make BUILDROOT=$RPM_BUILD_ROOT install |
||||
|
||||
%clean |
||||
rm -rf $RPM_BUILD_ROOT |
||||
|
||||
%files |
||||
%defattr(-,root,root) |
||||
|
||||
%dir /usr/bin |
||||
/usr/bin/* |
||||
%dir /usr/include |
||||
/usr/include/* |
||||
%dir /usr/lib |
||||
/usr/lib/* |
||||
%dir /usr/share/doc/mxml |
||||
/usr/share/doc/mxml/* |
||||
%dir /usr/share/man/cat1 |
||||
/usr/share/man/cat1/* |
||||
%dir /usr/share/man/man1 |
||||
/usr/share/man/man1/* |
||||
|
||||
# |
||||
# End of "$Id: mxml.spec,v 1.1 2003/06/15 00:44:34 mike Exp $". |
||||
# |
@ -0,0 +1,48 @@ |
||||
.\" |
||||
.\" "$Id: mxmldoc.man,v 1.1 2003/06/15 00:44:34 mike Exp $" |
||||
.\" |
||||
.\" mxmldoc man page for mini-XML, a small XML-like file parsing library. |
||||
.\" |
||||
.\" Copyright 2003 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. |
||||
.\" |
||||
.TH mxmldoc 1 "mini-XML" "14 June 2003" "Michael Sweet" |
||||
.SH NAME |
||||
mxmldoc \- mini-xml documentation generator |
||||
.SH SYNOPSIS |
||||
.B mxmldoc |
||||
.I filename.xml |
||||
[ |
||||
.I source file(s) |
||||
] > |
||||
.I filename.html |
||||
.SH DESCRIPTION |
||||
\fImxmldoc\fR scans the specified C and C++ source files to |
||||
produce an XML representation of globally accessible classes, |
||||
constants, enumerations, functions, structures, typedefs, |
||||
unions, and variables. The XML file is updated as necessary and |
||||
a HTML representation of the XML file is written to the standard |
||||
output. If no source files are specified then the current XML |
||||
file is converted to HTML on the standard output. |
||||
.PP |
||||
In general, any C or C++ source code is handled by |
||||
\fImxmldoc\fR, however it was specifically written to handle |
||||
code with documentation that is formatted according to the CUPS |
||||
Configuration Management Plan which is available at |
||||
"http://www.cups.org/documentation.html". |
||||
.SH SEE ALSO |
||||
CUPS Configuration Management Plan. |
||||
.SH COPYRIGHT |
||||
Copyright 2003 by Michael Sweet. |
||||
.\" |
||||
.\" End of "$Id: mxmldoc.man,v 1.1 2003/06/15 00:44:34 mike Exp $". |
||||
.\" |
Loading…
Reference in new issue