]> git.pld-linux.org Git - packages/php-pear-Services_W3C_CSSValidator.git/blob - php-pear-Services_W3C_CSSValidator.spec
- PEAR/PEAR-core packages are not directly required
[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 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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.
29
30 By using the SOAP 1.2 output format from the validator, you are
31 returned simple objects containing all the information from the
32 validator.
33
34 In PEAR status of this package is: %{_status}.
35
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.
43
44 Poprzez 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.068603 seconds and 4 git commands to generate.