]> git.pld-linux.org Git - packages/php-symfony2-Locale.git/commitdiff
up to 2.3.4; deprecated as of 2.3 auto/th/php-symfony2-Locale-2.3.4-1
authorElan Ruusamäe <glen@delfi.ee>
Mon, 23 Sep 2013 19:37:38 +0000 (22:37 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 23 Sep 2013 20:39:59 +0000 (23:39 +0300)
php-symfony2-Locale.spec

index 04c699a54dd922d5a072fb0ffadfdd5a22a70651..758c72474d6952f07f5f0a8b37751ff440eaaea2 100644 (file)
@@ -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
This page took 0.08824 seconds and 4 git commands to generate.