]> git.pld-linux.org Git - packages/php4-pecl-tidy.git/blobdiff - php4-pecl-tidy.spec
- use new php/zend api macros
[packages/php4-pecl-tidy.git] / php4-pecl-tidy.spec
index 25f57c16281e01dce79cc1dc40b37300289f102a..39a04c2aea33184b29fe17536a9d96e8574b2e37 100644 (file)
@@ -7,18 +7,17 @@ Summary:      %{_modname} - Tidy HTML Repairing and Parsing
 Summary(pl):   %{_modname} - Czyszczenie, naprawa oraz parsowanie HTML
 Name:          php4-pecl-%{_modname}
 Version:       1.1
-Release:       0.1
+Release:       1
 License:       PHP
 Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{_modname}-%{version}.tgz
 # Source0-md5: ecb2d3c62e1d720265a65dfb7e00e081
 URL:           http://pecl.php.net/package/tidy/
-BuildRequires: libtool
 BuildRequires: php4-devel
+BuildRequires: rpmbuild(macros) >= 1.238
 BuildRequires: tidy-devel
-BuildRequires: rpmbuild(macros) >= 1.230
+%requires_php_extension
 Requires:      %{_sysconfdir}/conf.d
-%requires_eq_to php4-common php4-devel
 Obsoletes:     php-pear-%{_modname}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -32,9 +31,9 @@ In PECL status of this package is: %{_status}.
 
 %description -l pl
 Tidy jest dowi±zaniem do narzêdzia "Tidy HTML clean and repair", które
-pozwala nie tylko na czyszczenie oraz manipulacjê dokumentami HTML, ale
-tak¿e na przemierzanie przez strukturê dokumentu za pomoc± zorientowanej
-obiektowo semantyki silnika Zend Engine 2.
+pozwala nie tylko na czyszczenie oraz manipulacjê dokumentami HTML,
+ale tak¿e na przemierzanie przez strukturê dokumentu za pomoc±
+zorientowanej obiektowo semantyki silnika Zend Engine 2.
 
 To rozszerzenie ma w PECL status: %{_status}.
 
@@ -52,8 +51,7 @@ rm -rf $RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
 
-cd %{_modname}-%{version}
-%{__make} install \
+%{__make} -C %{_modname}-%{version} install \
        INSTALL_ROOT=$RPM_BUILD_ROOT
 
 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/%{_modname}.ini
@@ -76,5 +74,6 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/%{_modname}.ini
+%doc %{_modname}-%{version}/{CREDITS,TODO,README}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/%{_modname}.ini
 %attr(755,root,root) %{extensionsdir}/%{_modname}.so
This page took 0.080771 seconds and 4 git commands to generate.