]> git.pld-linux.org Git - packages/php-symfony2-Form.git/blame - php-symfony2-Form.spec
up to 2.7.3-lts
[packages/php-symfony2-Form.git] / php-symfony2-Form.spec
CommitLineData
854ebfae
ER
1%define package Form
2%define php_min_version 5.3.9
7bacec39 3%include /usr/lib/rpm/macros.php
285ba2c7 4Summary: Symfony2 Form Component
7bacec39 5Name: php-symfony2-Form
854ebfae 6Version: 2.7.3
7bacec39
ER
7Release: 1
8License: MIT
9Group: Development/Languages/PHP
854ebfae
ER
10Source0: https://github.com/symfony/%{package}/archive/v%{version}/%{package}-%{version}.tar.gz
11# Source0-md5: 08892ca4339bc41ef747482d5e5aa500
12URL: http://symfony.com/doc/2.7/components/form/index.html
082e4f34 13BuildRequires: phpab
7bacec39
ER
14BuildRequires: rpm-php-pearprov >= 4.4.2-11
15BuildRequires: rpmbuild(macros) >= 1.610
16Requires: php(core) >= %{php_min_version}
57d083b5
ER
17Requires: php(ctype)
18Requires: php(date)
19Requires: php(hash)
20Requires: php(json)
21Requires: php(mbstring)
22Requires: php(pcre)
23Requires: php(session)
24Requires: php(spl)
7bacec39 25Requires: php-pear >= 4:1.3.10
39d89700
ER
26Requires: php-symfony2-EventDispatcher >= 2.1
27Requires: php-symfony2-Intl >= 2.3
854ebfae 28Requires: php-symfony2-OptionsResolver >= 2.6
39d89700 29Requires: php-symfony2-PropertyAccess >= 2.3
57d083b5
ER
30Suggests: php-symfony2-FrameworkBundle
31Suggests: php-symfony2-Security
32Suggests: php-symfony2-TwigBridge
39d89700 33Suggests: php-symfony2-Validator
7bacec39
ER
34BuildArch: noarch
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%description
285ba2c7
ER
38Form provides tools for defining forms, rendering and mapping request
39data to related models. Furthermore it provides integration with the
40Validation component.
7bacec39
ER
41
42%prep
854ebfae 43%setup -q -n %{package}-%{version}
7bacec39 44
082e4f34 45%build
dafce359 46phpab -n -e '*/Tests/*' -o autoloader.php .
7bacec39
ER
47
48%install
49rm -rf $RPM_BUILD_ROOT
854ebfae
ER
50install -d $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}
51cp -a *.php */ $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}
52rm -r $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}/Tests
53rm -r $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{package}/Test
7bacec39
ER
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
082e4f34 60%doc CHANGELOG.md LICENSE README.md
7bacec39
ER
61%dir %{php_pear_dir}/Symfony/Component/Form
62%{php_pear_dir}/Symfony/Component/Form/*.php
7bacec39
ER
63%{php_pear_dir}/Symfony/Component/Form/Exception
64%{php_pear_dir}/Symfony/Component/Form/Extension
65%{php_pear_dir}/Symfony/Component/Form/Guess
66%{php_pear_dir}/Symfony/Component/Form/Util
67
68%dir %{php_pear_dir}/Symfony/Component/Form/Resources
69%{php_pear_dir}/Symfony/Component/Form/Resources/config
70
71%dir %{php_pear_dir}/Symfony/Component/Form/Resources/translations
285ba2c7 72%lang(ar) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.ar.xlf
7bacec39
ER
73%lang(bg) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.bg.xlf
74%lang(ca) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.ca.xlf
75%lang(cs) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.cs.xlf
76%lang(da) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.da.xlf
77%lang(de) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.de.xlf
285ba2c7 78%lang(el) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.el.xlf
7bacec39
ER
79%lang(en) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.en.xlf
80%lang(es) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.es.xlf
81%lang(et) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.et.xlf
82%lang(eu) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.eu.xlf
83%lang(fa) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.fa.xlf
84%lang(fi) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.fi.xlf
85%lang(fr) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.fr.xlf
285ba2c7 86%lang(gl) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.gl.xlf
7bacec39
ER
87%lang(he) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.he.xlf
88%lang(hr) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.hr.xlf
89%lang(hu) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.hu.xlf
90%lang(hy) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.hy.xlf
91%lang(id) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.id.xlf
92%lang(it) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.it.xlf
93%lang(ja) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.ja.xlf
94%lang(lb) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.lb.xlf
95%lang(lt) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.lt.xlf
285ba2c7 96%lang(lv) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.lv.xlf
7bacec39
ER
97%lang(mn) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.mn.xlf
98%lang(nb) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.nb.xlf
99%lang(nl) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.nl.xlf
100%lang(pl) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.pl.xlf
101%lang(pt) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.pt.xlf
102%lang(pt_BR) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.pt_BR.xlf
103%lang(ro) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.ro.xlf
104%lang(ru) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.ru.xlf
105%lang(sk) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.sk.xlf
106%lang(sl) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.sl.xlf
285ba2c7 107%lang(sr@cyrillic) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.sr_Cyrl.xlf
7bacec39
ER
108%lang(sr@latin) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.sr_Latn.xlf
109%lang(sv) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.sv.xlf
57d083b5 110%lang(uk) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.uk.xlf
7bacec39 111%lang(zh_CN) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.zh_CN.xlf
This page took 0.078667 seconds and 4 git commands to generate.