libmxml/libmxml.spec

104 lines
3.7 KiB
RPMSpec
Raw Normal View History

Name: libmxml
Version: 3.3.1
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.hotels-of-london.com/easyswcom/
Source: https://github.com/michaelrsweet/mxml.git/v%{version}/mxml-%{version}.tar.bz2
License: LGPL
## 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 LICENSE
%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
* Tue Jul 26 2022 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
- automatic version update by autodist
* Sat Nov 06 2021 Automatic Build System <autodist@mambasoft.it> 3.3-1mamba
- automatic version update by autodist
* Sat Oct 10 2020 Automatic Build System <autodist@mambasoft.it> 3.2-1mamba
- automatic version update by autodist
* Sat Aug 31 2019 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
- automatic version update by autodist
* Sun Aug 18 2019 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
- automatic version update by autodist
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.11-1mamba
- update to 2.11
* 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