]> git.pld-linux.org Git - packages/php-pecl-xslcache.git/blobdiff - php-pecl-xslcache.spec
- obsolete old php name
[packages/php-pecl-xslcache.git] / php-pecl-xslcache.spec
index b4ea45d78b13abf0ffc0ed7b9fb0cca53eb0463b..f0482ea26e10b590a70c48962cf3064091100cb5 100644 (file)
@@ -1,23 +1,21 @@
-#
-# Conditional build:
-%bcond_without tests           # build without tests
-
-%define                modname xslcache
+%define                php_name        php%{?php_suffix}
+%define                modname         xslcache
 Summary:       %{modname} - A modification of PHP's standard XSL extension that caches the parsed XSL stylesheet representation
 Summary(pl.UTF-8):     %{modname} - modyfikacja standardowego rozszerzenia XSL PHP, które buforuje przetworzone reprezentacje arkuszów stylów XSL
-Name:          php-pecl-%{modname}
-Version:       0.7.1
-Release:       2
+Name:          %{php_name}-pecl-%{modname}
+Version:       0.7.2
+Release:       4
 License:       PHP 3.01
 Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
-# Source0-md5: 1e32327f62122055ece6f78fa2b851b2
+# Source0-md5: 8c8570503baf7c9711f2d7bf842c292d
 URL:           http://pecl.php.net/package/xslcache
+BuildRequires: %{php_name}-devel >= 3:5.0.4
 BuildRequires: libxslt-devel >= 1.1.0
-BuildRequires: php-devel >= 3:5.0.0
-BuildRequires: rpmbuild(macros) >= 1.519
+BuildRequires: rpmbuild(macros) >= 1.650
 %{?requires_php_extension}
-Requires:      php-common >= 4:5.0.4
+Provides:      php(%{modname}) = %{version}
+Obsoletes:     php-pecl-xslcache < 0.7.2-3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,11 +34,11 @@ mv %{modname}-%{version}/* .
 %build
 phpize
 %configure \
-       --with-xslcache=%{_libdir} \
-       --with-xsl-exsl-dir=%{_libdir}
+       --with-xslcache=%{_libdir}
 %{__make}
 
 %install
+rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
 
 %{__make} install \
This page took 0.034152 seconds and 4 git commands to generate.