Source accidentally renamed.
[fedora-mingw.git] / libxml2 / mingw-libxml2.spec
index 0aba19a..6c01f5f 100644 (file)
@@ -1,19 +1,23 @@
-%include /usr/lib/rpm/mingw-defs
+%define __strip %{_mingw_strip}
+%define __objdump %{_mingw_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw_findrequires}
+%define __find_provides %{_mingw_findprovides}
 
 Name:           mingw-libxml2
-Version:        2.6.32
-Release:        4%{?dist}
+Version:        2.7.1
+Release:        1%{?dist}
 Summary:        MinGW Windows libxml2 XML processing library
 
-License:        LGPLv2+
+License:        MIT
 Group:          Development/Libraries
-URL:            http://www.xmlsoft.org/
+URL:            http://xmlsoft.org/
 Source0:        ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 
-BuildRequires:  mingw-filesystem >= 19
+BuildRequires:  mingw-filesystem >= 23
 BuildRequires:  mingw-gcc
 BuildRequires:  mingw-binutils
 BuildRequires:  mingw-zlib
@@ -40,6 +44,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
 
 rm $RPM_BUILD_ROOT%{_mingw_libdir}/libxml2.a
 
+# Remove manpages which duplicate Fedora native.
+rm -rf $RPM_BUILD_ROOT%{_mingw_mandir}
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -60,11 +67,15 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw_datadir}/aclocal/*
 %{_mingw_docdir}/libxml2-%{version}/
 %{_mingw_datadir}/gtk-doc/html/libxml2/
-%{_mingw_mandir}/man1/*
-%{_mingw_mandir}/man3/*
 
 
 %changelog
+* Mon Sep 22 2008 Daniel P. Berrange <berrange@redhat.com> - 2.7.1-1
+- Update to 2.7.1 release
+
+* Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-5
+- Remove manpages which duplicate Fedora native.
+
 * Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-4
 - Remove static libraries.
 - List libdir files explicitly.