[packages/php-symfony2-Intl] new, version 2.3.4
glen
glen at pld-linux.org
Mon Sep 23 22:43:04 CEST 2013
commit 4573fc82de6c45a073af81984ef9998482ae0d2c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Sep 23 22:51:41 2013 +0300
new, version 2.3.4
php-symfony2-Intl.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
---
diff --git a/php-symfony2-Intl.spec b/php-symfony2-Intl.spec
new file mode 100644
index 0000000..ca611d5
--- /dev/null
+++ b/php-symfony2-Intl.spec
@@ -0,0 +1,71 @@
+%define pearname Intl
+%define php_min_version 5.3.3
+%include /usr/lib/rpm/macros.php
+Summary: Symfony2 Intl Component
+Name: php-symfony2-Intl
+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/intl.html
+BuildRequires: php-channel(pear.symfony.com)
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.674
+Requires: php(core) >= %{php_min_version}
+Requires: php-channel(pear.symfony.com)
+Requires: php-pear >= 4:1.3.10
+# Icu not available via PEAR channel, only in git: https://github.com/symfony/Icu
+#Requires: php-symfony2-Icu
+Suggests: php(intl)
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A PHP replacement layer for the C intl extension that also provides
+access to the localization data of the ICU library.
+
+The replacement layer is limited to the locale "en". If you want to
+use other locales, you should install the intl extension instead.
+
+%prep
+%pear_package_setup
+
+# no packaging of tests
+mv .%{php_pear_dir}/Symfony/Component/%{pearname}/Tests .
+mv .%{php_pear_dir}/Symfony/Component/%{pearname}/phpunit.xml.dist .
+
+# dev tools
+mv .%{php_pear_dir}/Symfony/Component/Intl/Resources/bin .
+
+# fixups
+mv docs/%{pearname}/Symfony/Component/%{pearname}/* .
+mv .%{php_pear_dir}/Symfony/Component/Intl/CONTRIBUTING.md .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.md CONTRIBUTING.md install.log
+%{php_pear_dir}/.registry/.channel.*/*.reg
+%dir %{php_pear_dir}/Symfony/Component/Intl
+%{php_pear_dir}/Symfony/Component/Intl/*.php
+%{php_pear_dir}/Symfony/Component/Intl/Collator
+%{php_pear_dir}/Symfony/Component/Intl/DateFormatter
+%{php_pear_dir}/Symfony/Component/Intl/Exception
+%{php_pear_dir}/Symfony/Component/Intl/Globals
+%{php_pear_dir}/Symfony/Component/Intl/Locale
+%{php_pear_dir}/Symfony/Component/Intl/NumberFormatter
+%{php_pear_dir}/Symfony/Component/Intl/ResourceBundle
+%{php_pear_dir}/Symfony/Component/Intl/Util
+
+%dir %{php_pear_dir}/Symfony/Component/Intl/Resources
+%{php_pear_dir}/Symfony/Component/Intl/Resources/stubs
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-Intl.git/commitdiff/4573fc82de6c45a073af81984ef9998482ae0d2c
More information about the pld-cvs-commit
mailing list