packages: php-phpunit-PHP_Timer/php-phpunit-PHP_Timer.spec (NEW) - initial ...
glen
glen at pld-linux.org
Wed Oct 20 08:27:04 CEST 2010
Author: glen Date: Wed Oct 20 06:27:04 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- initial from pear make-rpm-spec
---- Files affected:
packages/php-phpunit-PHP_Timer:
php-phpunit-PHP_Timer.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/php-phpunit-PHP_Timer/php-phpunit-PHP_Timer.spec
diff -u /dev/null packages/php-phpunit-PHP_Timer/php-phpunit-PHP_Timer.spec:1.1
--- /dev/null Wed Oct 20 08:27:04 2010
+++ packages/php-phpunit-PHP_Timer/php-phpunit-PHP_Timer.spec Wed Oct 20 08:26:58 2010
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.php
+%define status stable
+%define pearname PHP_Timer
+Summary: %{pearname} - Utility class for timing
+Name: php-phpunit-PHP_Timer
+Version: 1.0.0
+Release: 1
+License: BSD License
+Group: Development/Languages/PHP
+Source0: http://pear.phpunit.de/get/%{pearname}-%{version}.tgz
+# Source0-md5: aee6ce1de0a75bd0b914c7344a97113e
+URL: http://pear.phpunit.de/package/PHP_Timer/
+BuildRequires: php-channel(pear.phpunit.de)
+BuildRequires: php-packagexml2cl
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.580
+Requires: php-channel(pear.phpunit.de)
+Requires: php-pear
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Utility class for timing.
+
+In PEAR status of this package is: %{status}.
+
+%prep
+%pear_package_setup
+
+%build
+packagexml2cl package.xml > ChangeLog
+
+%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 ChangeLog install.log
+%{php_pear_dir}/.registry/.channel.*/*.reg
+%{php_pear_dir}/PHP/Timer.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 2010/10/20 06:26:58 glen
+- initial from pear make-rpm-spec
================================================================
More information about the pld-cvs-commit
mailing list