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