Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37732945
en ru br
Репозитории ALT
S:1.1.37-alt1
5.1: 1.1.24-alt2
4.1: 1.1.24-alt0.M41.1
4.0: 1.1.24-alt0.M40.1
3.0: 1.1.14-alt1
www.altlinux.org/Changes

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

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

Name: libxslt
Version: 1.1.24
Release: alt2

%def_disable static

Summary: Library providing XSLT support
Group: System/Libraries
License: MIT
Url: http://xmlsoft.org/
Packager: XML Development Team <xml at packages.altlinux.org>

Source: libxslt-%version.tar
Patch: libxslt-%version-%release.patch

%define pkgdocdir %_docdir/%name-%version

%define xmlver 1:2.6.27
Requires: libxml2 >= %xmlver
BuildPreReq: libxml2-devel >= %xmlver

# Automatically added by buildreq on Sat Aug 09 2008

BuildRequires: libbfd-devel libgcrypt-devel libxml2-devel

%package -n xsltproc
Summary: XSLT processor using libxslt
Group: Text tools
Requires: %name = %version-%release

%package devel
Summary: Development environment for XSLT
Group: Development/C
Requires: %name = %version-%release, libxml2-devel >= %xmlver

%package devel-doc
Summary: Development documentation for XSLT
Group: Development/C

%package devel-static
Summary: Static library for XSLT
Group: Development/C
Requires: %name-devel = %version-%release

%setup_python_subpackage %name
%package -n %packagename
Summary: Python bindings for the %name library
Group: Development/Python
%setup_std_python_package_deps
Requires: %name = %version-%release
Requires: python-module-libxml2 >= %xmlver
Provides: python-modules-%name = %version-%release
Provides: libxslt-python = %version-%release
Obsoletes: python-modules-%name < %version-%release
Obsoletes: libxslt-python < %version-%release
BuildRequires: python-module-libxml2
BuildRequires(pre): python

%description
XSLT library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism.

This package provides shared library required for run XSLT-based software.

%description -n xsltproc
This package provides an XSLT processor based on the libxslt C library.
It allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism.

%description devel
XSLT library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism.

This package provides include files required for software development
with XSLT.

%description devel-doc
XSLT library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism.

This package provides documentation on software development
with the XSLT library.

%description devel-static
XSLT library allows to transform XML files into other XML files
(or HTML, text, ...) using the standard XSLT stylesheet transformation
mechanism.

This package provides static library required for development of
statically linked programs with XSLT.

%description -n python-module-%name
This package contains a module that permits applications
written in the Python programming language to use the interface
supplied by the libxslt library to apply XSLT transformations.

This library allows to parse sytlesheets, uses the %name-python
to load and save XML and HTML files. Direct access to XPath and
the XSLT transformation context are possible to extend the XSLT language
with XPath functions written in Python.

%prep
%setup -q
%patch -p1

%build
%autoreconf

%configure \
--with-html-dir=%_docdir \
%{subst_enable static}

# SMP-incompatible build.

%make
%{?!_without_check:%{?!_disable_check:%make check}}

%install
%make_install DESTDIR=%buildroot TARGET_DIR=%pkgdocdir install
install -p -m644 AUTHORS COPYING FEATURES NEWS README %buildroot%pkgdocdir/

%files
%_libdir/*.so.*
%dir %pkgdocdir
%pkgdocdir/AUTHORS
%pkgdocdir/COPYING
%pkgdocdir/FEATURES
%pkgdocdir/NEWS
%pkgdocdir/README

%files -n xsltproc
%_bindir/xsltproc
%_man1dir/xsltproc.1*

%files devel
%_bindir/*-config
%_libdir/*.so
%_libdir/*.sh
%_includedir/*
%_libdir/pkgconfig/*
%_datadir/aclocal/*

%files devel-doc
%_man3dir/*
%dir %pkgdocdir
%pkgdocdir/*.html
%pkgdocdir/*.gif
%pkgdocdir/html
%pkgdocdir/tutorial*
%pkgdocdir/EXSLT

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

%files -n python-module-%name
%python_sitelibdir/*
%dir %pkgdocdir
%dir %pkgdocdir/python
%dir %pkgdocdir/python/examples
%pkgdocdir/python/TODO
%pkgdocdir/python/examples/*.py
%pkgdocdir/python/examples/*.xml
%pkgdocdir/python/examples/*.xsl

%changelog

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

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