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 zorientowanego obiektowo interfejsu do API
39 usługi kontroli poprawności CSS serwisu W3C
40 (http://jigsaw.w3.org/css-validator/). Przy użyciu tego pakietu
41 możliwe jest podłączenie się do instancji walidatora i pobranie wyniku
42 kontroli poprawności (prawda|fałsz) jak również komunikatów błędów i
43 ostrzeżeń dla danego arkusza stylów.
45 Poprzez wykorzystanie formatu SOAP 1.2, w wyniku zwracane są proste
46 obiekty zawierające wszystkie informacje walidatora.
48 Ta klasa ma w PEAR status: %{_status}.
51 Summary: Tests for PEAR::%{_pearname}
52 Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
53 Group: Development/Languages/PHP
55 Requires: %{name} = %{version}-%{release}
59 Tests for PEAR::%{_pearname}.
61 %description tests -l pl.UTF-8
62 Testy dla PEAR::%{_pearname}.
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{php_pear_dir}
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
78 %doc docs/Services_W3C_CSSValidator/docs/examples
79 %{php_pear_dir}/.registry/*.reg
80 %dir %{php_pear_dir}/Services/W3C
81 %{php_pear_dir}/Services/W3C/CSSValidator
82 %{php_pear_dir}/Services/W3C/CSSValidator.php
85 %defattr(644,root,root,755)
86 %{php_pear_dir}/tests/Services_W3C_CSSValidator