]>
Commit | Line | Data |
---|---|---|
8747c6a7 | 1 | %include /usr/lib/rpm/macros.php |
8747c6a7 AG |
2 | %define _status alpha |
3 | %define _pearname Services_W3C_CSSValidator | |
4 | Summary: %{_pearname} - An Object Oriented Interface to the W3C CSS Validator service | |
5 | Summary(pl.UTF-8): %{_pearname} - zorientowany obiektowo interfejs do usługi walidacji CSS | |
6 | Name: php-pear-%{_pearname} | |
7 | Version: 0.1.0 | |
fbb176b9 | 8 | Release: 4 |
8747c6a7 AG |
9 | License: BSD |
10 | Group: Development/Languages/PHP | |
11 | Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz | |
12 | # Source0-md5: 7d4caa54880de5b94808db8cba85f665 | |
13 | URL: http://pear.php.net/package/Services_W3C_CSSValidator/ | |
fbb176b9 | 14 | BuildRequires: php-pear-PEAR >= 1:1.5.4 |
8747c6a7 AG |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 |
16 | Requires: php-pear | |
17 | Requires: php-pear-HTTP_Request >= 1.3.0 | |
8747c6a7 AG |
18 | BuildArch: noarch |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | This package provides an object oriented interface to the API of the | |
23 | W3 CSS Validator application (http://jigsaw.w3.org/css-validator/). | |
24 | With this package you can connect to a running instance of the | |
25 | validator and retrieve the validation results (true|false) as well as | |
26 | the errors and warnings for a a style sheet. | |
27 | ||
28 | By using the SOAP 1.2 output format from the validator, you are | |
29 | returned simple objects containing all the information from the | |
30 | validator. | |
31 | ||
32 | In PEAR status of this package is: %{_status}. | |
33 | ||
34 | %description -l pl.UTF-8 | |
a89cd93d JB |
35 | Pakiet ten udostępnia zorientowanego obiektowo interfejsu do API |
36 | usługi kontroli poprawności CSS serwisu W3C | |
37 | (http://jigsaw.w3.org/css-validator/). Przy użyciu tego pakietu | |
38 | możliwe jest podłączenie się do instancji walidatora i pobranie wyniku | |
39 | kontroli poprawności (prawda|fałsz) jak również komunikatów błędów i | |
40 | ostrzeżeń dla danego arkusza stylów. | |
8747c6a7 | 41 | |
a89cd93d | 42 | Poprzez wykorzystanie formatu SOAP 1.2, w wyniku zwracane są proste |
8747c6a7 AG |
43 | obiekty zawierające wszystkie informacje walidatora. |
44 | ||
45 | Ta klasa ma w PEAR status: %{_status}. | |
46 | ||
47 | %package tests | |
48 | Summary: Tests for PEAR::%{_pearname} | |
49 | Summary(pl.UTF-8): Testy dla PEAR::%{_pearname} | |
50 | Group: Development/Languages/PHP | |
8747c6a7 AG |
51 | Requires: %{name} = %{version}-%{release} |
52 | AutoProv: no | |
fbb176b9 | 53 | AutoReq: no |
8747c6a7 AG |
54 | |
55 | %description tests | |
56 | Tests for PEAR::%{_pearname}. | |
57 | ||
58 | %description tests -l pl.UTF-8 | |
59 | Testy dla PEAR::%{_pearname}. | |
60 | ||
61 | %prep | |
62 | %pear_package_setup | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
67 | %pear_package_install | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc install.log | |
75 | %doc docs/Services_W3C_CSSValidator/docs/examples | |
76 | %{php_pear_dir}/.registry/*.reg | |
77 | %dir %{php_pear_dir}/Services/W3C | |
78 | %{php_pear_dir}/Services/W3C/CSSValidator | |
79 | %{php_pear_dir}/Services/W3C/CSSValidator.php | |
80 | ||
81 | %files tests | |
82 | %defattr(644,root,root,755) | |
83 | %{php_pear_dir}/tests/Services_W3C_CSSValidator |