2021-07-28 10:18:02 +08:00
|
|
|
Summary: Miniature XML development library
|
|
|
|
|
Name: mxml
|
2023-05-11 09:46:08 +08:00
|
|
|
Version: 3.3.1
|
2021-07-28 10:18:02 +08:00
|
|
|
Release: 1
|
|
|
|
|
License: Apache-2.0 and LGPL-2.0-only and GPL-2.0-only
|
|
|
|
|
URL: http://www.msweet.org/mxml
|
2023-05-11 09:46:08 +08:00
|
|
|
Source0: https://github.com/michaelrsweet/mxml/archive/refs/tags/v%{version}.tar.gz
|
2021-07-28 10:18:02 +08:00
|
|
|
BuildRequires: make gcc
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Libraries, includes, etc to develop mxml applications
|
|
|
|
|
Requires: mxml = %{version}-%{release} pkgconfig
|
|
|
|
|
%description devel
|
|
|
|
|
Libraries, include files, etc you can use to develop mxml
|
|
|
|
|
applications.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --enable-shared
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make BUILDROOT=%{buildroot} install
|
|
|
|
|
rm %{buildroot}%{_libdir}/libmxml.a
|
|
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/mxml/
|
|
|
|
|
rm -f %{buildroot}%{_datadir}/man/cat*/*
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{_libdir}/libmxml.so.1*
|
|
|
|
|
|
|
|
|
|
%files devel
|
2023-05-11 09:46:08 +08:00
|
|
|
%doc CHANGES.md doc/*.html doc/*.png
|
2021-07-28 10:18:02 +08:00
|
|
|
%{_includedir}/*.h
|
|
|
|
|
%{_libdir}/libmxml.so
|
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
%{_libdir}/pkgconfig/mxml.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-05-11 09:46:08 +08:00
|
|
|
* Wed May 10 2023 Ge Wang <wang__ge@126.com> - 3.3.1-1
|
|
|
|
|
- update to version 3.3.1
|
|
|
|
|
|
2021-07-28 10:18:02 +08:00
|
|
|
* Wed Jul 28 2021 baizhonggui <baizhonggui@huawei.com> - 3.2-1
|
|
|
|
|
- package init
|