]> git.pld-linux.org Git - packages/php-pear-Services_W3C_CSSValidator.git/blob - php-pear-Services_W3C_CSSValidator.spec
- pl fixes
[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 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.
44
45 Poprzez wykorzystanie formatu SOAP 1.2, w wyniku zwracane są proste
46 obiekty zawierające wszystkie informacje walidatora.
47
48 Ta klasa ma w PEAR status: %{_status}.
49
50 %package tests
51 Summary:        Tests for PEAR::%{_pearname}
52 Summary(pl.UTF-8):      Testy dla PEAR::%{_pearname}
53 Group:          Development/Languages/PHP
54 AutoReq:        no
55 Requires:       %{name} = %{version}-%{release}
56 AutoProv:       no
57
58 %description tests
59 Tests for PEAR::%{_pearname}.
60
61 %description tests -l pl.UTF-8
62 Testy dla PEAR::%{_pearname}.
63
64 %prep
65 %pear_package_setup
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT%{php_pear_dir}
70 %pear_package_install
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
76 %defattr(644,root,root,755)
77 %doc install.log
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
83
84 %files tests
85 %defattr(644,root,root,755)
86 %{php_pear_dir}/tests/Services_W3C_CSSValidator
This page took 0.043076 seconds and 4 git commands to generate.