SPECS: php-pear-Math_Polynomial.spec (NEW) - new

adamg adamg at pld-linux.org
Mon Sep 4 14:09:32 CEST 2006


Author: adamg                        Date: Mon Sep  4 12:09:32 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   php-pear-Math_Polynomial.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/php-pear-Math_Polynomial.spec
diff -u /dev/null SPECS/php-pear-Math_Polynomial.spec:1.1
--- /dev/null	Mon Sep  4 14:09:32 2006
+++ SPECS/php-pear-Math_Polynomial.spec	Mon Sep  4 14:09:27 2006
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.php
+%define		_class		Math
+%define		_subclass	Polynomial
+%define		_status		beta
+%define		_pearname	Math_Polynomial
+
+Summary:	%{_pearname} - Package to represent and manipulate Polynomial equations
+Summary(pl):	%{_pearname} - Pakiet do wyświetlania oraz obróbki równań wielomianowych
+Name:		php-pear-%{_pearname}
+Version:	0.1.0
+Release:	1
+License:	BSD
+Group:		Development/Languages/PHP
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5:	21bc1af0141743e5aa3d6683b1cf40b0
+URL:		http://pear.php.net/package/Math_Polynomial/
+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)
+
+%define		_noautoreq	'pear(Math/Numerical/RootFinding.*)'
+
+%description
+The class Math_Polynomial represents Polynomial equations built from
+strings or from other Polynomial objects and offers some basic
+information about each Polynomial equation.
+
+The Math_PolynomialOp class defines operations on Math_Polynomial
+objects such as add, multiply, divide, etc.
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl
+Klasa Math_Polynomial przedstawia równania wielomianowe stworzone z
+łańcuców znaków lub z innych obiektów klasy Math_Polynomial oraz
+umożliwia wyświetlenie pewnych podstawowych informacji na temat
+każdego równania.
+
+Klasa Math_PolynomialOp definiuje operacje takie jak dodawanie,
+mnożenie czy dzielenie na obiektach klasy Math_Polynomial.
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%prep
+%pear_package_setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
+	cat %{_docdir}/%{name}-%{version}/optional-packages.txt
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc install.log optional-packages.txt
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Math/Polynomial.php
+%{php_pear_dir}/Math/PolynomialOp.php
+%{php_pear_dir}/Math/doc/Polynomial_examples.php
+%{php_pear_dir}/Math/test/PolynomialTest.php
+%{php_pear_dir}/Math/Polynomial/PolynomialTerm.php
+
+%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  2006/09/04 12:09:27  adamg
+- new
+
================================================================


More information about the pld-cvs-commit mailing list