Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Unified Diff: third_party/libxml/libxml.spec.in

Issue 2951008: Update libxml to 2.7.7. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libxml/libxml.spec.in
diff --git a/third_party/libxml/libxml.spec.in b/third_party/libxml/libxml.spec.in
index fd135112a6310f0631083755cbfd9300c86a4ace..688811a8deb879886b08c67282a215c098867b86 100644
--- a/third_party/libxml/libxml.spec.in
+++ b/third_party/libxml/libxml.spec.in
@@ -4,12 +4,10 @@ Version: @VERSION@
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)

Powered by Google App Engine
This is Rietveld 408576698