[packages/php-symfony2-Locale] up to 2.3.4; deprecated as of 2.3
glen
glen at pld-linux.org
Mon Sep 23 22:41:24 CEST 2013
commit 1b66e13c5f746ae90bf01c58c14db0a367c4337f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Sep 23 22:37:38 2013 +0300
up to 2.3.4; deprecated as of 2.3
php-symfony2-Locale.spec | 44 +++++++++++++-------------------------------
1 file changed, 13 insertions(+), 31 deletions(-)
---
diff --git a/php-symfony2-Locale.spec b/php-symfony2-Locale.spec
index 04c699a..758c724 100644
--- a/php-symfony2-Locale.spec
+++ b/php-symfony2-Locale.spec
@@ -1,16 +1,15 @@
-%define status stable
%define pearname Locale
%define php_min_version 5.3.3
%include /usr/lib/rpm/macros.php
-Summary: %{pearname} - Symfony2 Locale Component
+Summary: Symfony2 Locale Component
Name: php-symfony2-Locale
-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: ba9335048f0b3fbe7625e58771bd6bdc
-URL: http://symfony.com/doc/current/components/locale.html
+# Source0-md5: adb78ff97232f68c2e1e7097fbd0b146
+URL: http://symfony.com/doc/2.2/components/locale.html
BuildRequires: php-channel(pear.symfony.com)
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
@@ -18,25 +17,27 @@ BuildRequires: rpmbuild(macros) >= 1.610
Requires: php(core) >= %{php_min_version}
Requires: php-channel(pear.symfony.com)
Requires: php-pear >= 4:1.3.10
+Requires: php-symfony2-Intl >= 2.3
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Symfony2 Locale Component
+Locale component provides fallback code to handle cases when the intl
+extension is missing. Additionally it extends the implementation of a
+native Locale class with several handy methods.
-In PEAR status of this package is: %{status}.
+The Locale component is deprecated since version 2.3 and will be
+removed in Symfony 3.0. You should use the more capable Intl component
+instead.
%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}/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
@@ -55,22 +56,3 @@ rm -rf $RPM_BUILD_ROOT
%{php_pear_dir}/Symfony/Component/Locale/*.php
%{php_pear_dir}/Symfony/Component/Locale/Stub
%{php_pear_dir}/Symfony/Component/Locale/Exception
-%dir %{php_pear_dir}/Symfony/Component/Locale/Resources
-%{php_pear_dir}/Symfony/Component/Locale/Resources/stubs
-%dir %{php_pear_dir}/Symfony/Component/Locale/Resources/data
-%dir %{php_pear_dir}/Symfony/Component/Locale/Resources/data/49
-%dir %{php_pear_dir}/Symfony/Component/Locale/Resources/data/49/lang
-%dir %{php_pear_dir}/Symfony/Component/Locale/Resources/data/49/locales
-%dir %{php_pear_dir}/Symfony/Component/Locale/Resources/data/49/names
-%dir %{php_pear_dir}/Symfony/Component/Locale/Resources/data/49/region
-
-# XXX %lang tags
-%{php_pear_dir}/Symfony/Component/Locale/Resources/data/49/lang/*.res
-%{php_pear_dir}/Symfony/Component/Locale/Resources/data/49/locales/*.res
-%{php_pear_dir}/Symfony/Component/Locale/Resources/data/49/names/*.res
-%{php_pear_dir}/Symfony/Component/Locale/Resources/data/49/region/*.res
-%{php_pear_dir}/Symfony/Component/Locale/Resources/data/49/stub
-%{php_pear_dir}/Symfony/Component/Locale/Resources/data/49/svn-info.txt
-%{php_pear_dir}/Symfony/Component/Locale/Resources/data/UPDATE.txt
-%{php_pear_dir}/Symfony/Component/Locale/Resources/data/build-data.php
-%{php_pear_dir}/Symfony/Component/Locale/Resources/data/icu.ini
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-Locale.git/commitdiff/1b66e13c5f746ae90bf01c58c14db0a367c4337f
More information about the pld-cvs-commit
mailing list