1 Summary: Mini-XML: Lightweight XML support library
2 Summary(pl.UTF-8): Mini-XML - lekka biblioteka obsługująca XML
6 License: LGPL v2 with exceptions
8 Source0: http://www.msweet.org/files/project3/%{name}-%{version}.tar.gz
9 # Source0-md5: 8804c961a24500a95690ef287d150abe
10 Patch0: %{name}-lpthread.patch
11 URL: http://www.minixml.org/
12 BuildRequires: autoconf
13 BuildRequires: sed >= 4.0
14 # Conflicts due SONAME
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Mini-XML is a small XML library that you can use to read and write XML
20 and XML-like data files in your application without requiring large
21 non-standard libraries.
23 Mini-XML supports reading of UTF-8 and UTF-16 and writing of UTF-8
24 encoded XML files and strings. Data is stored in a linked-list tree
25 structure, preserving the XML data hierarchy, and arbitrary element
26 names, attributes, and attribute values are supported with no preset
27 limits, just available memory.
29 %description -l pl.UTF-8
30 Mini-XML to mała biblioteka XML, której można używać do odczytu i
31 zapisu plików w formacie XML i zbliżonym do XML w aplikacjach nie
32 wymagających dużych, niestandardowych bibliotek.
34 Mini-XML obsługuje odczyt plików i łańcuchów XML zakodowanych w UTF-8
35 i UTF-16 oraz zapisu w UTF-8. Dane są przechowywane w listowej
36 strukturze drzewiastej, z zachowaniem hierarchii danych XML;
37 obsługiwane są dowolne nazwy, atrybuty i wartości atrybutów elementów
38 bez narzuconych limitów poza dostępną pamięcią.
41 Summary: Header files for mxml library
42 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki mxml
43 Group: Development/Libraries
44 Requires: %{name} = %{version}-%{release}
45 Conflicts: libmxml-devel
48 Header files for mxml library.
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe biblioteki mxml.
54 Summary: Static mxml library
55 Summary(pl.UTF-8): Statyczna biblioteka mxml
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
58 Conflicts: libmxml-static
63 %description static -l pl.UTF-8
64 Statyczna biblioteka mxml.
70 %{__sed} -i -e '/^\.SILENT/d' Makefile.in
77 OPTIM="%{rpmcflags} -fPIC"
80 rm -rf $RPM_BUILD_ROOT
83 BUILDROOT=$RPM_BUILD_ROOT
85 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/mxml
88 rm -rf $RPM_BUILD_ROOT
90 %post -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
94 %defattr(644,root,root,755)
95 # COPYING contains exceptions to LGPL
96 %doc CHANGES COPYING README
97 %attr(755,root,root) %{_bindir}/mxmldoc
98 %attr(755,root,root) %{_libdir}/libmxml.so.*.*
99 %attr(755,root,root) %ghost %{_libdir}/libmxml.so.1
100 %{_mandir}/man1/mxmldoc.1*
103 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libmxml.so
106 %{_pkgconfigdir}/mxml.pc
107 %{_includedir}/mxml.h
108 %{_mandir}/man3/mxml.3*
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/libmxml.a