]> git.pld-linux.org Git - packages/php-pear-Console_Color.git/blob - php-pear-Console_Color.spec
- 1.0.2
[packages/php-pear-Console_Color.git] / php-pear-Console_Color.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Console
3 %define         _subclass       Color
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6
7 Summary:        %{_pearname} - easily use ANSI console colors in your application
8 Summary(pl):    %{_pearname} - ³atwe u¿ycie kolorów ANSI w aplikacjach
9 Name:           php-pear-%{_pearname}
10 Version:        1.0.2
11 Release:        1
12 License:        PHP 3.0
13 Group:          Development/Languages/PHP
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5:  8fe454cb9d04b2bbe40bf06626217839
16 URL:            http://pear.php.net/package/Console_Color/
17 BuildRequires:  php-pear-PEAR
18 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
19 BuildRequires:  rpmbuild(macros) >= 1.300
20 Requires:       php-pear
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 You can use Console_Color::convert to transform colorcodes like %r
26 into ANSI control codes. 'print Console_Color::convert("%rHello
27 World!%n");' would print "Hello World" in red, for example.
28
29 In PEAR status of this package is: %{_status}.
30
31 %description -l pl
32 Console_Color::convert mo¿na u¿ywaæ do przekszta³cania kodów kolorów
33 typu %r na kody steruj±ce ANSI. Na przyk³ad 'print
34 Console_Color::convert("%rHello World!%n");' wypisze "Hello World" na
35 czerwono.
36
37 Ta klasa ma w PEAR status: %{_status}.
38
39 %prep
40 %pear_package_setup
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{php_pear_dir}
45 %pear_package_install
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc install.log
53 %doc docs/%{_pearname}/examples
54 %{php_pear_dir}/.registry/*.reg
55 %{php_pear_dir}/%{_class}/*.php
This page took 0.054881 seconds and 4 git commands to generate.