1 %include /usr/lib/rpm/macros.php
5 %define _pearname %{_class}_%{_subclass}
6 Summary: %{_pearname} - class for generating CSS declarations
7 Summary(pl): %{_pearname} - klasa do generowania deklaracji CSS
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: 549eceff1562bd97b358a34e7abc0dfb
15 URL: http://pear.php.net/
16 BuildRequires: rpm-php-pearprov >= 4.0.2-98
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %{_pearname} provides a simple interface for generating a stylesheet
23 declaration. It is completely standards compliant, and has some great
25 - simple OO interface to CSS definitions
27 - inline stylesheet declarations
28 - document internal stylesheet declarations
29 - standalone stylesheet declarations
30 - array of definitions
32 In addition, it shares the following with HTML_Common based classes:
33 - indent style support
36 This class has in PEAR status: %{_status}.
39 %{_pearname} dostarcza prostego interfejsu do generowania deklaracji
40 arkusza stylów. Jest ca³kowicie zgodny ze standardami, i ma kilka
42 - prosty obiektowo zorientowany interfejs do definicji CSS
44 - deklaracji arkusza stylów w miejscu
45 - wewnêtrznych deklaracji arkusza stylów w dokumencie
46 - samodzielnego pliku z definicjami
49 Ponadto wspó³dzieli nastêpuj±ce cechy z klasami opartymi na
52 - ró¿ne rodzaje znaków koñca linii
54 Ta klasa ma w PEAR status: %{_status}.
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
63 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc %{_pearname}-%{version}/examples
71 %{php_pear_dir}/%{_class}/*.php