]>
Commit | Line | Data |
---|---|---|
14e70fac ER |
1 | %define status stable |
2 | %define pearname YAML | |
3 | Summary: %{pearname} - The Symfony YAML Component | |
4 | Name: php-symfony-YAML | |
7933f136 | 5 | Version: 1.0.6 |
14e70fac ER |
6 | Release: 1 |
7 | License: MIT license | |
8 | Group: Development/Languages/PHP | |
9 | Source0: http://pear.symfony-project.com/get/%{pearname}-%{version}.tgz | |
7933f136 | 10 | # Source0-md5: 9f010ddb236e1495ad3b9c42fbab9223 |
14e70fac ER |
11 | URL: http://pear.symfony-project.com/package/YAML/ |
12 | BuildRequires: php-channel(pear.symfony-project.com) | |
13 | BuildRequires: php-packagexml2cl | |
14 | BuildRequires: php-pear-PEAR | |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
16 | BuildRequires: rpmbuild(macros) >= 1.580 | |
17 | Requires: php-channel(pear.symfony-project.com) | |
18 | Requires: php-pear | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | The Symfony YAML Component. | |
24 | ||
25 | In PEAR status of this package is: %{status}. | |
26 | ||
27 | %prep | |
28 | %pear_package_setup | |
29 | ||
30 | %build | |
31 | packagexml2cl package.xml > ChangeLog | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
36 | %pear_package_install | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc ChangeLog install.log | |
44 | %doc docs/YAML/* | |
45 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
46 | # XXX: who owns | |
47 | %dir %{php_pear_dir}/SymfonyComponents | |
48 | %{php_pear_dir}/SymfonyComponents/YAML |