Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570057
en ru br
Репозитории ALT
5.1: 1.8.17-alt5
3.0: 1.8.17-alt4
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libxml

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: libxml
Version: 1.8.17
Release: alt5

%def_disable static

Summary: The library for manipulating XML files
License: LGPL
Group: System/Libraries
Url: http://xmlsoft.org/
Packager: George Litvinov <litvinovg at altlinux.org>

Source: ftp://xmlsoft.org/old/%name-%version.tar.bz2

# http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0110

Patch0: %name-1.8.17-sec-fix-nano.patch
# add missing check for <string.h> in configure.in
Patch1: %name-1.8.17-mdk-includes.patch
# automake 1.5 related fixes and some cleanups
Patch2: %name-1.8.16-pld-am15.patch
# parallel make friendly
Patch3: %name-1.8.17-pld-pmake.patch
# fix libreadline detection
Patch4: %name-1.8.17-alt-tinfo.patch

Patch5: %name-1.8.17-declarations.patch

Patch6: %name-1.8.17-multiarch.patch

Patch7: %name-1.8.17-open-mode.patch

Patch8: %name-1.8.17-ppc64-config.patch
# Automatically added by buildreq on Thu Mar 11 2004
BuildRequires: libreadline-devel libtinfo-devel zlib-devel

%package devel
Summary: Development environment for building applications manipulating XML files
Group: Development/C
Requires: %name = %version-%release
Conflicts: libxml2-devel < 2.3.0

%package devel-static
Summary: Static library for building static applications manipulating XML files
Group: Development/C
Requires: %name-devel = %version-%release
Conflicts: libxml2-devel-static < 2.3.0

%description
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.

This package contains the shared library required to run
applications manipulating XML files.

%description devel
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.

This package contains the libraries, include and other files
you can use to develop applications manipulating XML files.

%description devel-static
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.

This package contains the static library you can use to develop
statically linked applications manipulating XML files.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1 -b .dec
%patch6 -p1
%patch7 -p1
%patch8 -p1

%build
autoreconf -fisv
%configure %{subst_enable static}
%make_build
%make check

%install
%makeinstall

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%doc AUTHORS ChangeLog NEWS README COPYING COPYING.LIB TODO
%_libdir/lib*.so.*

%files devel
%_bindir/*
%_libdir/*.so
#_libdir/*.la
%_libdir/*.sh
%_includedir/*
%_libdir/pkgconfig/*
%_datadir/gnome-xml
%doc doc/*.gif doc/*.html doc/html

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin