Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37487107
en ru br
ALT Linux repos
S:1.2.1-alt1
5.0: 1.2.0-alt3
4.1: 1.2.0-alt2

Group :: Development/Other
RPM: pear-Text_Wiki

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define pear_name Text_Wiki

Name: pear-Text_Wiki
Version: 1.2.1
Release: alt1

Summary: Transforms Wiki and BBCode markup into XHTML, LaTeX or plain text markup. This is the base engine for all of the Text_Wiki sub-classes

License: LGPL
Group: Development/Other
Url: http://pear.php.net/package/Text_Wiki

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://pear.php.net/get/Text_Wiki-%version.tar.bz2

BuildArchitectures: noarch

Requires: pear-core
BuildRequires: pear-core rpm-build-pear

%description
The text transformation is done in 2 steps.
The chosen parser uses markup rules to tokenize the tags and content.
Renderers output the tokens and text into the requested format.
The tokenized form replaces the tags by a protected byte value associated
to an index in an options table. This form shares up to 50 rules by all
parsers and renderers.
The package is intented for versatile transformers as well as converters.
Text_Wiki is delivered with its own parser, which is used by Yawiki or
Horde's Wicked and three basic renderers: XHTML , LaTeX and plain text.
Strong sanitizing of XHTML is default.
Parsers (* and Renderers) exist for BBCode, Cowiki (*), Dokuwiki (*),
Mediawiki and Tikiwiki (*).
It is highly configurable and can be easily extended.

%prep
%setup -c

%build
%pear_build

%install
%pear_install_std

%post
%register_pear_module

%preun
%unregister_pear_module

%files
%doc LICENSE CHANGELOG
%pear_dir/Text
%pear_docdir/%pear_name/
%pear_xmldir/%pear_name.xml

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin