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
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This package provides an object oriented interface to the API of the
25 W3 CSS Validator application (http://jigsaw.w3.org/css-validator/).
26 With this package you can connect to a running instance of the
27 validator and retrieve the validation results (true|false) as well as
28 the errors and warnings for a a style sheet.
30 By using the SOAP 1.2 output format from the validator, you are
31 returned simple objects containing all the information from the
34 In PEAR status of this package is: %{_status}.
36 %description -l pl.UTF-8
37 Pakiet ten udostępnia zorientowanego obiektowo interfejsu do API
38 usługi kontroli poprawności CSS serwisu W3C
39 (http://jigsaw.w3.org/css-validator/). Przy użyciu tego pakietu
40 możliwe jest podłączenie się do instancji walidatora i pobranie wyniku
41 kontroli poprawności (prawda|fałsz) jak również komunikatów błędów i
42 ostrzeżeń dla danego arkusza stylów.
44 Poprzez 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