Index: third_party/libxml/libxml2.spec |
diff --git a/third_party/libxml/libxml2.spec b/third_party/libxml/libxml2.spec |
index 887e8a1dd91878620eaac4160312a1b83cae8b24..94a2a3f9d4c6fa281b7ea3937c541013371fdf3e 100644 |
--- a/third_party/libxml/libxml2.spec |
+++ b/third_party/libxml/libxml2.spec |
@@ -1,15 +1,13 @@ |
Summary: Library providing XML and HTML support |
Name: libxml2 |
-Version: 2.6.32 |
+Version: 2.7.7 |
Release: 1 |
License: MIT |
Group: Development/Libraries |
-Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz |
-BuildRoot: %{_tmppath}/%{name}-%{version}-root |
-BuildRequires: python python-devel zlib-devel |
+Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz |
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
+BuildRequires: python python-devel zlib-devel pkgconfig |
URL: http://xmlsoft.org/ |
-Prefix: %{_prefix} |
-Docdir: %{_docdir} |
%description |
This library allows to manipulate XML files. It includes support |
@@ -62,14 +60,14 @@ at parse time or later once the document has been modified. |
%build |
%configure |
-make |
+make %{_smp_mflags} |
gzip -9 ChangeLog |
%install |
rm -fr %{buildroot} |
%makeinstall |
-(cd doc/examples ; make clean ; rm -rf .deps) |
+(cd doc/examples ; make clean ; rm -rf .deps Makefile) |
gzip -9 doc/libxml2-api.xml |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
@@ -91,17 +89,18 @@ rm -fr %{buildroot} |
%doc %{_mandir}/man3/libxml.3* |
%{_libdir}/lib*.so.* |
-%{prefix}/bin/xmllint |
-%{prefix}/bin/xmlcatalog |
+%{_bindir}/xmllint |
+%{_bindir}/xmlcatalog |
%files devel |
%defattr(-, root, root) |
%doc %{_mandir}/man1/xml2-config.1* |
-%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO |
+%doc AUTHORS ChangeLog.gz NEWS README Copyright |
%doc doc/*.html doc/html doc/*.gif doc/*.png |
%doc doc/tutorial doc/libxml2-api.xml.gz |
%doc doc/examples |
+%doc %dir %{_datadir}/gtk-doc/html/libxml2 |
%doc %{_datadir}/gtk-doc/html/libxml2/*.devhelp |
%doc %{_datadir}/gtk-doc/html/libxml2/*.html |
%doc %{_datadir}/gtk-doc/html/libxml2/*.png |
@@ -110,9 +109,9 @@ rm -fr %{buildroot} |
%{_libdir}/lib*.so |
%{_libdir}/*a |
%{_libdir}/*.sh |
-%{prefix}/include/* |
-%{prefix}/bin/xml2-config |
-%{prefix}/share/aclocal/libxml.m4 |
+%{_includedir}/* |
+%{_bindir}/xml2-config |
+%{_datadir}/aclocal/libxml.m4 |
%{_libdir}/pkgconfig/libxml-2.0.pc |
%files python |
%defattr(-, root, root) |
@@ -128,6 +127,6 @@ rm -fr %{buildroot} |
%doc doc/python.html |
%changelog |
-* Tue Apr 8 2008 Daniel Veillard <veillard@redhat.com> |
-- upstream release 2.6.32 see http://xmlsoft.org/news.html |
+* Mon Mar 15 2010 Daniel Veillard <veillard@redhat.com> |
+- upstream release 2.7.7 see http://xmlsoft.org/news.html |