packages: php-pecl-memtrack/php-pecl-memtrack.spec - up to 0.2.0

glen glen at pld-linux.org
Wed Jun 2 17:30:41 CEST 2010


Author: glen                         Date: Wed Jun  2 15:30:41 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.2.0

---- Files affected:
packages/php-pecl-memtrack:
   php-pecl-memtrack.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/php-pecl-memtrack/php-pecl-memtrack.spec
diff -u packages/php-pecl-memtrack/php-pecl-memtrack.spec:1.3 packages/php-pecl-memtrack/php-pecl-memtrack.spec:1.4
--- packages/php-pecl-memtrack/php-pecl-memtrack.spec:1.3	Sun Apr 26 19:20:09 2009
+++ packages/php-pecl-memtrack/php-pecl-memtrack.spec	Wed Jun  2 17:30:35 2010
@@ -1,15 +1,15 @@
 # $Revision$, $Date$
-%define		_modname	memtrack
-%define		_status		beta
-Summary:	%{_modname} - watch memory consumption in PHP scripts
-Summary(pl.UTF-8):	%{_modname} - monitorowanie zużycia pamięci w skryptach PHP
-Name:		php-pecl-%{_modname}
-Version:	0.1.0
-Release:	2
+%define		modname	memtrack
+%define		status		beta
+Summary:	%{modname} - watch memory consumption in PHP scripts
+Summary(pl.UTF-8):	%{modname} - monitorowanie zużycia pamięci w skryptach PHP
+Name:		php-pecl-%{modname}
+Version:	0.2.0
+Release:	1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
-Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
-# Source0-md5:	d9de34a4e603cd7f68e874b04492125e
+Source0:	http://pecl.php.net/get/%{modname}-%{version}.tgz
+# Source0-md5:	5f50c25acbff5e90b31229215fe22c50
 Source1:	%{name}.ini
 URL:		http://pecl.php.net/package/memtrack/
 BuildRequires:	php-devel >= 3:5.0.0
@@ -23,18 +23,18 @@
 scripts and produces reports (warnings) when memory usage reaches
 certain levels set by the user.
 
-In PECL status of this extension is: %{_status}.
+In PECL status of this extension is: %{status}.
 
 %description -l pl.UTF-8
 memtrack to rozszerzenie PHP śledzące zużycie pamięci w skryptach PHP
 i generujące raport (ostrzeżenia) w przypadku przekroczenia
 określonych przez użytkownika wartości.
 
-To rozszerzenie ma w PECL status: %{_status}.
+To rozszerzenie ma w PECL status: %{status}.
 
 %prep
-%setup -q -c
-mv %{_modname}-%{version}/* .
+%setup -qc
+mv %{modname}-%{version}/* .
 
 %build
 phpize
@@ -46,10 +46,10 @@
 install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
 
 %{__make} install \
-	INSTALL_ROOT=$RPM_BUILD_ROOT \
-	EXTENSION_DIR=%{php_extensiondir}
+	EXTENSION_DIR=%{php_extensiondir} \
+	INSTALL_ROOT=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -65,8 +65,8 @@
 %files
 %defattr(644,root,root,755)
 %doc README
-%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{_modname}.ini
-%attr(755,root,root) %{php_extensiondir}/%{_modname}.so
+%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{modname}.ini
+%attr(755,root,root) %{php_extensiondir}/%{modname}.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -74,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/06/02 15:30:35  glen
+- up to 0.2.0
+
 Revision 1.3  2009/04/26 17:20:09  adamg
 - license fixes Andrzej Mateja <amateja () pimpek.one.pl>
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pecl-memtrack/php-pecl-memtrack.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list