SPECS: php4-mcache.spec - add real example

glen glen at pld-linux.org
Tue Apr 25 20:44:32 CEST 2006


Author: glen                         Date: Tue Apr 25 18:44:32 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add real example

---- Files affected:
SPECS:
   php4-mcache.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/php4-mcache.spec
diff -u SPECS/php4-mcache.spec:1.19 SPECS/php4-mcache.spec:1.20
--- SPECS/php4-mcache.spec:1.19	Fri Feb  3 23:58:14 2006
+++ SPECS/php4-mcache.spec	Tue Apr 25 20:44:27 2006
@@ -3,17 +3,18 @@
 %define		_sysconfdir	/etc/php4
 %define		extensionsdir	%(php-config --extension-dir 2>/dev/null)
 
+%define		_beta	beta10
+%define		_rel	2
 Summary:	mcache PHP Extension
 Summary(pl):	Rozszerzenie PHP mcache
 Name:		php4-%{_name}
 Version:	1.2.0
-%define		_beta	beta10
-%define		_rel	1
 Release:	0.%{_beta}.%{_rel}
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://www.klir.com/~johnm/php-mcache/php-mcache-ext-%{version}-%{_beta}.tar.gz
 # Source0-md5:	b8c77e53d2c2af75411f574f7ed5e3b7
+Source1:	php4-mcache.php
 URL:		http://www.klir.com/~johnm/php-mcache/
 BuildRequires:	libmemcache-devel >= 1.3.0
 BuildRequires:	php4-devel
@@ -64,6 +65,7 @@
 %setup -q -n php-%{_name}-ext-%{version}%{?_beta:-%{_beta}}
 
 %build
+cp %{SOURCE1} example.php
 phpize
 %configure \
 	--with-mcache \
@@ -97,8 +99,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README index.html
-%doc mcache.php
+%doc README index.html example.php
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/%{_name}.ini
 %attr(755,root,root) %{extensionsdir}/mcache.so
 
@@ -108,6 +109,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2006/04/25 18:44:27  glen
+- add real example
+
 Revision 1.19  2006/02/03 22:58:14  glen
 - fix postun
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php4-mcache.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list