1 %include /usr/lib/rpm/macros.php
5 %define _pearname %{_class}_%{_subclass}
7 Summary: %{_pearname} - class for generating CSS declarations
8 Summary(pl): %{_pearname} - klasa do generowania deklaracji CSS
9 Name: php-pear-%{_pearname}
13 Group: Development/Languages/PHP
14 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 # Source0-md5: 8f3d1eecd60e998da40f53c7e6306841
16 URL: http://pear.php.net/package/HTML_CSS/
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _noautoreq 'pear(HTML_TestListener.php)' 'pear(TestUnit.php)'
26 %{_pearname} provides a simple interface for generating a stylesheet
27 declaration. It is completely standards compliant, and has some great
29 - simple OO interface to CSS definitions
31 - inline stylesheet declarations
32 - document internal stylesheet declarations
33 - standalone stylesheet declarations
34 - array of definitions
36 In addition, it shares the following with HTML_Common based classes:
37 - indent style support
40 In PEAR status of this package is: %{_status}.
43 %{_pearname} dostarcza prostego interfejsu do generowania deklaracji
44 arkusza stylów. Jest ca³kowicie zgodny ze standardami, i ma kilka
46 - prosty obiektowo zorientowany interfejs do definicji CSS
48 - deklaracji arkusza stylów w miejscu
49 - wewnêtrznych deklaracji arkusza stylów w dokumencie
50 - samodzielnego pliku z definicjami
53 Ponadto wspó³dzieli nastêpuj±ce cechy z klasami opartymi na
56 - ró¿ne rodzaje znaków koñca linii
58 Ta klasa ma w PEAR status: %{_status}.
61 Summary: Tests for PEAR::%{_pearname}
62 Summary(pl): Testy dla PEAR::%{_pearname}
64 Requires: %{name} = %{epoch}:%{name}-%{release}
67 Tests for PEAR::%{_pearname}.
69 %description tests -l pl
70 Testy dla PEAR::%{_pearname}.
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT%{php_pear_dir}
81 rm -rf $RPM_BUILD_ROOT
84 %defattr(644,root,root,755)
86 %doc docs/%{_pearname}/examples
87 %{php_pear_dir}/.registry/*.reg
88 %{php_pear_dir}/%{_class}/*.php
91 %defattr(644,root,root,755)
92 %{php_pear_dir}/tests/*