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

adamg adamg at pld-linux.org
Thu Nov 1 13:10:18 CET 2007


Author: adamg                        Date: Thu Nov  1 12:10:18 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/php-pear-Math_Combinatorics.spec
diff -u /dev/null SPECS/php-pear-Math_Combinatorics.spec:1.1
--- /dev/null	Thu Nov  1 13:10:18 2007
+++ SPECS/php-pear-Math_Combinatorics.spec	Thu Nov  1 13:10:13 2007
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.php
+%define		_class		Math
+%define		_subclass	Combinatorics
+%define		_status		stable
+%define		_pearname	Math_Combinatorics
+Summary:	%{_pearname} - A package that produces combinations and permutations
+Summary(pl.UTF-8):	%{_pearname} - pakiet do generowania kombinacji oraz permutacji
+Name:		php-pear-%{_pearname}
+Version:	1.0.0
+Release:	0.1
+License:	LGPL
+Group:		Development/Languages/PHP
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5:	5b8faac5e40d0bcf74e09b046d4733dc
+URL:		http://pear.php.net/package/Math_Combinatorics/
+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
+A package that returns all the combinations and permutations, without
+repetition, of a given set and subset size. Associative arrays are
+preserved.
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl.UTF-8
+Pakiet ten zwraca wszystkie kombinacje oraz permutacje bez powtórzeń z
+zadanego zbioru oraz rozmiaru podzbioru. Tablice asocjacyjne są
+zachowane.
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%package tests
+Summary:	Tests for PEAR::%{_pearname}
+Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
+Group:		Development/Languages/PHP
+AutoReq:	no
+Requires:	%{name} = %{version}-%{release}
+AutoProv:	no
+
+%description tests
+Tests for PEAR::%{_pearname}.
+
+%description tests -l pl.UTF-8
+Testy dla PEAR::%{_pearname}.
+
+%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
+
+%files
+%defattr(644,root,root,755)
+%doc install.log docs/Math_Combinatorics/docs/examples
+%{php_pear_dir}/.registry/*.reg
+%{php_pear_dir}/Math/Combinatorics.php
+
+%files tests
+%defattr(644,root,root,755)
+%{php_pear_dir}/tests/Math_Combinatorics
+
+%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  2007/11/01 12:10:13  adamg
+- new
+
================================================================


More information about the pld-cvs-commit mailing list