Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 29bd034e0187dd67e0e386ce22201417 > files > 2

mxml-2.0-1mdk.src.rpm

Summary: Miniature XML development library
Name: mxml
Version: 2.0
Release: 1mdk
License: GPL
Group: System/Libraries
Source: http://www.easysw.com/~mike/mxml/mxml-%{version}.tar.bz2
Url: http://www.easysw.com/~mike/mxml/
BuildRoot: %_tmppath/%{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 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.

%package devel
Summary: Miniature XML development library
Group: Development/C
%description devel
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.

%prep
%setup -q

%build
%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT installed-docs

%makeinstall_std BUILDROOT=$RPM_BUILD_ROOT 
mv %buildroot%_datadir/doc/mxml installed-docs
rm -rf %buildroot%_datadir/man/cat*

%clean
rm -rf $RPM_BUILD_ROOT

%files devel
%defattr(-,root,root)
%doc installed-docs/*
%{_bindir}/*
%{_datadir}/man/man1/*
%{_includedir}/mxml.h
%{_libdir}/libmxml.a
%{_libdir}/pkgconfig/mxml.pc
%{_datadir}/man/man3/*

%changelog
* Sun Jul 18 2004 Götz Waschk <waschk@linux-mandrake.com> 2.0-1mdk
- initial package