packages: php-pear-Payment_Process/php-pear-Payment_Process.spec - up to 0.6.8
glen
glen at pld-linux.org
Tue Nov 16 15:24:03 CET 2010
Author: glen Date: Tue Nov 16 14:24:03 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.6.8
---- Files affected:
packages/php-pear-Payment_Process:
php-pear-Payment_Process.spec (1.21 -> 1.22)
---- Diffs:
================================================================
Index: packages/php-pear-Payment_Process/php-pear-Payment_Process.spec
diff -u packages/php-pear-Payment_Process/php-pear-Payment_Process.spec:1.21 packages/php-pear-Payment_Process/php-pear-Payment_Process.spec:1.22
--- packages/php-pear-Payment_Process/php-pear-Payment_Process.spec:1.21 Sat Aug 21 21:08:22 2010
+++ packages/php-pear-Payment_Process/php-pear-Payment_Process.spec Tue Nov 16 15:23:58 2010
@@ -1,33 +1,31 @@
# $Revision$, $Date$
%include /usr/lib/rpm/macros.php
-%define _class Payment
-%define _subclass Process
%define _status beta
-%define _pearname %{_class}_%{_subclass}
+%define _pearname Payment_Process
Summary: %{_pearname} - unified payment processor
Summary(pl.UTF-8): %{_pearname} - zunifikowany procesor zapłat
Name: php-pear-%{_pearname}
-Version: 0.6.6
-Release: 2
+Version: 0.6.8
+Release: 1
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 8137979f1f965ed0d94fa07755125836
+# Source0-md5: 5a6467693eace7bc89a8ce4de4e3bff3
URL: http://pear.php.net/package/Payment_Process/
-BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
+BuildRequires: php-pear-PEAR >= 1:1.4.11
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
Requires: php-common >= 3:4.2.0
Requires: php-pear
-Requires: php-pear-Validate >= 0.5.0
-Requires: php-pear-Validate_Finance_CreditCard >= 0.5.0
+Requires: php-pear-Validate >= 0.6.2
+Requires: php-pear-Validate_Finance_CreditCard >= 0.5.2
Suggests: php-pear-Net_Curl
Suggests: php-pear-XML_Parser
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# exclude optional dependencies
-%define _noautoreq 'pear(XML/Parser.*)' 'pear(Net/Curl.*)'
+%define _noautoreq pear(XML/Parser.*) pear(Net/Curl.*)
%description
Payment_Process is a gateway-independent framework for processing
@@ -46,11 +44,25 @@
%prep
%pear_package_setup
+mv docs/%{_pearname}/examples .
+
+install -d docs
+mv .%{php_pear_dir}/data/Payment_Process/TODO docs/%{_pearname}
+
+# what are those really? examples or classes?
+mv .%{php_pear_dir}/docs/Payment_Process/Process examples
+
+# package.xml for Payment_Process_Litle (wtf is it doing here?)
+rm .%{php_pear_dir}/data/Payment_Process/package_Litle.xml
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_pear_dir}
%pear_package_install
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -64,8 +76,10 @@
%doc install.log
%doc docs/%{_pearname}/*
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/Payment/*.php
+%{php_pear_dir}/Payment/Process
+
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -73,6 +87,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.22 2010/11/16 14:23:58 glen
+- up to 0.6.8
+
Revision 1.21 2010/08/21 19:08:22 glen
- updated deps with pearize.sh
- release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Payment_Process/php-pear-Payment_Process.spec?r1=1.21&r2=1.22&f=u
More information about the pld-cvs-commit
mailing list