]> git.pld-linux.org Git - packages/php-symfony2-Icu.git/blame - php-symfony2-Icu.spec
new, version 1.2.0
[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
6Version: 1.2.0
7Release: 1
8License: MIT
9Group: Development/Languages/PHP
10Source0: https://github.com/symfony/Icu/archive/v%{version}/%{pearname}-%{version}.tar.gz
11# Source0-md5: c8f4620029e716602d3c0699a0ae2569
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}
17Requires: php-pear >= 4:1.3.10
18Requires: php-symfony2-Intl >= 2.3
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Contains the data of the ICU library in a specific version. Use it
24through the API of the Intl component.
25
26%prep
27%setup -q -n %{pearname}-%{version}
28
29mv Resources/data/*.txt .
30
31%install
32rm -rf $RPM_BUILD_ROOT
33install -d $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/Icu
34cp -a Icu*.php Resources $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/Icu
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(644,root,root,755)
41%doc LICENSE README.md *.txt
42%dir %{php_pear_dir}/Symfony/Component/Icu
43%{php_pear_dir}/Symfony/Component/Icu/IcuCurrencyBundle.php
44%{php_pear_dir}/Symfony/Component/Icu/IcuData.php
45%{php_pear_dir}/Symfony/Component/Icu/IcuLanguageBundle.php
46%{php_pear_dir}/Symfony/Component/Icu/IcuLocaleBundle.php
47%{php_pear_dir}/Symfony/Component/Icu/IcuRegionBundle.php
48
49%dir %{php_pear_dir}/Symfony/Component/Icu/Resources
50%dir %{php_pear_dir}/Symfony/Component/Icu/Resources/data
51%dir %{php_pear_dir}/Symfony/Component/Icu/Resources/data/curr
52%dir %{php_pear_dir}/Symfony/Component/Icu/Resources/data/lang
53%dir %{php_pear_dir}/Symfony/Component/Icu/Resources/data/locales
54%dir %{php_pear_dir}/Symfony/Component/Icu/Resources/data/region
55
56# TODO: lang tags
57%{php_pear_dir}/Symfony/Component/Icu/Resources/data/curr/*.res
58%{php_pear_dir}/Symfony/Component/Icu/Resources/data/lang/*.res
59%{php_pear_dir}/Symfony/Component/Icu/Resources/data/locales/*.res
60%{php_pear_dir}/Symfony/Component/Icu/Resources/data/region/*.res
This page took 0.10602 seconds and 4 git commands to generate.