X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=libxml2%2Fmingw32-libxml2.spec;h=01ee07bc33d603b0cd534470408ce886478ef68e;hb=b481be5cfa489c193f164434dce4acb96beea6c2;hp=da3fa27bd4289300e84b1e13b93808f83afbe1b3;hpb=14bb5f7a7a8110b0c21eef08c532bd7f18c42e8e;p=fedora-mingw.git diff --git a/libxml2/mingw32-libxml2.spec b/libxml2/mingw32-libxml2.spec index da3fa27..01ee07b 100644 --- a/libxml2/mingw32-libxml2.spec +++ b/libxml2/mingw32-libxml2.spec @@ -5,8 +5,8 @@ %define __find_provides %{_mingw32_findprovides} Name: mingw32-libxml2 -Version: 2.7.1 -Release: 2%{?dist} +Version: 2.7.2 +Release: 5%{?dist} Summary: MinGW Windows libxml2 XML processing library License: MIT @@ -15,6 +15,12 @@ URL: http://xmlsoft.org/ Source0: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# Not required for MinGW. +#Patch0: libxml2-multilib.patch + +# MinGW-specific patches. +Patch1000: mingw32-libxml2-2.7.2-with-modules.patch + BuildArch: noarch BuildRequires: mingw32-filesystem >= 23 @@ -23,6 +29,8 @@ BuildRequires: mingw32-binutils BuildRequires: mingw32-zlib BuildRequires: mingw32-gettext +Requires: pkgconfig + %description MinGW Windows libxml2 XML processing library. @@ -30,11 +38,13 @@ MinGW Windows libxml2 XML processing library. %prep %setup -q -n libxml2-%{version} +%patch1000 -p1 %build -LDFLAGS="-no-undefined" %{_mingw32_configure} --without-python -make +LDFLAGS="-no-undefined" \ +%{_mingw32_configure} --without-python --with-modules --disable-static +make %{?_smp_mflags} %install @@ -42,8 +52,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} @@ -70,6 +78,19 @@ rm -rf $RPM_BUILD_ROOT %changelog +* 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. + +* Sat Oct 25 2008 Richard W.M. Jones - 2.7.2-3 +- Enable modules support for libxslt. + +* Fri Oct 17 2008 Richard W.M. Jones - 2.7.2-1 +- Resynch to native Fedora package + patch. + * Wed Sep 24 2008 Richard W.M. Jones - 2.7.1-2 - Rename mingw -> mingw32.