]> git.pld-linux.org Git - packages/php-pear-Services_W3C_CSSValidator.git/blob - php-pear-Services_W3C_CSSValidator.spec
1d27f6c11a348f1316fc0f3f79626b5d4ccfcee7
[packages/php-pear-Services_W3C_CSSValidator.git] / php-pear-Services_W3C_CSSValidator.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          Services
3 %define         _subclass       W3C_CSSValidator
4 %define         _status         alpha
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}
9 Version:        0.1.0
10 Release:        2
11 License:        BSD
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
18 Requires:       php-pear
19 Requires:       php-pear-HTTP_Request >= 1.3.0
20 Requires:       php-pear-PEAR >= 1.5.4
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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.
30
31 By using the SOAP 1.2 output format from the validator, you are
32 returned simple objects containing all the information from the
33 validator.
34
35 In PEAR status of this package is: %{_status}.
36
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.
43
44 Przez wykorzystanie formatu SOAP 1.2, w wyniku zwracane są proste
45 obiekty zawierające wszystkie informacje walidatora.
46
47 Ta klasa ma w PEAR status: %{_status}.
48
49 %package tests
50 Summary:        Tests for PEAR::%{_pearname}
51 Summary(pl.UTF-8):      Testy dla PEAR::%{_pearname}
52 Group:          Development/Languages/PHP
53 AutoReq:        no
54 Requires:       %{name} = %{version}-%{release}
55 AutoProv:       no
56
57 %description tests
58 Tests for PEAR::%{_pearname}.
59
60 %description tests -l pl.UTF-8
61 Testy dla PEAR::%{_pearname}.
62
63 %prep
64 %pear_package_setup
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{php_pear_dir}
69 %pear_package_install
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc install.log
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
82
83 %files tests
84 %defattr(644,root,root,755)
85 %{php_pear_dir}/tests/Services_W3C_CSSValidator
This page took 0.058829 seconds and 2 git commands to generate.