Sisyphus repositório
Última atualização: 14 outubro 2019 | SRPMs: 17518 | Visitas: 15265560
en ru br
ALT Linux repositórios
S:1.1.33-alt2
5.0: 1.1.24-alt1
4.1: 1.1.24-alt0.M41.1
4.0: 1.1.24-alt0.M40.1
3.0: 1.1.14-alt1

Group :: Sistema/Bibliotecas
RPM: libxslt

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: libxslt
Version: 1.1.24
Release: alt0.M40.1

%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 python-devel python-module-libxml2

%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

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

%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 -isfv

%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/

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

%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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009