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