[packages/php-symfony2-Icu] up to 1.2.2, add autoload.php
glen
glen at pld-linux.org
Mon Aug 4 12:40:15 CEST 2014
commit 8e17266a61b67d583ab5ce41a987a36364020945
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Aug 4 13:40:11 2014 +0300
up to 1.2.2, add autoload.php
php-symfony2-Icu.spec | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/php-symfony2-Icu.spec b/php-symfony2-Icu.spec
index d529e55..7171985 100644
--- a/php-symfony2-Icu.spec
+++ b/php-symfony2-Icu.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony2-Icu.git/commitdiff/8e17266a61b67d583ab5ce41a987a36364020945
More information about the pld-cvs-commit
mailing list