Author: glen                         Date: Sun Dec 25 20:55:35 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build with cvs snapshot. does it work? no clue

---- Files affected:
SPECS:
   php-pecl-dio.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/php-pecl-dio.spec
diff -u SPECS/php-pecl-dio.spec:1.5 SPECS/php-pecl-dio.spec:1.6
--- SPECS/php-pecl-dio.spec:1.5 Sat Oct 29 02:05:14 2005
+++ SPECS/php-pecl-dio.spec     Sun Dec 25 21:55:30 2005
@@ -1,22 +1,24 @@
 # $Revision$, $Date$
 %define                _modname        dio
-%define                _status         stable
+%define                _status         beta
 %define                _sysconfdir     /etc/php
 %define                extensionsdir   %(php-config --extension-dir 
2>/dev/null)
 Summary:       %{_modname} - Direct I/O functions
 Summary(pl):   %{_modname} - funkcje bezpośredniego we/wy
 Name:          php-pecl-%{_modname}
-Version:       not-yet
-Release:       1
+Version:       5.0
+%define        _rc rc1
+Release:       0.%{_rc}.1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
-Source0:       http://pecl.php.net/get/%{_modname}-%{version}.tgz
-# Source0-md5: ee90a55b753975faac607f4230ece2b4
+#Source0:      http://pecl.php.net/get/%{_modname}-%{version}.tgz
+Source0:       %{_modname}.tgz
+# Source0-md5: b926091229d356253f9f30f99e1e2253
 URL:           http://pecl.php.net/package/dio/
-BuildRequires: libxml2-devel
 BuildRequires: php-devel >= 3:5.0.0
 BuildRequires: rpmbuild(macros) >= 1.254
 %{?requires_php_extension}
+Obsoletes:     php-dio
 Requires:      %{_sysconfdir}/conf.d
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -42,19 +44,20 @@
 To rozszerzenie ma w PECL status: %{_status}.
 
 %prep
-%setup -q -c
+%setup -q -n %{_modname}
 
 %build
-cd %{_modname}-%{version}
 phpize
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/conf.d,%{extensionsdir}}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
 
-install %{_modname}-%{version}/modules/%{_modname}.so 
$RPM_BUILD_ROOT%{extensionsdir}
+%{__make} install \
+       INSTALL_ROOT=$RPM_BUILD_ROOT \
+       EXTENSION_DIR=%{extensionsdir}
 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/%{_modname}.ini
 ; Enable %{_modname} extension module
 extension=%{_modname}.so
@@ -84,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/12/25 20:55:30  glen
+- build with cvs snapshot. does it work? no clue
+
 Revision 1.5  2005/10/29 00:05:14  glen
 - rebuild with zts and debug requires
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pecl-dio.spec?r1=1.5&r2=1.6&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to