VirtualBox

source: vbox/trunk/src/libs/libxml2-2.6.31/libxml2.spec@ 55761

最後變更 在這個檔案從55761是 39915,由 vboxsync 提交於 13 年 前

libxml-2.6.31 unmodified

  • 屬性 svn:eol-style 設為 native
檔案大小: 3.9 KB
 
1Summary: Library providing XML and HTML support
2Name: libxml2
3Version: 2.6.31
4Release: 1
5License: MIT
6Group: Development/Libraries
7Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz
8BuildRoot: %{_tmppath}/%{name}-%{version}-root
9BuildRequires: python python-devel zlib-devel
10URL: http://xmlsoft.org/
11Prefix: %{_prefix}
12Docdir: %{_docdir}
13
14%description
15This library allows to manipulate XML files. It includes support
16to read, modify and write XML and HTML files. There is DTDs support
17this includes parsing and validation even with complex DtDs, either
18at parse time or later once the document has been modified. The output
19can be a simple SAX stream or and in-memory DOM like representations.
20In this case one can use the built-in XPath and XPointer implementation
21to select subnodes or ranges. A flexible Input/Output mechanism is
22available, with existing HTTP and FTP modules and combined to an
23URI library.
24
25%package devel
26Summary: Libraries, includes, etc. to develop XML and HTML applications
27Group: Development/Libraries
28Requires: libxml2 = %{version}-%{release}
29Requires: zlib-devel
30Requires: pkgconfig
31
32%description devel
33Libraries, include files, etc you can use to develop XML applications.
34This library allows to manipulate XML files. It includes support
35to read, modify and write XML and HTML files. There is DTDs support
36this includes parsing and validation even with complex DtDs, either
37at parse time or later once the document has been modified. The output
38can be a simple SAX stream or and in-memory DOM like representations.
39In this case one can use the built-in XPath and XPointer implementation
40to select subnodes or ranges. A flexible Input/Output mechanism is
41available, with existing HTTP and FTP modules and combined to an
42URI library.
43
44%package python
45Summary: Python bindings for the libxml2 library
46Group: Development/Libraries
47Requires: libxml2 = %{version}-%{release}
48Requires: python
49
50%description python
51The libxml2-python package contains a module that permits applications
52written in the Python programming language to use the interface
53supplied by the libxml2 library to manipulate XML files.
54
55This library allows to manipulate XML files. It includes support
56to read, modify and write XML and HTML files. There is DTDs support
57this includes parsing and validation even with complex DTDs, either
58at parse time or later once the document has been modified.
59
60%prep
61%setup -q
62
63%build
64%configure
65make
66gzip -9 ChangeLog
67
68%install
69rm -fr %{buildroot}
70
71%makeinstall
72(cd doc/examples ; make clean ; rm -rf .deps)
73gzip -9 doc/libxml2-api.xml
74rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
75
76%clean
77rm -fr %{buildroot}
78
79%post
80/sbin/ldconfig
81
82%postun
83/sbin/ldconfig
84
85%files
86%defattr(-, root, root)
87
88%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO
89%doc %{_mandir}/man1/xmllint.1*
90%doc %{_mandir}/man1/xmlcatalog.1*
91%doc %{_mandir}/man3/libxml.3*
92
93%{_libdir}/lib*.so.*
94%{prefix}/bin/xmllint
95%{prefix}/bin/xmlcatalog
96
97%files devel
98%defattr(-, root, root)
99
100%doc %{_mandir}/man1/xml2-config.1*
101%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO
102%doc doc/*.html doc/html doc/*.gif doc/*.png
103%doc doc/tutorial doc/libxml2-api.xml.gz
104%doc doc/examples
105%doc %{_datadir}/gtk-doc/html/libxml2/*.devhelp
106%doc %{_datadir}/gtk-doc/html/libxml2/*.html
107%doc %{_datadir}/gtk-doc/html/libxml2/*.png
108%doc %{_datadir}/gtk-doc/html/libxml2/*.css
109
110%{_libdir}/lib*.so
111%{_libdir}/*a
112%{_libdir}/*.sh
113%{prefix}/include/*
114%{prefix}/bin/xml2-config
115%{prefix}/share/aclocal/libxml.m4
116%{_libdir}/pkgconfig/libxml-2.0.pc
117%files python
118%defattr(-, root, root)
119
120%doc AUTHORS ChangeLog.gz NEWS README Copyright
121%{_libdir}/python*/site-packages/libxml2.py*
122%{_libdir}/python*/site-packages/drv_libxml2.py*
123%{_libdir}/python*/site-packages/libxml2mod*
124%doc python/TODO
125%doc python/libxml2class.txt
126%doc python/tests/*.py
127%doc doc/*.py
128%doc doc/python.html
129
130%changelog
131* Fri Jan 11 2008 Daniel Veillard <[email protected]>
132- upstream release 2.6.31 see http://xmlsoft.org/news.html
133
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette