]>
Commit | Line | Data |
---|---|---|
248cd343 ER |
1 | %define pearname Security |
2 | %define php_min_version 5.3.3 | |
3 | %include /usr/lib/rpm/macros.php | |
2eb2f16f | 4 | Summary: Symfony2 Security Component |
248cd343 | 5 | Name: php-symfony2-Security |
2eb2f16f | 6 | Version: 2.3.4 |
248cd343 ER |
7 | Release: 1 |
8 | License: MIT | |
9 | Group: Development/Languages/PHP | |
10 | Source0: http://pear.symfony.com/get/%{pearname}-%{version}.tgz | |
2eb2f16f | 11 | # Source0-md5: c8865a5a757454cf11cbb5fb4c00a886 |
248cd343 ER |
12 | URL: http://pear.symfony.com/package/Security/ |
13 | BuildRequires: php-channel(pear.symfony.com) | |
14 | BuildRequires: php-pear-PEAR >= 1:1.4.0 | |
15 | BuildRequires: rpm-php-pearprov >= 4.4.2-11 | |
16 | BuildRequires: rpmbuild(macros) >= 1.610 | |
17 | Requires: php(core) >= %{php_min_version} | |
18 | Requires: php-channel(pear.symfony.com) | |
19 | Requires: php-pear >= 4:1.3.10 | |
06391337 ER |
20 | Requires: php-symfony2-EventDispatcher >= 2.1 |
21 | Requires: php-symfony2-HttpFoundation >= 2.1 | |
22 | Requires: php-symfony2-HttpKernel >= 2.1 | |
248cd343 ER |
23 | Suggests: php-symfony2-ClassLoader |
24 | Suggests: php-symfony2-Finder | |
25 | Suggests: php-symfony2-Form | |
26 | Suggests: php-symfony2-Routing | |
06391337 | 27 | Suggests: php-symfony2-Validator |
248cd343 ER |
28 | BuildArch: noarch |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
2eb2f16f | 32 | Provides an infrastructure for sophisticated authorization systems. |
248cd343 ER |
33 | |
34 | %prep | |
35 | %pear_package_setup | |
36 | ||
37 | # no packaging of tests | |
2eb2f16f ER |
38 | mv .%{php_pear_dir}/Symfony/Component/%{pearname}/Tests . |
39 | mv .%{php_pear_dir}/Symfony/Component/%{pearname}/phpunit.xml.dist . | |
248cd343 ER |
40 | |
41 | # fixups | |
248cd343 ER |
42 | mv docs/%{pearname}/Symfony/Component/%{pearname}/* . |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | install -d $RPM_BUILD_ROOT%{php_pear_dir} | |
47 | %pear_package_install | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc CHANGELOG.md LICENSE README.md install.log | |
55 | %{php_pear_dir}/.registry/.channel.*/*.reg | |
56 | %dir %{php_pear_dir}/Symfony/Component/Security | |
2eb2f16f | 57 | %{php_pear_dir}/Symfony/Component/Security/*.php |
248cd343 ER |
58 | %{php_pear_dir}/Symfony/Component/Security/Acl |
59 | %{php_pear_dir}/Symfony/Component/Security/Core | |
60 | %{php_pear_dir}/Symfony/Component/Security/Http | |
2eb2f16f ER |
61 | |
62 | %dir %{php_pear_dir}/Symfony/Component/Security/Resources | |
63 | %dir %{php_pear_dir}/Symfony/Component/Security/Resources/translations | |
64 | %lang(ar) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.ar.xlf | |
65 | %lang(ca) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.ca.xlf | |
66 | %lang(cs) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.cs.xlf | |
67 | %lang(da) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.da.xlf | |
68 | %lang(de) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.de.xlf | |
69 | %lang(el) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.el.xlf | |
70 | %lang(en) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.en.xlf | |
71 | %lang(es) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.es.xlf | |
72 | %lang(fa) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.fa.xlf | |
73 | %lang(fr) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.fr.xlf | |
74 | %lang(gl) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.gl.xlf | |
75 | %lang(hu) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.hu.xlf | |
76 | %lang(it) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.it.xlf | |
77 | %lang(lb) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.lb.xlf | |
78 | %lang(nl) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.nl.xlf | |
79 | %lang(no) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.no.xlf | |
80 | %lang(pl) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.pl.xlf | |
81 | %lang(pt_BR) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.pt_BR.xlf | |
82 | %lang(pt_PT) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.pt_PT.xlf | |
83 | %lang(ro) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.ro.xlf | |
84 | %lang(ru) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.ru.xlf | |
85 | %lang(sk) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.sk.xlf | |
86 | %lang(sl) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.sl.xlf | |
87 | %lang(sr@cyrillic) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.sr_Cyrl.xlf | |
88 | %lang(sr@latin) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.sr_Latn.xlf | |
89 | %lang(sv) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.sv.xlf | |
90 | %lang(tr) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.tr.xlf | |
91 | %lang(uk) %{php_pear_dir}/Symfony/Component/Security/Resources/translations/security.ua.xlf |