1 %include /usr/lib/rpm/macros.php
2 %define _class Services
3 %define _subclass W3C_CSSValidator
5 %define _pearname Services_W3C_CSSValidator
6 Summary: %{_pearname} - An Object Oriented Interface to the W3C CSS Validator service
7 Summary(pl.UTF-8): %{_pearname} - zorientowany obiektowo interfejs do usługi walidacji CSS
8 Name: php-pear-%{_pearname}
12 Group: Development/Languages/PHP
13 Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
14 # Source0-md5: 7d4caa54880de5b94808db8cba85f665
15 URL: http://pear.php.net/package/Services_W3C_CSSValidator/
16 BuildRequires: php-pear-PEAR
17 BuildRequires: rpm-php-pearprov >= 4.4.2-11
19 Requires: php-pear-HTTP_Request >= 1.3.0
20 Requires: php-pear-PEAR >= 1.5.4
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This package provides an object oriented interface to the API of the
26 W3 CSS Validator application (http://jigsaw.w3.org/css-validator/).
27 With this package you can connect to a running instance of the
28 validator and retrieve the validation results (true|false) as well as
29 the errors and warnings for a a style sheet.
31 By using the SOAP 1.2 output format from the validator, you are
32 returned simple objects containing all the information from the
35 In PEAR status of this package is: %{_status}.
37 %description -l pl.UTF-8
38 Pakiet ten udostępnia zorientowango obiektowo interfejsu do API usługi
39 walidacji CSS serwisu W3C (http://jigsaw.w3.org/css-validator/). Przy
40 użyciu tego pakietu możliwe jest podłączenie się do instancji
41 walidacji i pobranie wyniku walidacji (prawda|fałsz) jak również
42 komunikaty błędów i ostrzeżeń dla danego arkusza stylów.
44 Przez wykorzystanie formatu SOAP 1.2, w wyniku zwracane są proste
45 obiekty zawierające wszystkie informacje walidatora.
47 Ta klasa ma w PEAR status: %{_status}.
50 Summary: Tests for PEAR::%{_pearname}
51 Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
52 Group: Development/Languages/PHP
54 Requires: %{name} = %{version}-%{release}
58 Tests for PEAR::%{_pearname}.
60 %description tests -l pl.UTF-8
61 Testy dla PEAR::%{_pearname}.
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{php_pear_dir}
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
77 %doc docs/Services_W3C_CSSValidator/docs/examples
78 %{php_pear_dir}/.registry/*.reg
79 %dir %{php_pear_dir}/Services/W3C
80 %{php_pear_dir}/Services/W3C/CSSValidator
81 %{php_pear_dir}/Services/W3C/CSSValidator.php
84 %defattr(644,root,root,755)
85 %{php_pear_dir}/tests/Services_W3C_CSSValidator