4 Summary: %{_modname} - Tidy HTML Repairing and Parsing
5 Summary(pl): %{_modname} - Czyszczenie, naprawa oraz parsowanie HTML
6 Name: php-pecl-%{_modname}
10 Group: Development/Languages/PHP
11 Source0: http://pecl.php.net/get/%{_modname}-%{version}.tgz
12 # Source0-md5: ecb2d3c62e1d720265a65dfb7e00e081
13 URL: http://pecl.php.net/package/tidy/
14 BuildRequires: php-devel
15 BuildRequires: tidy-devel
17 Obsoletes: php-pear-%{_modname}
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _sysconfdir /etc/php
21 %define extensionsdir %{_libdir}/php
24 Tidy is a binding for the Tidy HTML clean and repair utility which
25 allows you to not only clean and otherwise manipluate HTML documents,
26 but also traverse the document tree using the Zend Engine 2 OO
29 In PECL status of this package is: %{_status}.
32 Tidy jest dowi±zaniem do narzêdzia "Tidy HTML clean and repair", które
33 pozwala nie tylko na czyszczenie oraz manipulacjê dokumentami HTML,
34 ale tak¿e na przemierzanie przez strukturê dokumentu za pomoc±
35 zorientowanej obiektowo semantyki silnika Zend Engine 2.
37 To rozszerzenie ma w PECL status: %{_status}.
43 cd %{_modname}-%{version}
49 rm -rf $RPM_BUILD_ROOT
51 cd %{_modname}-%{version}
53 INSTALL_ROOT=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %{_sbindir}/php-module-install install %{_modname} %{_sysconfdir}/php-cgi.ini
62 if [ "$1" = "0" ]; then
63 %{_sbindir}/php-module-install remove %{_modname} %{_sysconfdir}/php-cgi.ini
67 %defattr(644,root,root,755)
68 %doc %{_modname}-%{version}/{CREDITS,TODO,README}
69 %attr(755,root,root) %{extensionsdir}/%{_modname}.so