2001-09-19 12:06:23 +04:00
Summary : Library providing XML and HTML support
Name : libxml2
2001-11-05 01:13:45 +03:00
Version : @VERSION@
2003-05-14 23:45:50 +04:00
Release : 1
2002-02-08 16:28:40 +03:00
License : MIT
2001-09-19 12:06:23 +04:00
Group : Development/Libraries
2009-09-10 20:23:39 +04:00
Source : ftp://xmlsoft.org/libxml2/libxml2-%{version} .tar.gz
2008-07-23 17:35:50 +04:00
BuildRoot : %{_tmppath} /%{name} -%{version} -%{release} -root
2012-01-26 12:56:22 +04:00
BuildRequires : python python-devel zlib-devel pkgconfig xz-devel
2001-09-19 12:06:23 +04:00
URL : http://xmlsoft.org/
1998-09-25 20:58:38 +04:00
%description
2000-10-30 12:27:53 +03:00
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DtDs, either
at parse time or later once the document has been modified. The output
can be a simple SAX stream or and in-memory DOM like representations.
In this case one can use the built-in XPath and XPointer implementation
to select subnodes or ranges. A flexible Input/Output mechanism is
available, with existing HTTP and FTP modules and combined to an
URI library.
1998-09-25 20:58:38 +04:00
%package devel
2001-09-19 12:06:23 +04:00
Summary : Libraries, includes, etc. to develop XML and HTML applications
Group : Development/Libraries
2007-08-01 11:49:06 +04:00
Requires : libxml2 = %{version} -%{release}
2002-05-24 15:10:43 +04:00
Requires : zlib-devel
2012-01-26 12:56:22 +04:00
Requires : xz-devel
2006-06-06 17:27:03 +04:00
Requires : pkgconfig
1998-09-25 20:58:38 +04:00
%description devel
2000-10-30 12:27:53 +03:00
Libraries, include files, etc you can use to develop XML applications.
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DtDs, either
at parse time or later once the document has been modified. The output
can be a simple SAX stream or and in-memory DOM like representations.
In this case one can use the built-in XPath and XPointer implementation
to select subnodes or ranges. A flexible Input/Output mechanism is
available, with existing HTTP and FTP modules and combined to an
URI library.
1998-09-25 20:58:38 +04:00
2002-02-02 12:17:16 +03:00
%package python
Summary : Python bindings for the libxml2 library
Group : Development/Libraries
2007-08-01 11:49:06 +04:00
Requires : libxml2 = %{version} -%{release}
Requires : python
2002-02-02 12:17:16 +03:00
%description python
The libxml2-python package contains a module that permits applications
written in the Python programming language to use the interface
supplied by the libxml2 library to manipulate XML files.
This library allows to manipulate XML files. It includes support
to read, modify and write XML and HTML files. There is DTDs support
this includes parsing and validation even with complex DTDs, either
at parse time or later once the document has been modified.
2002-10-24 00:43:53 +04:00
1998-09-25 20:58:38 +04:00
%prep
2001-11-05 01:13:45 +03:00
%setup -q
1998-09-25 20:58:38 +04:00
%build
2005-08-26 02:52:51 +04:00
%configure
2009-09-10 20:23:39 +04:00
make %{_smp_mflags}
2004-04-18 18:58:57 +04:00
gzip -9 ChangeLog
1998-09-25 20:58:38 +04:00
%install
2002-10-24 00:43:53 +04:00
rm -fr %{buildroot}
1998-09-25 20:58:38 +04:00
2002-09-04 16:27:06 +04:00
%makeinstall
2009-09-10 20:23:39 +04:00
(cd doc/examples ; make clean ; rm -rf .deps Makefile)
2005-04-02 14:49:51 +04:00
gzip -9 doc/libxml2-api.xml
2005-03-16 15:57:31 +03:00
rm -f $RPM_BUILD_ROOT %{_libdir} /*.la
1998-09-25 20:58:38 +04:00
%clean
2002-10-24 00:43:53 +04:00
rm -fr %{buildroot}
1998-09-25 20:58:38 +04:00
2002-10-24 00:43:53 +04:00
%post
/sbin/ldconfig
1998-09-25 20:58:38 +04:00
2002-10-24 00:43:53 +04:00
%postun
/sbin/ldconfig
1998-09-25 20:58:38 +04:00
%files
%defattr (-, root, root)
2004-04-18 18:58:57 +04:00
%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO
2001-11-05 01:13:45 +03:00
%doc %{_mandir} /man1/xmllint.1*
%doc %{_mandir} /man1/xmlcatalog.1*
2002-03-06 21:42:40 +03:00
%doc %{_mandir} /man3/libxml.3*
2000-08-19 20:48:54 +04:00
2002-09-04 16:27:06 +04:00
%{_libdir} /lib*.so.*
2009-09-10 20:23:39 +04:00
%{_bindir} /xmllint
%{_bindir} /xmlcatalog
1998-09-25 20:58:38 +04:00
%files devel
%defattr (-, root, root)
2001-11-05 01:13:45 +03:00
%doc %{_mandir} /man1/xml2-config.1*
2009-09-10 20:23:39 +04:00
%doc AUTHORS ChangeLog.gz NEWS README Copyright
2002-03-07 13:25:29 +03:00
%doc doc/*.html doc/html doc/*.gif doc/*.png
2005-04-02 14:49:51 +04:00
%doc doc/tutorial doc/libxml2-api.xml.gz
2003-11-15 21:24:36 +03:00
%doc doc/examples
2009-09-10 20:23:39 +04:00
%doc %dir %{_datadir} /gtk-doc/html/libxml2
2005-09-12 17:10:09 +04:00
%doc %{_datadir} /gtk-doc/html/libxml2/*.devhelp
%doc %{_datadir} /gtk-doc/html/libxml2/*.html
%doc %{_datadir} /gtk-doc/html/libxml2/*.png
%doc %{_datadir} /gtk-doc/html/libxml2/*.css
2001-04-26 23:29:02 +04:00
2002-09-04 16:27:06 +04:00
%{_libdir} /lib*.so
%{_libdir} /*a
%{_libdir} /*.sh
2009-09-10 20:23:39 +04:00
%{_includedir} /*
%{_bindir} /xml2-config
%{_datadir} /aclocal/libxml.m4
2002-09-04 16:27:06 +04:00
%{_libdir} /pkgconfig/libxml-2.0.pc
2002-02-02 12:17:16 +03:00
%files python
%defattr (-, root, root)
2004-04-18 18:58:57 +04:00
%doc AUTHORS ChangeLog.gz NEWS README Copyright
2005-09-05 03:04:44 +04:00
%{_libdir} /python*/site-packages/libxml2.py*
%{_libdir} /python*/site-packages/drv_libxml2.py*
2002-10-24 00:43:53 +04:00
%{_libdir} /python*/site-packages/libxml2mod*
2002-02-02 12:17:16 +03:00
%doc python/TODO
%doc python/libxml2class.txt
%doc python/tests/*.py
2002-11-22 18:57:07 +03:00
%doc doc/*.py
%doc doc/python.html
2001-11-05 01:13:45 +03:00
%changelog
2002-11-25 19:33:40 +03:00
* @RELDATE@ Daniel Veillard <veillard@redhat.com>
- upstream release @VERSION@ see http://xmlsoft.org/news.html