1 %define __strip %{_mingw_strip}
2 %define __objdump %{_mingw_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw_findrequires}
5 %define __find_provides %{_mingw_findprovides}
10 Summary: MinGW Windows libxml2 XML processing library
13 Group: Development/Libraries
14 URL: http://www.xmlsoft.org/
15 Source0: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 BuildRequires: mingw-filesystem >= 23
21 BuildRequires: mingw-gcc
22 BuildRequires: mingw-binutils
23 BuildRequires: mingw-zlib
24 BuildRequires: mingw-gettext
28 MinGW Windows libxml2 XML processing library.
32 %setup -q -n libxml2-%{version}
36 LDFLAGS="-no-undefined" %{_mingw_configure} --without-python
41 rm -rf $RPM_BUILD_ROOT
43 make DESTDIR=$RPM_BUILD_ROOT install
45 rm $RPM_BUILD_ROOT%{_mingw_libdir}/libxml2.a
49 rm -rf $RPM_BUILD_ROOT
54 %{_mingw_bindir}/libxml2-2.dll
55 %{_mingw_bindir}/xml2-config
56 %{_mingw_bindir}/xmlcatalog.exe
57 %{_mingw_bindir}/xmllint.exe
58 %{_mingw_libdir}/libxml2.dll.a
59 %{_mingw_libdir}/libxml2.la
60 %{_mingw_libdir}/pkgconfig
61 %{_mingw_libdir}/pkgconfig/libxml-2.0.pc
62 %{_mingw_libdir}/xml2Conf.sh
63 %{_mingw_includedir}/libxml2
64 %{_mingw_datadir}/aclocal/*
65 %{_mingw_docdir}/libxml2-%{version}/
66 %{_mingw_datadir}/gtk-doc/html/libxml2/
67 %{_mingw_mandir}/man1/*
68 %{_mingw_mandir}/man3/*
72 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-4
73 - Remove static libraries.
74 - List libdir files explicitly.
76 * Fri Sep 5 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-3
77 - Use RPM macros from mingw-filesystem.
78 - BuildArch is noarch.
80 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-1
81 - Initial RPM release, largely based on earlier work from several sources.