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