]> git.pld-linux.org Git - packages/php-symfony2-Icu.git/blobdiff - php-symfony2-Icu.spec
up to 1.2.2, add autoload.php
[packages/php-symfony2-Icu.git] / php-symfony2-Icu.spec
index d529e554b71f2d0da0ddf37d13006adfd82d2a2b..717198546a62f2b191aeddeeda08d49d07d43d85 100644 (file)
@@ -3,13 +3,14 @@
 %include       /usr/lib/rpm/macros.php
 Summary:       Symfony2 Icu Component
 Name:          php-symfony2-Icu
-Version:       1.2.1
+Version:       1.2.2
 Release:       1
 License:       MIT
 Group:         Development/Languages/PHP
-Source0:       https://github.com/symfony/Icu/archive/v%{version}/%{pearname}-%{version}.tar.gz
-# Source0-md5: c607b356cb6e817e7ea14ddd0f4ca307
+Source0:       https://github.com/symfony/%{pearname}/archive/v%{version}/%{pearname}-%{version}.tar.gz
+# Source0-md5: 66893e27c0d49f8d829c7791b0a947e6
 URL:           https://github.com/symfony/Icu
+BuildRequires: phpab
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
 BuildRequires: rpmbuild(macros) >= 1.610
 Requires:      libicu >= 4.4
@@ -29,10 +30,13 @@ through the API of the Intl component.
 
 mv Resources/data/*.txt .
 
+%build
+phpab -n -e '*/Tests/*' -o autoload.php .
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/Icu
-cp -a Icu*.php Resources $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/Icu
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{pearname}
+cp -a Icu*.php Resources $RPM_BUILD_ROOT%{php_pear_dir}/Symfony/Component/%{pearname}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.026064 seconds and 4 git commands to generate.