]> git.pld-linux.org Git - packages/php-pear-HTML_Template_IT.git/blame - php-pear-HTML_Template_IT.spec
- rebuild with new PEAR provides/requires scripts
[packages/php-pear-HTML_Template_IT.git] / php-pear-HTML_Template_IT.spec
CommitLineData
6d7c0acc
PG
1%include /usr/lib/rpm/macros.php
2%define _class HTML
3%define _subclass Template
8df37baa 4%define _status stable
6d7c0acc
PG
5%define _pearname %{_class}_%{_subclass}_IT
6Summary: %{_pearname} - Integrated Templates
137ca012 7Summary(pl): %{_pearname} - zintegrowane szablony
6d7c0acc 8Name: php-pear-%{_pearname}
d3224903 9Version: 1.1
3a9a6719 10Release: 3
6d7c0acc
PG
11License: PHP 2.02
12Group: Development/Languages/PHP
d3224903 13# Source0-md5: 6062a6b0cf6033b206bd62aaeb36c055
6d7c0acc 14Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
3cebb543 15URL: http://pear.php.net/package/HTML_Template_IT/
54565986 16BuildRequires: rpm-php-pearprov >= 4.0.2-98
6d7c0acc 17Requires: php-pear
99825dd1 18Requires: php-pear-PEAR
6d7c0acc
PG
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23HTML_Template_IT: Simple template API. The Isotemplate API is somewhat
24tricky for a beginner although it is the best one you can build.
25template::parse() [phplib template = Isotemplate] requests you to name
26a source and a target where the current block gets parsed into. Source
27and target can be block names or even handler names. This API gives
28you a maximum of fexibility but you always have to know what you do
29570648 29which is quite unusual for PHP skripter like me. I noticed that I do
6d7c0acc
PG
30not any control on which block gets parsed into which one. If all
31blocks are within one file, the script knows how they are nested and
32in which way you have to parse them. IT knows that inner1 is a child
137ca012 33of block2, there's no need to tell him about this. Features:
6d7c0acc
PG
34 - Nested blocks,
35 - Include external file,
36 - Custom tags format (default {mytag}).
37
38HTML_Template_ITX: With this class you get the full power of the
39phplib template class. You may have one file with blocks in it but you
40have as well one main file and multiple files one for each block. This
63f024ec
AG
41is quite useful when you have user configurable websites. Using blocks
42not in the main template allows you to modify some parts of your
43layout easily.
6d7c0acc 44
2205de41 45In PEAR status of this package is: %{_status}.
8df37baa 46
137ca012
JB
47%description -l pl
48