version 1.1, 2012/02/21 23:37:57
|
version 1.1.1.3, 2014/06/15 19:53:29
|
Line 1
|
Line 1
|
Summary: Library providing XML and HTML support |
Summary: Library providing XML and HTML support |
Name: libxml2 |
Name: libxml2 |
Version: @VERSION@ |
Version: @VERSION@ |
Release: 1 | Release: 1%{?dist}%{?extra_release} |
License: MIT |
License: MIT |
Group: Development/Libraries |
Group: Development/Libraries |
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz |
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
BuildRequires: python python-devel zlib-devel pkgconfig | BuildRequires: python python-devel zlib-devel pkgconfig xz-devel |
URL: http://xmlsoft.org/ |
URL: http://xmlsoft.org/ |
|
|
%description |
%description |
This library allows to manipulate XML files. It includes support | This library allows to manipulate XML files. It includes support |
to read, modify and write XML and HTML files. There is DTDs support |
to read, modify and write XML and HTML files. There is DTDs support |
this includes parsing and validation even with complex DtDs, either |
this includes parsing and validation even with complex DtDs, either |
at parse time or later once the document has been modified. The output |
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. |
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 |
In this case one can use the built-in XPath and XPointer implementation |
to select subnodes or ranges. A flexible Input/Output mechanism is | to select sub nodes or ranges. A flexible Input/Output mechanism is |
available, with existing HTTP and FTP modules and combined to an |
available, with existing HTTP and FTP modules and combined to an |
URI library. |
URI library. |
|
|
Line 25 Summary: Libraries, includes, etc. to develop XML and
|
Line 25 Summary: Libraries, includes, etc. to develop XML and
|
Group: Development/Libraries |
Group: Development/Libraries |
Requires: libxml2 = %{version}-%{release} |
Requires: libxml2 = %{version}-%{release} |
Requires: zlib-devel |
Requires: zlib-devel |
|
Requires: xz-devel |
Requires: pkgconfig |
Requires: pkgconfig |
|
|
%description devel |
%description devel |
Libraries, include files, etc you can use to develop XML applications. |
Libraries, include files, etc you can use to develop XML applications. |
This library allows to manipulate XML files. It includes support | This library allows to manipulate XML files. It includes support |
to read, modify and write XML and HTML files. There is DTDs support |
to read, modify and write XML and HTML files. There is DTDs support |
this includes parsing and validation even with complex DtDs, either |
this includes parsing and validation even with complex DtDs, either |
at parse time or later once the document has been modified. The output |
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. |
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 |
In this case one can use the built-in XPath and XPointer implementation |
to select subnodes or ranges. A flexible Input/Output mechanism is | to select sub nodes or ranges. A flexible Input/Output mechanism is |
available, with existing HTTP and FTP modules and combined to an |
available, with existing HTTP and FTP modules and combined to an |
URI library. |
URI library. |
|
|
|
%package static |
|
Summary: Static library for libxml2 |
|
Group: Development/Libraries |
|
Requires: libxml2 = %{version}-%{release} |
|
|
|
%description static |
|
Static library for libxml2 provided for specific uses or shaving a few |
|
microseconds when parsing, do not link to them for generic purpose packages. |
|
|
%package python |
%package python |
Summary: Python bindings for the libxml2 library |
Summary: Python bindings for the libxml2 library |
Group: Development/Libraries |
Group: Development/Libraries |
Requires: libxml2 = %{version}-%{release} |
Requires: libxml2 = %{version}-%{release} |
Requires: python |
|
|
|
%description python |
%description python |
The libxml2-python package contains a module that permits applications |
The libxml2-python package contains a module that permits applications |
written in the Python programming language to use the interface |
written in the Python programming language to use the interface |
supplied by the libxml2 library to manipulate XML files. |
supplied by the libxml2 library to manipulate XML files. |
|
|
This library allows to manipulate XML files. It includes support | This library allows to manipulate XML files. It includes support |
to read, modify and write XML and HTML files. There is DTDs support |
to read, modify and write XML and HTML files. There is DTDs support |
this includes parsing and validation even with complex DTDs, either |
this includes parsing and validation even with complex DTDs, either |
at parse time or later once the document has been modified. |
at parse time or later once the document has been modified. |
Line 61 at parse time or later once the document has been modi
|
Line 70 at parse time or later once the document has been modi
|
%build |
%build |
%configure |
%configure |
make %{_smp_mflags} |
make %{_smp_mflags} |
gzip -9 ChangeLog |
|
|
|
%install |
%install |
rm -fr %{buildroot} |
rm -fr %{buildroot} |
|
|
%makeinstall | make install DESTDIR=%{buildroot} |
(cd doc/examples ; make clean ; rm -rf .deps Makefile) | |
gzip -9 doc/libxml2-api.xml | |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
|
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a |
|
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la |
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libxml2-%{version}/* |
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libxml2-python-%{version}/* |
|
(cd doc/examples ; make clean ; rm -rf .deps Makefile) |
|
gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz |
|
|
|
%check |
|
make runtests |
|
|
%clean |
%clean |
rm -fr %{buildroot} |
rm -fr %{buildroot} |
|
|
%post | %post -p /sbin/ldconfig |
/sbin/ldconfig | |
|
|
%postun | %postun -p /sbin/ldconfig |
/sbin/ldconfig | |
|
|
%files |
%files |
%defattr(-, root, root) |
%defattr(-, root, root) |
|
|
%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO | %doc AUTHORS NEWS README Copyright TODO |
%doc %{_mandir}/man1/xmllint.1* |
%doc %{_mandir}/man1/xmllint.1* |
%doc %{_mandir}/man1/xmlcatalog.1* |
%doc %{_mandir}/man1/xmlcatalog.1* |
%doc %{_mandir}/man3/libxml.3* |
%doc %{_mandir}/man3/libxml.3* |
Line 96 rm -fr %{buildroot}
|
Line 110 rm -fr %{buildroot}
|
%defattr(-, root, root) |
%defattr(-, root, root) |
|
|
%doc %{_mandir}/man1/xml2-config.1* |
%doc %{_mandir}/man1/xml2-config.1* |
%doc AUTHORS ChangeLog.gz NEWS README Copyright | %doc AUTHORS NEWS README Copyright |
%doc doc/*.html doc/html doc/*.gif doc/*.png |
%doc doc/*.html doc/html doc/*.gif doc/*.png |
%doc doc/tutorial doc/libxml2-api.xml.gz |
%doc doc/tutorial doc/libxml2-api.xml.gz |
%doc doc/examples |
%doc doc/examples |
Line 107 rm -fr %{buildroot}
|
Line 121 rm -fr %{buildroot}
|
%doc %{_datadir}/gtk-doc/html/libxml2/*.css |
%doc %{_datadir}/gtk-doc/html/libxml2/*.css |
|
|
%{_libdir}/lib*.so |
%{_libdir}/lib*.so |
%{_libdir}/*a |
|
%{_libdir}/*.sh |
%{_libdir}/*.sh |
%{_includedir}/* |
%{_includedir}/* |
%{_bindir}/xml2-config |
%{_bindir}/xml2-config |
%{_datadir}/aclocal/libxml.m4 |
%{_datadir}/aclocal/libxml.m4 |
%{_libdir}/pkgconfig/libxml-2.0.pc |
%{_libdir}/pkgconfig/libxml-2.0.pc |
|
|
|
%files static |
|
%defattr(-, root, root) |
|
|
|
%{_libdir}/*a |
|
|
%files python |
%files python |
%defattr(-, root, root) |
%defattr(-, root, root) |
|
|
%doc AUTHORS ChangeLog.gz NEWS README Copyright |
|
%{_libdir}/python*/site-packages/libxml2.py* |
%{_libdir}/python*/site-packages/libxml2.py* |
%{_libdir}/python*/site-packages/drv_libxml2.py* |
%{_libdir}/python*/site-packages/drv_libxml2.py* |
%{_libdir}/python*/site-packages/libxml2mod* |
%{_libdir}/python*/site-packages/libxml2mod* |