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