Name: mingw32-libxslt
Version: 1.1.24
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows Library providing the Gnome XSLT engine
License: MIT
BuildRequires: mingw32-filesystem >= 30
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
+BuildRequires: mingw32-dlfcn
+BuildRequires: mingw32-iconv
+BuildRequires: mingw32-libgcrypt
BuildRequires: mingw32-libxml2 >= 2.7.2-3
+BuildRequires: pkgconfig
+BuildRequires: autoconf, automake, libtool
Requires: mingw32-libxml2 >= 2.7.2-3
+Requires: pkgconfig
%description
%patch1000 -p1
+libtoolize --force --copy
+autoreconf
+
%build
+PATH=%{_mingw32_bindir}:$PATH \
%{_mingw32_configure} --without-python --enable-shared
-make
+make %{?_smp_mflags}
gzip -9 ChangeLog
make DESTDIR=$RPM_BUILD_ROOT install
# Remove static libraries but DON'T remove *.dll.a files.
+# Note that ./configure --disable-static doesn't work.
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libexslt.a
rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libxslt.a
%changelog
-* Sat Oct 25 2008 Richard W.M. Jones <rjones@redhat.com> - 1.1.24-1
+* Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 1.1.24-3
+- Use _smp_mflags.
+- Rebuild libtool.
+- +BRs dlfcn and iconv.
+
+* Sat Oct 25 2008 Richard W.M. Jones <rjones@redhat.com> - 1.1.24-2
- Initial RPM release.