]> git.pld-linux.org Git - packages/php-pear-Text_Highlighter.git/blob - php-pear-Text_Highlighter.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Text_Highlighter.git] / php-pear-Text_Highlighter.spec
1 %define         _status         beta
2 %define         _pearname       Text_Highlighter
3 Summary:        %{_pearname} - syntax highlighting
4 Summary(pl.UTF-8):      %{_pearname} - podświetlanie składni
5 Name:           php-pear-%{_pearname}
6 Version:        0.8.0
7 Release:        1
8 License:        PHP 2.02
9 Group:          Development/Languages/PHP
10 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
11 # Source0-md5:  0eb11e9588ad5c7a1046ffad3ca2aed8
12 URL:            http://pear.php.net/package/Text_Highlighter/
13 BuildRequires:  php-pear-PEAR >= 1:1.4.0-0.b1
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.300
16 Requires:       php(core) >= 5.4.0
17 Requires:       php-pear
18 Requires:       php-pear-Console_Getopt >= 1.4.1
19 Requires:       php-pear-PEAR-core >= 1:1.10.3
20 Requires:       php-pear-XML_Parser >= 1.3.7
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Text_Highlighter is a package for syntax highlighting.
26
27 It provides a base class providing all the functionality, and a
28 descendent classes geneator class.
29
30 The main idea is to simplify creation of subclasses implementing
31 syntax highlighting for particular language. Subclasses do not
32 implement any new functionality, they just provide syntax highlighting
33 rules. The rules sources are in XML format.
34
35 To create a highlighter for a language, there is no need to code a new
36 class manually. Simply describe the rules in XML file and use
37 Text_Highlighter_Generator to create a new class.
38
39 In PEAR status of this package is: %{_status}.
40
41 %description -l pl.UTF-8
42 Text_Highlighter to pakiet do podświetlania składni.
43
44 Zawiera klasę bazową dostarczającą całą funkcjonalność i klasę
45 generującą klasy dziedziczące.
46
47 Główną ideą jest uproszczenie tworzenia podklas implementujących
48 podświetlanie składni dla danego języka. Podklasy nie implementują
49 żadnej nowej funkcjonalności, a jedynie dostarczają reguły
50 podświetlania składni. Źródła reguł są w formacie XML.
51
52 Aby stworzyć podświetlanie dla języka, nie trzeba kodować ręcznie
53 nowej klasy. Wystarczy opisać reguły w pliku XML i użyć
54 Text_Highlighter_Generator, aby utworzyć nową klasę.
55
56 Ta klasa ma w PEAR status: %{_status}.
57
58 %prep
59 %pear_package_setup
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir}}
64 %pear_package_install
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc install.log
72 %doc docs/%{_pearname}/*
73 %{php_pear_dir}/.registry/*.reg
74 %{php_pear_dir}/Text/*.php
75 %{php_pear_dir}/Text/Highlighter
76
77 %{php_pear_dir}/data/%{_pearname}
This page took 0.064612 seconds and 4 git commands to generate.