]> git.pld-linux.org Git - SPECS.git/blob - php-pdepend-PHP_Depend.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / php-pdepend-PHP_Depend.spec
1 %define         status          stable
2 %define         pearname        PHP_Depend
3 Summary:        PHP_Depend design quality metrics for PHP packages
4 Name:           php-pdepend-PHP_Depend
5 Version:        1.1.4
6 Release:        1
7 License:        BSD License
8 Group:          Development/Languages/PHP
9 Source0:        http://pear.pdepend.org/get/%{pearname}-%{version}.tgz
10 # Source0-md5:  2a026025e6d7e85020ef50b0d28638bb
11 URL:            http://pear.pdepend.org/package/PHP_Depend/
12 BuildRequires:  php-channel(pear.pdepend.org)
13 BuildRequires:  php-pear-PEAR
14 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
15 BuildRequires:  rpmbuild(macros) >= 1.610
16 Requires:       php(dom)
17 Requires:       php(pcre)
18 Requires:       php(simplexml)
19 Requires:       php(spl)
20 Requires:       php(tokenizer)
21 Requires:       php-channel(pear.pdepend.org)
22 Requires:       php-pear
23 Suggests:       php(imagick)
24 Obsoletes:      php-pdepend-PHP-Depend
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 PHP_Depend is an adaption of the Java design quality metrics software
30 JDepend and the NDepend metric tool.
31
32 In PEAR status of this package is: %{status}.
33
34 %prep
35 %pear_package_setup
36 mv docs/PHP_Depend/* .
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir}}
41 %pear_package_install
42 install -p ./%{_bindir}/* $RPM_BUILD_ROOT%{_bindir}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc CHANGELOG LICENSE install.log
50 %{php_pear_dir}/.registry/.channel.*/*.reg
51 %attr(755,root,root) %{_bindir}/pdepend
52 %{php_pear_dir}/PHP/Depend.php
53 %{php_pear_dir}/PHP/Depend
This page took 0.132912 seconds and 3 git commands to generate.