[packages/php-symfony2-Form] up to 2.3.4
glen
glen at pld-linux.org
Mon Sep 23 22:41:11 CEST 2013
commit 285ba2c752c829a067ca9b2d4d2f05bf1ec92a91
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Sep 23 22:26:28 2013 +0300
up to 2.3.4
php-symfony2-Form.spec | 32 +++++++++++++++-----------------
1 file changed, 15 insertions(+), 17 deletions(-)
---
diff --git a/php-symfony2-Form.spec b/php-symfony2-Form.spec
index d487d09..e1789a7 100644
--- a/php-symfony2-Form.spec
+++ b/php-symfony2-Form.spec
@@ -1,15 +1,14 @@
-%define status stable
%define pearname Form
%define php_min_version 5.3.3
%include /usr/lib/rpm/macros.php
-Summary: %{pearname} - Symfony2 Form Component
+Summary: Symfony2 Form Component
Name: php-symfony2-Form
-Version: 2.1.6
+Version: 2.3.4
Release: 1
License: MIT
Group: Development/Languages/PHP
Source0: http://pear.symfony.com/get/%{pearname}-%{version}.tgz
-# Source0-md5: 5e8d5383cc4b290580d839245664f46c
+# Source0-md5: 1e60577089acf33e5d91d9852b77635b
URL: http://pear.symfony.com/package/Form/
BuildRequires: php-channel(pear.symfony.com)
BuildRequires: php-pear-PEAR >= 1:1.4.0
@@ -26,21 +25,19 @@ BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Symfony2 Form Component
-
-In PEAR status of this package is: %{status}.
+Form provides tools for defining forms, rendering and mapping request
+data to related models. Furthermore it provides integration with the
+Validation component.
%prep
%pear_package_setup
# no packaging of tests
-rm -r .%{php_pear_dir}/Symfony/Component/%{pearname}/Tests
-rm .%{php_pear_dir}/Symfony/Component/%{pearname}/phpunit.xml.dist
+mv .%{php_pear_dir}/Symfony/Component/%{pearname}/Tests .
+mv .%{php_pear_dir}/Symfony/Component/%{pearname}/Test .
+mv .%{php_pear_dir}/Symfony/Component/%{pearname}/phpunit.xml.dist .
# fixups
-mv .%{php_pear_dir}/Symfony/Component/%{pearname}/CHANGELOG.md .
-rm .%{php_pear_dir}/Symfony/Component/%{pearname}/.gitattributes
-rm .%{php_pear_dir}/Symfony/Component/%{pearname}/.gitignore
mv docs/%{pearname}/Symfony/Component/%{pearname}/* .
%install
@@ -57,7 +54,6 @@ rm -rf $RPM_BUILD_ROOT
%{php_pear_dir}/.registry/.channel.*/*.reg
%dir %{php_pear_dir}/Symfony/Component/Form
%{php_pear_dir}/Symfony/Component/Form/*.php
-%{php_pear_dir}/Symfony/Component/Form/Event
%{php_pear_dir}/Symfony/Component/Form/Exception
%{php_pear_dir}/Symfony/Component/Form/Extension
%{php_pear_dir}/Symfony/Component/Form/Guess
@@ -67,11 +63,13 @@ rm -rf $RPM_BUILD_ROOT
%{php_pear_dir}/Symfony/Component/Form/Resources/config
%dir %{php_pear_dir}/Symfony/Component/Form/Resources/translations
+%lang(ar) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.ar.xlf
%lang(bg) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.bg.xlf
%lang(ca) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.ca.xlf
%lang(cs) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.cs.xlf
%lang(da) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.da.xlf
%lang(de) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.de.xlf
+%lang(el) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.el.xlf
%lang(en) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.en.xlf
%lang(es) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.es.xlf
%lang(et) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.et.xlf
@@ -79,6 +77,7 @@ rm -rf $RPM_BUILD_ROOT
%lang(fa) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.fa.xlf
%lang(fi) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.fi.xlf
%lang(fr) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.fr.xlf
+%lang(gl) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.gl.xlf
%lang(he) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.he.xlf
%lang(hr) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.hr.xlf
%lang(hu) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.hu.xlf
@@ -88,6 +87,7 @@ rm -rf $RPM_BUILD_ROOT
%lang(ja) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.ja.xlf
%lang(lb) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.lb.xlf
%lang(lt) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.lt.xlf
+%lang(lv) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.lv.xlf
%lang(mn) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.mn.xlf
%lang(nb) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.nb.xlf
%lang(nl) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.nl.xlf
@@ -98,10 +98,8 @@ rm -rf $RPM_BUILD_ROOT
%lang(ru) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.ru.xlf
%lang(sk) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.sk.xlf
%lang(sl) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.sl.xlf
-# XXX verify
-%lang(sr at cyrl) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.sr_Cyrl.xlf
+%lang(sr at cyrillic) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.sr_Cyrl.xlf
%lang(sr at latin) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.sr_Latn.xlf
%lang(sv) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.sv.xlf
-# XXX ru_UA ?
-%lang(ua) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.ua.xlf
+%lang(uk) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.ua.xlf
%lang(zh_CN) %{php_pear_dir}/Symfony/Component/Form/Resources/translations/validators.zh_CN.xlf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-Form.git/commitdiff/285ba2c752c829a067ca9b2d4d2f05bf1ec92a91
More information about the pld-cvs-commit
mailing list