template-specs: php-pecl.spec - update

glen glen at pld-linux.org
Fri Jun 26 01:28:16 CEST 2009


Author: glen                         Date: Thu Jun 25 23:28:16 2009 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- update

---- Files affected:
template-specs:
   php-pecl.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: template-specs/php-pecl.spec
diff -u template-specs/php-pecl.spec:1.29 template-specs/php-pecl.spec:1.30
--- template-specs/php-pecl.spec:1.29	Sat Apr 11 20:46:54 2009
+++ template-specs/php-pecl.spec	Fri Jun 26 01:28:11 2009
@@ -1,14 +1,17 @@
 # $Revision$, $Date$
-%define		_modname	-
-%define		_status		-
-Summary:	%{_modname} -
-Summary(pl.UTF-8):	%{_modname} -
-Name:		php-pecl-%{_modname}
+#
+# Conditional build:
+%bcond_without	tests		# build without tests
+
+%define		modname	-
+Summary:	%{modname} -
+Summary(pl.UTF-8):	%{modname} -
+Name:		php-pecl-%{modname}
 Version:	1.0
 Release:	1
 License:	PHP 3.01
 Group:		Development/Languages/PHP
-Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
+Source0:	http://pecl.php.net/get/%{modname}-%{version}.tgz
 URL:		http://pecl.php.net/package/Modname/
 BuildRequires:	php-devel >= 3:5.0.0
 BuildRequires:	rpmbuild(macros) >= 1.344
@@ -18,15 +21,11 @@
 
 %description
 
-In PECL status of this extension is: %{_status}.
-
 %description -l pl.UTF-8
 
-To rozszerzenie ma w PECL status: %{_status}.
-
 %prep
 %setup -q -c
-mv %{_modname}-%{version}/* .
+mv %{modname}-%{version}/* .
 
 %build
 phpize
@@ -40,9 +39,9 @@
 %{__make} install \
 	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
+cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
+; Enable %{modname} extension module
+extension=%{modname}.so
 EOF
 
 %clean
@@ -59,8 +58,8 @@
 %files
 %defattr(644,root,root,755)
 %doc CREDITS EXPERIMENTAL
-%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
@@ -68,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2009/06/25 23:28:11  glen
+- update
+
 Revision 1.29  2009/04/11 18:46:54  glen
 - php license version
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/php-pecl.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list