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