X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=libxml2%2Fmingw32-libxml2.spec;h=f9b2e0c671e2da4b412452113feb72113934eaf7;hb=a3bc98bdd189f2437224a0bca0bbf66942d39475;hp=c739a189e2a0171005212b45dd72ea6ad11019c9;hpb=b3b861829940231fc9b29ada96bb932d7bb197fc;p=fedora-mingw.git diff --git a/libxml2/mingw32-libxml2.spec b/libxml2/mingw32-libxml2.spec index c739a18..f9b2e0c 100644 --- a/libxml2/mingw32-libxml2.spec +++ b/libxml2/mingw32-libxml2.spec @@ -6,7 +6,7 @@ Name: mingw32-libxml2 Version: 2.7.2 -Release: 4%{?dist} +Release: 6%{?dist} Summary: MinGW Windows libxml2 XML processing library License: MIT @@ -26,8 +26,13 @@ BuildArch: noarch BuildRequires: mingw32-filesystem >= 23 BuildRequires: mingw32-gcc BuildRequires: mingw32-binutils -BuildRequires: mingw32-zlib + +BuildRequires: mingw32-dlfcn BuildRequires: mingw32-gettext +BuildRequires: mingw32-iconv +BuildRequires: mingw32-zlib + +BuildRequires: autoconf, automake, libtool Requires: pkgconfig @@ -38,12 +43,18 @@ MinGW Windows libxml2 XML processing library. %prep %setup -q -n libxml2-%{version} + %patch1000 -p1 +# Patched configure.in, so rebuild configure. +libtoolize --force --copy +autoreconf + %build -LDFLAGS="-no-undefined" %{_mingw32_configure} --without-python --with-modules -make +LDFLAGS="-no-undefined" \ +%{_mingw32_configure} --without-python --with-modules --disable-static +make %{?_smp_mflags} %install @@ -51,8 +62,6 @@ rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install -rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libxml2.a - # Remove manpages which duplicate Fedora native. rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir} @@ -79,6 +88,15 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Jan 26 2009 Richard W.M. Jones - 2.7.2-6 +- Rerun autoreconf after patching configure.in (Erik van Pienbroek). +- Rebuild libtool for Rawhide / libtool 2. +- Add BRs dlfcn and iconv. + +* Fri Jan 23 2009 Richard W.M. Jones - 2.7.2-5 +- Use _smp_mflags. +- Disable static libraries. + * Tue Jan 13 2009 Richard W.M. Jones - 2.7.2-4 - Requires pkgconfig.