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