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

Side by Side Diff: third_party/libxml/src/libxml.spec.in

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no iconv Created 5 years, 6 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
« no previous file with comments | « third_party/libxml/src/libxml-2.0.pc.in ('k') | third_party/libxml/src/libxml2.spec » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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%{?dist}%{?extra_release}
5 License: MIT 5 License: MIT
6 Group: Development/Libraries 6 Group: Development/Libraries
7 Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz 7 Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
8 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 8 BuildRoot: %{_tmppath}/%{name}-%{version}-root
9 BuildRequires: python python-devel zlib-devel pkgconfig 9 BuildRequires: python python-devel zlib-devel pkgconfig xz-devel
10 URL: http://xmlsoft.org/ 10 URL: http://xmlsoft.org/
11 11
12 %description 12 %description
13 This library allows to manipulate XML files. It includes support 13 This library allows to manipulate XML files. It includes support
14 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
15 this includes parsing and validation even with complex DtDs, either 15 this includes parsing and validation even with complex DtDs, either
16 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
17 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.
18 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
19 to select subnodes or ranges. A flexible Input/Output mechanism is 19 to select sub nodes or ranges. A flexible Input/Output mechanism is
20 available, with existing HTTP and FTP modules and combined to an 20 available, with existing HTTP and FTP modules and combined to an
21 URI library. 21 URI library.
22 22
23 %package devel 23 %package devel
24 Summary: Libraries, includes, etc. to develop XML and HTML applications 24 Summary: Libraries, includes, etc. to develop XML and HTML applications
25 Group: Development/Libraries 25 Group: Development/Libraries
26 Requires: libxml2 = %{version}-%{release} 26 Requires: libxml2 = %{version}-%{release}
27 Requires: zlib-devel 27 Requires: zlib-devel
28 Requires: xz-devel
28 Requires: pkgconfig 29 Requires: pkgconfig
29 30
30 %description devel 31 %description devel
31 Libraries, include files, etc you can use to develop XML applications. 32 Libraries, include files, etc you can use to develop XML applications.
32 This library allows to manipulate XML files. It includes support 33 This library allows to manipulate XML files. It includes support
33 to read, modify and write XML and HTML files. There is DTDs support 34 to read, modify and write XML and HTML files. There is DTDs support
34 this includes parsing and validation even with complex DtDs, either 35 this includes parsing and validation even with complex DtDs, either
35 at parse time or later once the document has been modified. The output 36 at parse time or later once the document has been modified. The output
36 can be a simple SAX stream or and in-memory DOM like representations. 37 can be a simple SAX stream or and in-memory DOM like representations.
37 In this case one can use the built-in XPath and XPointer implementation 38 In this case one can use the built-in XPath and XPointer implementation
38 to select subnodes or ranges. A flexible Input/Output mechanism is 39 to select sub nodes or ranges. A flexible Input/Output mechanism is
39 available, with existing HTTP and FTP modules and combined to an 40 available, with existing HTTP and FTP modules and combined to an
40 URI library. 41 URI library.
41 42
43 %package static
44 Summary: Static library for libxml2
45 Group: Development/Libraries
46 Requires: libxml2 = %{version}-%{release}
47
48 %description static
49 Static library for libxml2 provided for specific uses or shaving a few
50 microseconds when parsing, do not link to them for generic purpose packages.
51
42 %package python 52 %package python
43 Summary: Python bindings for the libxml2 library 53 Summary: Python bindings for the libxml2 library
44 Group: Development/Libraries 54 Group: Development/Libraries
45 Requires: libxml2 = %{version}-%{release} 55 Requires: libxml2 = %{version}-%{release}
46 Requires: python
47 56
48 %description python 57 %description python
49 The libxml2-python package contains a module that permits applications 58 The libxml2-python package contains a module that permits applications
50 written in the Python programming language to use the interface 59 written in the Python programming language to use the interface
51 supplied by the libxml2 library to manipulate XML files. 60 supplied by the libxml2 library to manipulate XML files.
52 61
53 This library allows to manipulate XML files. It includes support 62 This library allows to manipulate XML files. It includes support
54 to read, modify and write XML and HTML files. There is DTDs support 63 to read, modify and write XML and HTML files. There is DTDs support
55 this includes parsing and validation even with complex DTDs, either 64 this includes parsing and validation even with complex DTDs, either
56 at parse time or later once the document has been modified. 65 at parse time or later once the document has been modified.
57 66
58 %prep 67 %prep
59 %setup -q 68 %setup -q
60 69
61 %build 70 %build
62 %configure 71 %configure
63 make %{_smp_mflags} 72 make %{_smp_mflags}
64 gzip -9 ChangeLog
65 73
66 %install 74 %install
67 rm -fr %{buildroot} 75 rm -fr %{buildroot}
68 76
69 %makeinstall 77 make install DESTDIR=%{buildroot}
78
79 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
80 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
81 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la
82 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libxml2-%{version}/*
83 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libxml2-python-%{version}/*
70 (cd doc/examples ; make clean ; rm -rf .deps Makefile) 84 (cd doc/examples ; make clean ; rm -rf .deps Makefile)
71 gzip -9 doc/libxml2-api.xml 85 gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz
72 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la 86
87 %check
88 make runtests
73 89
74 %clean 90 %clean
75 rm -fr %{buildroot} 91 rm -fr %{buildroot}
76 92
77 %post 93 %post -p /sbin/ldconfig
78 /sbin/ldconfig
79 94
80 %postun 95 %postun -p /sbin/ldconfig
81 /sbin/ldconfig
82 96
83 %files 97 %files
84 %defattr(-, root, root) 98 %defattr(-, root, root)
85 99
86 %doc AUTHORS ChangeLog.gz NEWS README Copyright TODO 100 %doc AUTHORS NEWS README Copyright TODO
87 %doc %{_mandir}/man1/xmllint.1* 101 %doc %{_mandir}/man1/xmllint.1*
88 %doc %{_mandir}/man1/xmlcatalog.1* 102 %doc %{_mandir}/man1/xmlcatalog.1*
89 %doc %{_mandir}/man3/libxml.3* 103 %doc %{_mandir}/man3/libxml.3*
90 104
91 %{_libdir}/lib*.so.* 105 %{_libdir}/lib*.so.*
92 %{_bindir}/xmllint 106 %{_bindir}/xmllint
93 %{_bindir}/xmlcatalog 107 %{_bindir}/xmlcatalog
94 108
95 %files devel 109 %files devel
96 %defattr(-, root, root) 110 %defattr(-, root, root)
97 111
98 %doc %{_mandir}/man1/xml2-config.1* 112 %doc %{_mandir}/man1/xml2-config.1*
99 %doc AUTHORS ChangeLog.gz NEWS README Copyright 113 %doc AUTHORS NEWS README Copyright
100 %doc doc/*.html doc/html doc/*.gif doc/*.png 114 %doc doc/*.html doc/html doc/*.gif doc/*.png
101 %doc doc/tutorial doc/libxml2-api.xml.gz 115 %doc doc/tutorial doc/libxml2-api.xml.gz
102 %doc doc/examples 116 %doc doc/examples
103 %doc %dir %{_datadir}/gtk-doc/html/libxml2 117 %doc %dir %{_datadir}/gtk-doc/html/libxml2
104 %doc %{_datadir}/gtk-doc/html/libxml2/*.devhelp 118 %doc %{_datadir}/gtk-doc/html/libxml2/*.devhelp
105 %doc %{_datadir}/gtk-doc/html/libxml2/*.html 119 %doc %{_datadir}/gtk-doc/html/libxml2/*.html
106 %doc %{_datadir}/gtk-doc/html/libxml2/*.png 120 %doc %{_datadir}/gtk-doc/html/libxml2/*.png
107 %doc %{_datadir}/gtk-doc/html/libxml2/*.css 121 %doc %{_datadir}/gtk-doc/html/libxml2/*.css
108 122
109 %{_libdir}/lib*.so 123 %{_libdir}/lib*.so
110 %{_libdir}/*a
111 %{_libdir}/*.sh 124 %{_libdir}/*.sh
112 %{_includedir}/* 125 %{_includedir}/*
113 %{_bindir}/xml2-config 126 %{_bindir}/xml2-config
114 %{_datadir}/aclocal/libxml.m4 127 %{_datadir}/aclocal/libxml.m4
115 %{_libdir}/pkgconfig/libxml-2.0.pc 128 %{_libdir}/pkgconfig/libxml-2.0.pc
129 %{_libdir}/cmake/libxml2/libxml2-config.cmake
130
131 %files static
132 %defattr(-, root, root)
133
134 %{_libdir}/*a
135
116 %files python 136 %files python
117 %defattr(-, root, root) 137 %defattr(-, root, root)
118 138
119 %doc AUTHORS ChangeLog.gz NEWS README Copyright
120 %{_libdir}/python*/site-packages/libxml2.py* 139 %{_libdir}/python*/site-packages/libxml2.py*
121 %{_libdir}/python*/site-packages/drv_libxml2.py* 140 %{_libdir}/python*/site-packages/drv_libxml2.py*
122 %{_libdir}/python*/site-packages/libxml2mod* 141 %{_libdir}/python*/site-packages/libxml2mod*
123 %doc python/TODO 142 %doc python/TODO
124 %doc python/libxml2class.txt 143 %doc python/libxml2class.txt
125 %doc python/tests/*.py 144 %doc python/tests/*.py
126 %doc doc/*.py 145 %doc doc/*.py
127 %doc doc/python.html 146 %doc doc/python.html
128 147
129 %changelog 148 %changelog
130 * @RELDATE@ Daniel Veillard <veillard@redhat.com> 149 * @RELDATE@ Daniel Veillard <veillard@redhat.com>
131 - upstream release @VERSION@ see http://xmlsoft.org/news.html 150 - upstream release @VERSION@ see http://xmlsoft.org/news.html
132 151
OLDNEW
« no previous file with comments | « third_party/libxml/src/libxml-2.0.pc.in ('k') | third_party/libxml/src/libxml2.spec » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698