packages: php-pear-Math_BigInteger/php-pear-Math_BigInteger.spec (NEW) - new

glen glen at pld-linux.org
Fri Aug 20 21:37:11 CEST 2010


Author: glen                         Date: Fri Aug 20 19:37:11 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/php-pear-Math_BigInteger:
   php-pear-Math_BigInteger.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/php-pear-Math_BigInteger/php-pear-Math_BigInteger.spec
diff -u /dev/null packages/php-pear-Math_BigInteger/php-pear-Math_BigInteger.spec:1.1
--- /dev/null	Fri Aug 20 21:37:11 2010
+++ packages/php-pear-Math_BigInteger/php-pear-Math_BigInteger.spec	Fri Aug 20 21:37:06 2010
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.php
+%define		_status		stable
+%define		_pearname	Math_BigInteger
+Summary:	%{_pearname} - Pure-PHP arbitrary precission integer arithmetic library
+Name:		php-pear-%{_pearname}
+Version:	1.0.0
+Release:	1
+License:	LGPL License
+Group:		Development/Languages/PHP
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5:	ac8566d24862d24131a040b0c9a6d86b
+URL:		http://pear.php.net/package/Math_BigInteger/
+BuildRequires:	php-pear-PEAR
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+Requires:	php-pear
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Supports base-2, base-10, base-16, and base-256 numbers. Uses the GMP
+or BCMath extensions, if available, and an internal implementation,
+otherwise.
+
+In PEAR status of this package is: %{_status}.
+
+%prep
+%pear_package_setup
+
+install -d examples
+mv .%{php_pear_dir}/Math/BigInteger/demo/* examples
+
+%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
+
+%files
+%defattr(644,root,root,755)
+%doc install.log
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Math/BigInteger.php
+
+%{_examplesdir}/%{name}-%{version}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/08/20 19:37:06  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list