87 lines
3.1 KiB
RPMSpec
87 lines
3.1 KiB
RPMSpec
Name: libmxml
|
|
Version: 2.10
|
|
Release: 1mamba
|
|
Summary: A small XML parsing library that you can use to read XML and XML-like data files
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.easysw.com/~mike/mxml/
|
|
Source: http://www.msweet.org/files/project3/mxml-%{version}.tar.gz
|
|
License: LGPL
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%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 only requires an ANSI C compatible compiler (GCC works, as do most vendors' ANSI C compilers) and a 'make' program.
|
|
|
|
%package devel
|
|
Summary: Devel package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%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 only requires an ANSI C compatible compiler (GCC works, as do most vendors' ANSI C compilers) and a 'make' program.
|
|
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, indexing, and managing trees of data.
|
|
"Find" and "walk" functions for easily locating and navigating trees of data.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%prep
|
|
%setup -q -n mxml-%{version}
|
|
|
|
%build
|
|
%configure \
|
|
--enable-shared
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall BUILDROOT=%{buildroot}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libmxml.so.*
|
|
%doc CHANGES COPYING README
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/mxmldoc
|
|
%{_includedir}/mxml.h
|
|
%{_libdir}/libmxml.a
|
|
%{_libdir}/libmxml.so
|
|
%{_datadir}/doc/mxml/*
|
|
%{_mandir}/man1/mxmldoc.1.*
|
|
%{_mandir}/man3/mxml.3.*
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|
|
* Mon Jul 11 2016 Automatic Build System <autodist@mambasoft.it> 2.10-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Nov 04 2014 Automatic Build System <autodist@mambasoft.it> 2.9-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Feb 01 2014 Automatic Build System <autodist@mambasoft.it> 2.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 2.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Sep 03 2008 Tiziana Ferro <tiziana.ferro@email.it> 2.5-1mamba
|
|
- update to 2.5
|
|
- add buildrequirement
|
|
|
|
* Mon Sep 11 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-1qilnx
|
|
- package created by autospec
|