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