|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: mingw32-libxml2
|
|
|
|
Name: mingw32-libxml2
|
|
|
|
Version: 2.7.4
|
|
|
|
Version: 2.7.4
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: MinGW Windows libxml2 XML processing library
|
|
|
|
Summary: MinGW Windows libxml2 XML processing library
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
@ -22,7 +22,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
# MinGW-specific patches.
|
|
|
|
# MinGW-specific patches.
|
|
|
|
Patch1000: mingw32-libxml2-2.7.2-with-modules.patch
|
|
|
|
Patch1000: mingw32-libxml2-2.7.2-with-modules.patch
|
|
|
|
Patch1001: mingw32-libxml2-static-build-compile-fix.patch
|
|
|
|
Patch1001: mingw32-libxml2-static-build-compile-fix.patch
|
|
|
|
Patch1002: mingw32-libxml2-win32-pthreads-compatibility.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
@ -61,7 +60,6 @@ Static version of the MinGW Windows XML processing library.
|
|
|
|
|
|
|
|
|
|
|
|
%patch1000 -p1
|
|
|
|
%patch1000 -p1
|
|
|
|
%patch1001 -p0
|
|
|
|
%patch1001 -p0
|
|
|
|
%patch1002 -p0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Patched configure.in, so rebuild configure.
|
|
|
|
# Patched configure.in, so rebuild configure.
|
|
|
|
libtoolize --force --copy
|
|
|
|
libtoolize --force --copy
|
|
|
@ -74,14 +72,14 @@ autoreconf
|
|
|
|
mkdir build_static
|
|
|
|
mkdir build_static
|
|
|
|
pushd build_static
|
|
|
|
pushd build_static
|
|
|
|
LDFLAGS="-no-undefined" \
|
|
|
|
LDFLAGS="-no-undefined" \
|
|
|
|
%{_mingw32_configure} --without-python --with-modules --enable-static --disable-shared CFLAGS="$CFLAGS -DLIBXML_STATIC_FOR_DLL"
|
|
|
|
%{_mingw32_configure} --without-python --with-modules --enable-static --disable-shared --with-threads=yes CFLAGS="$CFLAGS -DLIBXML_STATIC_FOR_DLL"
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
mkdir build_shared
|
|
|
|
mkdir build_shared
|
|
|
|
pushd build_shared
|
|
|
|
pushd build_shared
|
|
|
|
LDFLAGS="-no-undefined" \
|
|
|
|
LDFLAGS="-no-undefined" \
|
|
|
|
%{_mingw32_configure} --without-python --with-modules --disable-static --enable-shared
|
|
|
|
%{_mingw32_configure} --without-python --with-modules --disable-static --enable-shared --with-threads=yes
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
@ -133,6 +131,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Sep 12 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.7.4-2
|
|
|
|
|
|
|
|
- Always use the native win32 thread API even when pthreads is available
|
|
|
|
|
|
|
|
- Dropped a patch which isn't necessary anymore
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Sep 11 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.7.4-1
|
|
|
|
* Fri Sep 11 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.7.4-1
|
|
|
|
- Update to 2.7.4
|
|
|
|
- Update to 2.7.4
|
|
|
|
- Drop upstreamed libxml2-2.7.3-ficora-parse.patch patch
|
|
|
|
- Drop upstreamed libxml2-2.7.3-ficora-parse.patch patch
|
|
|
|