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

Side by Side 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 unified diff | Download patch
OLDNEW
1 Summary: Library providing XML and HTML support 1 Summary: Library providing XML and HTML support
2 Name: libxml2 2 Name: libxml2
3 Version: @VERSION@ 3 Version: @VERSION@
4 Release: 1 4 Release: 1
5 License: MIT 5 License: MIT
6 Group: Development/Libraries 6 Group: Development/Libraries
7 Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz 7 Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
8 BuildRoot: %{_tmppath}/%{name}-%{version}-root 8 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
9 BuildRequires: python python-devel zlib-devel 9 BuildRequires: python python-devel zlib-devel pkgconfig
10 URL: http://xmlsoft.org/ 10 URL: http://xmlsoft.org/
11 Prefix: %{_prefix}
12 Docdir: %{_docdir}
13 11
14 %description 12 %description
15 This library allows to manipulate XML files. It includes support 13 This library allows to manipulate XML files. It includes support
16 to read, modify and write XML and HTML files. There is DTDs support 14 to read, modify and write XML and HTML files. There is DTDs support
17 this includes parsing and validation even with complex DtDs, either 15 this includes parsing and validation even with complex DtDs, either
18 at parse time or later once the document has been modified. The output 16 at parse time or later once the document has been modified. The output
19 can be a simple SAX stream or and in-memory DOM like representations. 17 can be a simple SAX stream or and in-memory DOM like representations.
20 In this case one can use the built-in XPath and XPointer implementation 18 In this case one can use the built-in XPath and XPointer implementation
21 to select subnodes or ranges. A flexible Input/Output mechanism is 19 to select subnodes or ranges. A flexible Input/Output mechanism is
22 available, with existing HTTP and FTP modules and combined to an 20 available, with existing HTTP and FTP modules and combined to an
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 This library allows to manipulate XML files. It includes support 53 This library allows to manipulate XML files. It includes support
56 to read, modify and write XML and HTML files. There is DTDs support 54 to read, modify and write XML and HTML files. There is DTDs support
57 this includes parsing and validation even with complex DTDs, either 55 this includes parsing and validation even with complex DTDs, either
58 at parse time or later once the document has been modified. 56 at parse time or later once the document has been modified.
59 57
60 %prep 58 %prep
61 %setup -q 59 %setup -q
62 60
63 %build 61 %build
64 %configure 62 %configure
65 make 63 make %{_smp_mflags}
66 gzip -9 ChangeLog 64 gzip -9 ChangeLog
67 65
68 %install 66 %install
69 rm -fr %{buildroot} 67 rm -fr %{buildroot}
70 68
71 %makeinstall 69 %makeinstall
72 (cd doc/examples ; make clean ; rm -rf .deps) 70 (cd doc/examples ; make clean ; rm -rf .deps Makefile)
73 gzip -9 doc/libxml2-api.xml 71 gzip -9 doc/libxml2-api.xml
74 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la 72 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
75 73
76 %clean 74 %clean
77 rm -fr %{buildroot} 75 rm -fr %{buildroot}
78 76
79 %post 77 %post
80 /sbin/ldconfig 78 /sbin/ldconfig
81 79
82 %postun 80 %postun
83 /sbin/ldconfig 81 /sbin/ldconfig
84 82
85 %files 83 %files
86 %defattr(-, root, root) 84 %defattr(-, root, root)
87 85
88 %doc AUTHORS ChangeLog.gz NEWS README Copyright TODO 86 %doc AUTHORS ChangeLog.gz NEWS README Copyright TODO
89 %doc %{_mandir}/man1/xmllint.1* 87 %doc %{_mandir}/man1/xmllint.1*
90 %doc %{_mandir}/man1/xmlcatalog.1* 88 %doc %{_mandir}/man1/xmlcatalog.1*
91 %doc %{_mandir}/man3/libxml.3* 89 %doc %{_mandir}/man3/libxml.3*
92 90
93 %{_libdir}/lib*.so.* 91 %{_libdir}/lib*.so.*
94 %{prefix}/bin/xmllint 92 %{_bindir}/xmllint
95 %{prefix}/bin/xmlcatalog 93 %{_bindir}/xmlcatalog
96 94
97 %files devel 95 %files devel
98 %defattr(-, root, root) 96 %defattr(-, root, root)
99 97
100 %doc %{_mandir}/man1/xml2-config.1* 98 %doc %{_mandir}/man1/xml2-config.1*
101 %doc AUTHORS ChangeLog.gz NEWS README Copyright TODO 99 %doc AUTHORS ChangeLog.gz NEWS README Copyright
102 %doc doc/*.html doc/html doc/*.gif doc/*.png 100 %doc doc/*.html doc/html doc/*.gif doc/*.png
103 %doc doc/tutorial doc/libxml2-api.xml.gz 101 %doc doc/tutorial doc/libxml2-api.xml.gz
104 %doc doc/examples 102 %doc doc/examples
103 %doc %dir %{_datadir}/gtk-doc/html/libxml2
105 %doc %{_datadir}/gtk-doc/html/libxml2/*.devhelp 104 %doc %{_datadir}/gtk-doc/html/libxml2/*.devhelp
106 %doc %{_datadir}/gtk-doc/html/libxml2/*.html 105 %doc %{_datadir}/gtk-doc/html/libxml2/*.html
107 %doc %{_datadir}/gtk-doc/html/libxml2/*.png 106 %doc %{_datadir}/gtk-doc/html/libxml2/*.png
108 %doc %{_datadir}/gtk-doc/html/libxml2/*.css 107 %doc %{_datadir}/gtk-doc/html/libxml2/*.css
109 108
110 %{_libdir}/lib*.so 109 %{_libdir}/lib*.so
111 %{_libdir}/*a 110 %{_libdir}/*a
112 %{_libdir}/*.sh 111 %{_libdir}/*.sh
113 %{prefix}/include/* 112 %{_includedir}/*
114 %{prefix}/bin/xml2-config 113 %{_bindir}/xml2-config
115 %{prefix}/share/aclocal/libxml.m4 114 %{_datadir}/aclocal/libxml.m4
116 %{_libdir}/pkgconfig/libxml-2.0.pc 115 %{_libdir}/pkgconfig/libxml-2.0.pc
117 %files python 116 %files python
118 %defattr(-, root, root) 117 %defattr(-, root, root)
119 118
120 %doc AUTHORS ChangeLog.gz NEWS README Copyright 119 %doc AUTHORS ChangeLog.gz NEWS README Copyright
121 %{_libdir}/python*/site-packages/libxml2.py* 120 %{_libdir}/python*/site-packages/libxml2.py*
122 %{_libdir}/python*/site-packages/drv_libxml2.py* 121 %{_libdir}/python*/site-packages/drv_libxml2.py*
123 %{_libdir}/python*/site-packages/libxml2mod* 122 %{_libdir}/python*/site-packages/libxml2mod*
124 %doc python/TODO 123 %doc python/TODO
125 %doc python/libxml2class.txt 124 %doc python/libxml2class.txt
126 %doc python/tests/*.py 125 %doc python/tests/*.py
127 %doc doc/*.py 126 %doc doc/*.py
128 %doc doc/python.html 127 %doc doc/python.html
129 128
130 %changelog 129 %changelog
131 * @RELDATE@ Daniel Veillard <veillard@redhat.com> 130 * @RELDATE@ Daniel Veillard <veillard@redhat.com>
132 - upstream release @VERSION@ see http://xmlsoft.org/news.html 131 - upstream release @VERSION@ see http://xmlsoft.org/news.html
133 132
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698