]> git.pld-linux.org Git - packages/php-symfony2-Icu.git/blame - php-symfony2-Icu.spec
add deprecation note
[packages/php-symfony2-Icu.git] / php-symfony2-Icu.spec
CommitLineData
dc97cf7b
ER
1# NOTE:
2# [DEPRECATED] This repository only exists for BC compatibility with old
3# versions of Symfony. Recent versions comes with ICU data.
4
9c67ce6c
ER
5%define pearname Icu
6%define php_min_version 5.3.3
7%include /usr/lib/rpm/macros.php
8Summary: Symfony2 Icu Component
9Name: php-symfony2-Icu
8e17266a 10Version: 1.2.2
9c67ce6c
ER
11Release: 1
12License: MIT
13Group: Development/Languages/PHP
8e17266a
ER
14Source0: https://github.com/symfony/%{pearname}/archive/v%{version}/%{pearname}-%{version}.tar.gz
15# Source0-md5: 66893e27c0d49f8d829c7791b0a947e6
9c67ce6c 16URL: https://github.com/symfony/Icu
8e17266a 17BuildRequires: phpab
9c67ce6c
ER
18BuildRequires: rpm-php-pearprov >= 4.4.2-11
19BuildRequires: rpmbuild(macros) >= 1.610
20Requires: libicu >= 4.4
21Requires: php(core) >= %{php_min_version}
86af750c 22Requires: php(ctype)
9c67ce6c
ER
23Requires: php-pear >= 4:1.3.10
24Requires: php-symfony2-Intl >= 2.3
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Contains the data of the ICU library in a specific version. Use it
30through the API of the Intl component.
31
32%prep
33%setup -q -n %{pearname}-%{version}
34
35mv Resources/data/*.txt .
36
8e17266a 37%build
9746439b 38phpab -n -e '*/Tests/*' -o autoloader.php .
8e17266a 39
9c67ce6c
ER
40%install
41rm -rf $RPM_BUILD_ROOT
8e17266a
ER
42install -d $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{pearname}
43cp -a Icu*.php Resources $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{pearname}
9c67ce6c
ER
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc LICENSE README.md *.txt
51%dir %{php_pear_dir}/Symfony/Component/Icu
52%{php_pear_dir}/Symfony/Component/Icu/IcuCurrencyBundle.php
53%{php_pear_dir}/Symfony/Component/Icu/IcuData.php
54%{php_pear_dir}/Symfony/Component/Icu/IcuLanguageBundle.php
55%{php_pear_dir}/Symfony/Component/Icu/IcuLocaleBundle.php
56%{php_pear_dir}/Symfony/Component/Icu/IcuRegionBundle.php
57
58%dir %{php_pear_dir}/Symfony/Component/Icu/Resources
59%dir %{php_pear_dir}/Symfony/Component/Icu/Resources/data
60%dir %{php_pear_dir}/Symfony/Component/Icu/Resources/data/curr
61%dir %{php_pear_dir}/Symfony/Component/Icu/Resources/data/lang
62%dir %{php_pear_dir}/Symfony/Component/Icu/Resources/data/locales
63%dir %{php_pear_dir}/Symfony/Component/Icu/Resources/data/region
64
65# TODO: lang tags
66%{php_pear_dir}/Symfony/Component/Icu/Resources/data/curr/*.res
67%{php_pear_dir}/Symfony/Component/Icu/Resources/data/lang/*.res
68%{php_pear_dir}/Symfony/Component/Icu/Resources/data/locales/*.res
69%{php_pear_dir}/Symfony/Component/Icu/Resources/data/region/*.res
This page took 0.876729 seconds and 4 git commands to generate.