Bump all spec releases for mass rebuild to mingw32-gcc 4.4
[fedora-mingw.git] / xerces-c / mingw32-xerces-c.spec
index 79c2125..0cec81c 100644 (file)
@@ -6,7 +6,7 @@
 
 Name:           mingw32-xerces-c
 Version:        2.8.0
-Release:        1%{?dist}
+Release:        4%{?dist}
 Summary:        Validating XML parser
 
 License:        ASL 2.0
@@ -44,7 +44,6 @@ faithful to the XML 1.0 recommendation and associated standards (DOM
 rm -rf doc/html/resources/.svn
 find ./doc -type f -perm 755 -exec chmod 644 {} \;
 find ./samples -type f -perm 755 -exec chmod 644 {} \;
-%{__perl} -pi.orig -e 's|(PREFIX.)/lib\b|$1/%{_lib}|g' src/xercesc/configure */Makefile.in
 rm doc/html/apiDocs/XMLRegisterCleanup_8hpp__incl.map
 rm doc/html/apiDocs/XSConstants_8hpp__incl.map
 
@@ -72,6 +71,7 @@ find -name runConfigure | while read f; do
         sed -i -e 's/-w -O -DNDEBUG/-DNDEBUG/g' $f
 done
 
+# NB: This is duplicated in 'mingw32-xqilla.spec'.
 cd $XERCESCROOT/src/xercesc
 CXXFLAGS="%{_mingw32_cflags}" \
 CFLAGS="%{_mingw32_cflags}" \
@@ -97,6 +97,7 @@ export XERCESCROOT="$PWD"
 %{__make} install -C src/xercesc DESTDIR="$RPM_BUILD_ROOT"
 
 # Move the DLLs into the bindir.
+mkdir -p $RPM_BUILD_ROOT%{_mingw32_bindir}
 mv $RPM_BUILD_ROOT%{_mingw32_libdir}/*.dll $RPM_BUILD_ROOT%{_mingw32_bindir}/
 
 
@@ -107,11 +108,18 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root)
 %doc LICENSE
-%{_mingw32_include}/xercesc/
+%{_mingw32_includedir}/xercesc/
+%{_mingw32_bindir}/libxerces-c.dll
+%{_mingw32_bindir}/libxerces-c28.dll
 %{_mingw32_bindir}/libxerces-c2_8_0.dll
+%{_mingw32_bindir}/libxerces-depdom.dll
+%{_mingw32_bindir}/libxerces-depdom28.dll
 %{_mingw32_bindir}/libxerces-depdom2_8_0.dll
 
 
 %changelog
-* Wed Feb 18 2009 Richard W.M. Jones <rjones@redhat.com> - 2.8.0-1
+* Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2.8.0-4
+- Rebuild for mingw32-gcc 4.4
+
+* Wed Feb 18 2009 Richard W.M. Jones <rjones@redhat.com> - 2.8.0-3
 - Initial RPM release.