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
47 # Remove manpages which duplicate Fedora native.
48 rm -rf $RPM_BUILD_ROOT%{_mingw_mandir}
52 rm -rf $RPM_BUILD_ROOT
57 %{_mingw_bindir}/libxml2-2.dll
58 %{_mingw_bindir}/xml2-config
59 %{_mingw_bindir}/xmlcatalog.exe
60 %{_mingw_bindir}/xmllint.exe
61 %{_mingw_libdir}/libxml2.dll.a
62 %{_mingw_libdir}/libxml2.la
63 %{_mingw_libdir}/pkgconfig
64 %{_mingw_libdir}/pkgconfig/libxml-2.0.pc
65 %{_mingw_libdir}/xml2Conf.sh
66 %{_mingw_includedir}/libxml2
67 %{_mingw_datadir}/aclocal/*
68 %{_mingw_docdir}/libxml2-%{version}/
69 %{_mingw_datadir}/gtk-doc/html/libxml2/
73 * Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-5
74 - Remove manpages which duplicate Fedora native.
76 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-4
77 - Remove static libraries.
78 - List libdir files explicitly.
80 * Fri Sep 5 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-3
81 - Use RPM macros from mingw-filesystem.
82 - BuildArch is noarch.
84 * Mon Jul 7 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-1
85 - Initial RPM release, largely based on earlier work from several sources.