[packages/php-phpunit-phpcpd] new, version 1.4.3
glen
glen at pld-linux.org
Tue Sep 24 23:17:21 CEST 2013
commit 4e23d041e3c9d3095b445869bb2c118c6f9d213d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Sep 25 00:16:42 2013 +0300
new, version 1.4.3
php-phpunit-phpcpd.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
---
diff --git a/php-phpunit-phpcpd.spec b/php-phpunit-phpcpd.spec
new file mode 100644
index 0000000..d2337ba
--- /dev/null
+++ b/php-phpunit-phpcpd.spec
@@ -0,0 +1,55 @@
+%define status stable
+%define pearname phpcpd
+%include /usr/lib/rpm/macros.php
+Summary: Copy/Paste Detector (CPD) for PHP code
+Name: php-phpunit-phpcpd
+Version: 1.4.3
+Release: 1
+License: The BSD 3-Clause License
+Group: Development/Languages/PHP
+Source0: http://pear.phpunit.de/get/%{pearname}-%{version}.tgz
+# Source0-md5: f668c6787aaa4f4395b4ff08624961f0
+URL: http://pear.phpunit.de/package/phpcpd/
+BuildRequires: php-channel(pear.phpunit.de)
+BuildRequires: php-packagexml2cl
+BuildRequires: php-pear-PEAR >= 1:1.9.4
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.610
+Requires: php(tokenizer)
+Requires: php-channel(pear.phpunit.de)
+Requires: php-ezc-ConsoleTools >= 1.6
+Requires: php-pear
+Requires: php-phpunit-FinderFacade >= 1.0.4
+Requires: php-phpunit-PHP_Timer <= 1.0.99
+Requires: php-phpunit-Version >= 1.0.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Copy/Paste Detector (CPD) for PHP code.
+
+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},%{_bindir}}
+%pear_package_install
+install -p ./%{_bindir}/* $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog install.log
+%doc docs/phpcpd/*
+%{php_pear_dir}/.registry/.channel.*/*.reg
+%attr(755,root,root) %{_bindir}/phpcpd
+%dir %{php_pear_dir}/SebastianBergmann
+%{php_pear_dir}/SebastianBergmann/PHPCPD
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-phpunit-phpcpd.git/commitdiff/4e23d041e3c9d3095b445869bb2c118c6f9d213d
More information about the pld-cvs-commit
mailing list