]> git.pld-linux.org Git - packages/php-symfony2-DependencyInjection.git/blame - php-symfony2-DependencyInjection.spec
up to 2.4.8, use github source
[packages/php-symfony2-DependencyInjection.git] / php-symfony2-DependencyInjection.spec
CommitLineData
a14994f6
ER
1%define pearname DependencyInjection
2%define php_min_version 5.3.3
3%include /usr/lib/rpm/macros.php
ded721e0 4Summary: Symfony2 DependencyInjection Component
a14994f6 5Name: php-symfony2-DependencyInjection
1901b94c 6Version: 2.4.8
a14994f6
ER
7Release: 1
8License: MIT
9Group: Development/Languages/PHP
1901b94c
ER
10Source0: https://github.com/symfony/%{pearname}/archive/v%{version}/%{pearname}-%{version}.tar.gz
11# Source0-md5: 8657e364dcacef18b1bcf2096e7e2885
d1e1cd04 12URL: http://symfony.com/doc/2.4/components/dependency_injection/index.html
1901b94c 13BuildRequires: phpab
a14994f6
ER
14BuildRequires: rpm-php-pearprov >= 4.4.2-11
15BuildRequires: rpmbuild(macros) >= 1.610
16Requires: php(core) >= %{php_min_version}
517eaf20
ER
17Requires: php(dom)
18Requires: php(pcre)
19Requires: php(simplexml)
20Requires: php(spl)
a14994f6
ER
21Requires: php-pear >= 4:1.3.10
22Suggests: php-symfony2-Config
517eaf20 23Suggests: php-symfony2-ProxyManagerBridge
a14994f6
ER
24Suggests: php-symfony2-Yaml
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
ded721e0
ER
29The Dependency Injection component allows you to standardize and
30centralize the way objects are constructed in your application.
a14994f6
ER
31
32%prep
1901b94c 33%setup -q -n %{pearname}-%{version}
a14994f6 34
1901b94c
ER
35%build
36phpab -n -e '*/Tests/*' -o autoload.php .
a14994f6
ER
37
38%install
39rm -rf $RPM_BUILD_ROOT
1901b94c
ER
40install -d $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{pearname}
41cp -a *.php */ $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{pearname}
42rm -r $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{pearname}/Tests
a14994f6
ER
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
1901b94c 49%doc CHANGELOG.md LICENSE README.md
a14994f6
ER
50%dir %{php_pear_dir}/Symfony/Component/DependencyInjection
51%{php_pear_dir}/Symfony/Component/DependencyInjection/*.php
52%{php_pear_dir}/Symfony/Component/DependencyInjection/Compiler
53%{php_pear_dir}/Symfony/Component/DependencyInjection/Dumper
54%{php_pear_dir}/Symfony/Component/DependencyInjection/Exception
55%{php_pear_dir}/Symfony/Component/DependencyInjection/Extension
ded721e0 56%{php_pear_dir}/Symfony/Component/DependencyInjection/LazyProxy
a14994f6
ER
57%{php_pear_dir}/Symfony/Component/DependencyInjection/Loader
58%{php_pear_dir}/Symfony/Component/DependencyInjection/ParameterBag
This page took 0.092253 seconds and 4 git commands to generate.