SPECS: PHPTAL.spec - updated to 1.0.10, requires nothing else than...

glen glen at pld-linux.org
Fri Dec 30 14:25:13 CET 2005


Author: glen                         Date: Fri Dec 30 13:25:13 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.0.10, requires nothing else than PHP5 (according to README)
- using PEAR build system
- NB! this module and php-Algo_map, php-GetText, php-Types are NOT required by current mediawiki. remove this and them from ftp?

---- Files affected:
SPECS:
   PHPTAL.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/PHPTAL.spec
diff -u SPECS/PHPTAL.spec:1.5 SPECS/PHPTAL.spec:1.6
--- SPECS/PHPTAL.spec:1.5	Fri May  6 10:41:48 2005
+++ SPECS/PHPTAL.spec	Fri Dec 30 14:25:08 2005
@@ -1,22 +1,21 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
-%define		_snap		dev1
+%define		_class		PHPTAL
+%define		_status		beta
+%define		_pearname	%{_class}
 
 Summary:	PHPTAL is an implementation of Zope Page Templates (ZPT) for PHP
 Summary(pl):	PHPTAL jest implementacją Zope Page Templates (ZPT) w PHP
 Name:		PHPTAL
-Version:	1.0.0
-Release:	0.%{_snap}.6
-License:	PHP 2.02
+Version:	1.0.10
+Release:	0.2
+License:	LGPL
 Group:		Development/Languages/PHP
-Source0:	http://dl.sourceforge.net/phptal/%{name}-%{version}%{_snap}.tar.gz
-# Source0-md5:	151f4bb4799d8c8fe6646a25f6069897
-URL:		http://phptal.sourceforge.net/
-BuildRequires:	rpm-php-pearprov >= 4.0.2-98
-Requires:	php-GetText
-Requires:	php-Types
-Requires:	php-Algo_map
-Requires:	php >= 3:5.0.0
+Source0:	http://phptal.motion-twin.com/files/%{name}-%{version}.tar.gz
+# Source0-md5:	eddd23d8c4165bdea9317205082bdf08
+URL:		http://phptal.motion-twin.com/
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+Requires:	php-common >= 3:5.0.0
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,20 +26,23 @@
 PHPTAL jest implementacją Zope Page Templates (ZPT) w PHP.
 
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{name}
-
-cp -rf %{name}-%{version}%{_snap}/* $RPM_BUILD_ROOT%{php_pear_dir}/%{name}
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%{php_pear_dir}/%{name}
+%doc install.log
+%doc docs/%{_pearname}/README
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/%{_class}
+%{php_pear_dir}/%{_class}.php
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -48,6 +50,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/12/30 13:25:08  glen
+- updated to 1.0.10, requires nothing else than PHP5 (according to README)
+- using PEAR build system
+- NB! this module and php-Algo_map, php-GetText, php-Types are NOT required by current mediawiki. remove this and them from ftp?
+
 Revision 1.5  2005/05/06 08:41:48  glen
 - correct php epoch
 
================================================================

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



More information about the pld-cvs-commit mailing list