[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / third_party / libxml / src / libxml.spec.in
blob688811a8deb879886b08c67282a215c098867b86
1 Summary: Library providing XML and HTML support
2 Name: libxml2
3 Version: @VERSION@
4 Release: 1
5 License: MIT
6 Group: Development/Libraries
7 Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
8 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
9 BuildRequires: python python-devel zlib-devel pkgconfig
10 URL: http://xmlsoft.org/
12 %description
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
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
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
19 to select subnodes or ranges. A flexible Input/Output mechanism is
20 available, with existing HTTP and FTP modules and combined to an
21 URI library.
23 %package devel
24 Summary: Libraries, includes, etc. to develop XML and HTML applications
25 Group: Development/Libraries
26 Requires: libxml2 = %{version}-%{release}
27 Requires: zlib-devel
28 Requires: pkgconfig
30 %description devel
31 Libraries, include files, etc you can use to develop XML applications.
32 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 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 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 to select subnodes or ranges. A flexible Input/Output mechanism is
39 available, with existing HTTP and FTP modules and combined to an
40 URI library.
42 %package python
43 Summary: Python bindings for the libxml2 library
44 Group: Development/Libraries
45 Requires: libxml2 = %{version}-%{release}
46 Requires: python
48 %description python
49 The libxml2-python package contains a module that permits applications
50 written in the Python programming language to use the interface
51 supplied by the libxml2 library to manipulate XML files.
53 This library allows to manipulate XML files. It includes support
54 to read, modify and write XML and HTML files. There is DTDs support
55 this includes parsing and validation even with complex DTDs, either
56 at parse time or later once the document has been modified.
58 %prep
59 %setup -q
61 %build
62 %configure
63 make %{_smp_mflags}
64 gzip -9 ChangeLog
66 %install
67 rm -fr %{buildroot}
69 %makeinstall
70 (cd doc/examples ; make clean ; rm -rf .deps Makefile)
71 gzip -9 doc/libxml2-api.xml
72 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
74 %clean
75 rm -fr %{buildroot}
77 %post
78 /sbin/ldconfig
80 %postun
81 /sbin/ldconfig
83 %files
84 %defattr(-, root, root)
86 %doc AUTHORS ChangeLog.gz NEWS README Copyright TODO
87 %doc %{_mandir}/man1/xmllint.1*
88 %doc %{_mandir}/man1/xmlcatalog.1*
89 %doc %{_mandir}/man3/libxml.3*
91 %{_libdir}/lib*.so.*
92 %{_bindir}/xmllint
93 %{_bindir}/xmlcatalog
95 %files devel
96 %defattr(-, root, root)
98 %doc %{_mandir}/man1/xml2-config.1*
99 %doc AUTHORS ChangeLog.gz NEWS README Copyright
100 %doc doc/*.html doc/html doc/*.gif doc/*.png
101 %doc doc/tutorial doc/libxml2-api.xml.gz
102 %doc doc/examples
103 %doc %dir %{_datadir}/gtk-doc/html/libxml2
104 %doc %{_datadir}/gtk-doc/html/libxml2/*.devhelp
105 %doc %{_datadir}/gtk-doc/html/libxml2/*.html
106 %doc %{_datadir}/gtk-doc/html/libxml2/*.png
107 %doc %{_datadir}/gtk-doc/html/libxml2/*.css
109 %{_libdir}/lib*.so
110 %{_libdir}/*a
111 %{_libdir}/*.sh
112 %{_includedir}/*
113 %{_bindir}/xml2-config
114 %{_datadir}/aclocal/libxml.m4
115 %{_libdir}/pkgconfig/libxml-2.0.pc
116 %files python
117 %defattr(-, root, root)
119 %doc AUTHORS ChangeLog.gz NEWS README Copyright
120 %{_libdir}/python*/site-packages/libxml2.py*
121 %{_libdir}/python*/site-packages/drv_libxml2.py*
122 %{_libdir}/python*/site-packages/libxml2mod*
123 %doc python/TODO
124 %doc python/libxml2class.txt
125 %doc python/tests/*.py
126 %doc doc/*.py
127 %doc doc/python.html
129 %changelog
130 * @RELDATE@ Daniel Veillard <veillard@redhat.com>
131 - upstream release @VERSION@ see http://xmlsoft.org/news.html