packages: php-pecl-funcall/php-pecl-funcall.spec - unify

glen glen at pld-linux.org
Thu Jun 3 20:29:51 CEST 2010


Author: glen                         Date: Thu Jun  3 18:29:51 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- unify

---- Files affected:
packages/php-pecl-funcall:
   php-pecl-funcall.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/php-pecl-funcall/php-pecl-funcall.spec
diff -u packages/php-pecl-funcall/php-pecl-funcall.spec:1.5 packages/php-pecl-funcall/php-pecl-funcall.spec:1.6
--- packages/php-pecl-funcall/php-pecl-funcall.spec:1.5	Wed Jun  2 17:52:51 2010
+++ packages/php-pecl-funcall/php-pecl-funcall.spec	Thu Jun  3 20:29:45 2010
@@ -1,39 +1,38 @@
 # $Revision$, $Date$
-%define		_modname	funcall
-%define		_status		stable
-Summary:	%{_modname} - Add callbacks for any function/method
-Summary(pl.UTF-8):	%{_modname} - odwołania dla dowolnej funkcji / metody
-Name:		php-pecl-%{_modname}
+%define		modname	funcall
+%define		status		stable
+Summary:	%{modname} - Add callbacks for any function/method
+Summary(pl.UTF-8):	%{modname} - odwołania dla dowolnej funkcji / metody
+Name:		php-pecl-%{modname}
 Version:	0.2.5
 Release:	2
 License:	New BSD
 Group:		Development/Languages/PHP
-Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
+Source0:	http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5:	0c4f2a989d3b21f1dab56b9959fb9fe8
 URL:		http://pecl.php.net/package/funcall/
-BuildRequires:	php-devel >= 3:5.0.0
+BuildRequires:	php-devel >= 4:5.0.4
 BuildRequires:	rpmbuild(macros) >= 1.344
 %{?requires_php_extension}
-Requires:	php-common >= 4:5.0.4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Call callbacks before or after specified functions/methods being
 called.
 
-In PECL status of this extension is: %{_status}.
+In PECL status of this extension is: %{status}.
 
 %description -l pl.UTF-8
 Rozszerzenie to pozwala na wykonywanie odwołań przed lub po wywołaniu
 określonej funkcji / metody.
 
-To rozszerzenie ma w PECL status: %{_status}.
+To rozszerzenie ma w PECL status: %{status}.
 
 %prep
-%setup -q -c
+%setup -qc
+mv %{modname}-%{version}/* .
 
 %build
-cd %{_modname}-%{version}
 phpize
 %configure
 %{__make}
@@ -43,12 +42,11 @@
 install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
 
 %{__make} install \
-	-C %{_modname}-%{version} \
-	INSTALL_ROOT=$RPM_BUILD_ROOT \
-	EXTENSION_DIR=%{php_extensiondir}
-cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
-; Enable %{_modname} extension module
-extension=%{_modname}.so
+	EXTENSION_DIR=%{php_extensiondir} \
+	INSTALL_ROOT=$RPM_BUILD_ROOT
+cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
+; Enable %{modname} extension module
+extension=%{modname}.so
 EOF
 
 %clean
@@ -64,9 +62,9 @@
 
 %files
 %defattr(644,root,root,755)
-%doc %{_modname}-%{version}/{TODO,funcall.php}
-%config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/%{_modname}.ini
-%attr(755,root,root) %{php_extensiondir}/%{_modname}.so
+%doc TODO funcall.php
+%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 +72,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/06/03 18:29:45  glen
+- unify
+
 Revision 1.5  2010/06/02 15:52:51  glen
 - release 2
 
================================================================

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



More information about the pld-cvs-commit mailing list