]>
Commit | Line | Data |
---|---|---|
ea510379 ER |
1 | %define status stable |
2 | %define pearname Version | |
3 | %include /usr/lib/rpm/macros.php | |
debde027 | 4 | Summary: Managing the version number of Git-hosted PHP projects |
ea510379 ER |
5 | Name: php-phpunit-Version |
6 | Version: 1.0.1 | |
7 | Release: 1 | |
8 | License: The BSD 3-Clause License | |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.phpunit.de/get/%{pearname}-%{version}.tgz | |
11 | # Source0-md5: 2f946dfc4e1c84d676a46c9364c81825 | |
12 | URL: http://pear.phpunit.de/package/Version/ | |
13 | BuildRequires: php-channel(pear.phpunit.de) | |
14 | BuildRequires: php-packagexml2cl | |
15 | BuildRequires: php-pear-PEAR | |
16 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
17 | BuildRequires: rpmbuild(macros) >= 1.610 | |
18 | Requires: php-channel(pear.phpunit.de) | |
19 | Requires: php-pear | |
20 | BuildArch: noarch | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Library that helps with managing the version number of Git-hosted PHP | |
25 | projects | |
26 | ||
27 | In PEAR status of this package is: %{status}. | |
28 | ||
29 | %prep | |
30 | %pear_package_setup | |
31 | ||
32 | %build | |
33 | packagexml2cl package.xml > ChangeLog | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
38 | %pear_package_install | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc ChangeLog install.log | |
46 | %doc docs/Version/* | |
47 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
48 | %dir %{php_pear_dir}/SebastianBergmann | |
49 | %{php_pear_dir}/SebastianBergmann/Version |