]> git.pld-linux.org Git - packages/php-pear-HTML_CSS.git/blob - php-pear-HTML_CSS.spec
- require php-pear-PEAR-core, not the full PEAR package with deps
[packages/php-pear-HTML_CSS.git] / php-pear-HTML_CSS.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          HTML
3 %define         _subclass       CSS
4 %define         _status         beta
5 %define         _pearname       %{_class}_%{_subclass}
6
7 %define _rc RC1
8 Summary:        %{_pearname} - class for generating CSS declarations
9 Summary(pl):    %{_pearname} - klasa do generowania deklaracji CSS
10 Name:           php-pear-%{_pearname}
11 Version:        1.0.0
12 Release:        1
13 Epoch:          0
14 License:        PHP 3.0
15 Group:          Development/Languages/PHP
16 Source0:        http://pear.php.net/get/%{_pearname}-%{version}%{_rc}.tgz
17 # Source0-md5:  2c5b25c8442c03ca10eef41983473b8b
18 URL:            http://pear.php.net/package/HTML_CSS/
19 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
20 Requires:       php-pear
21 Requires:       php-pear-HTML_Common >= 1.2
22 Requires:       php-pear-PEAR-core >= 1:1.3.1
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 # included in tests
27 %define         _noautoreq 'pear(HTML_TestListener.php)' 'pear(TestUnit.php)'
28
29 %description
30 %{_pearname} provides a simple interface for generating a stylesheet
31 declaration. It is completely standards compliant, and has some great
32 features:
33 - simple OO interface to CSS definitions
34 - output to:
35   - inline stylesheet declarations
36   - document internal stylesheet declarations
37   - standalone stylesheet declarations
38   - array of definitions
39
40 In addition, it shares the following with HTML_Common based classes:
41 - indent style support
42 - line ending style
43
44 In PEAR status of this package is: %{_status}.
45
46 %description -l pl
47 %{_pearname} dostarcza prostego interfejsu do generowania deklaracji
48 arkusza stylów. Jest ca³kowicie zgodny ze standardami, i ma kilka
49 ¶wietnych cech:
50 - prosty obiektowo zorientowany interfejs do definicji CSS
51 - wyj¶cie do:
52   - deklaracji arkusza stylów w miejscu
53   - wewnêtrznych deklaracji arkusza stylów w dokumencie
54   - samodzielnego pliku z definicjami
55   - tablicy definicji
56
57 Ponadto wspó³dzieli nastêpuj±ce cechy z klasami opartymi na
58 HTML_Common:
59 - ró¿ne style wciêæ
60 - ró¿ne rodzaje znaków koñca linii
61
62 Ta klasa ma w PEAR status: %{_status}.
63
64 %package tests
65 Summary:        Tests for PEAR::%{_pearname}
66 Summary(pl):    Testy dla PEAR::%{_pearname}
67 Group:          Development
68 Requires:       %{name} = %{epoch}:%{version}-%{release}
69 AutoReq:        no
70
71 %description tests
72 Tests for PEAR::%{_pearname}.
73
74 %description tests -l pl
75 Testy dla PEAR::%{_pearname}.
76
77 %prep
78 %pear_package_setup
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT%{php_pear_dir}
83 %pear_package_install
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
89 %defattr(644,root,root,755)
90 %doc install.log
91 %doc docs/%{_pearname}/examples
92 %{php_pear_dir}/.registry/*.reg
93 %{php_pear_dir}/%{_class}/*.php
94 %{php_pear_dir}/%{_class}/%{_subclass}
95
96 %files tests
97 %defattr(644,root,root,755)
98 %{php_pear_dir}/tests/*
This page took 0.08189 seconds and 4 git commands to generate.