Author: glen                         Date: Wed Jun  2 15:26:12 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2.0.0

---- Files affected:
packages/php-pecl-phar:
   php-pecl-phar.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/php-pecl-phar/php-pecl-phar.spec
diff -u packages/php-pecl-phar/php-pecl-phar.spec:1.4 
packages/php-pecl-phar/php-pecl-phar.spec:1.5
--- packages/php-pecl-phar/php-pecl-phar.spec:1.4       Thu Aug 20 09:15:24 2009
+++ packages/php-pecl-phar/php-pecl-phar.spec   Wed Jun  2 17:26:07 2010
@@ -1,15 +1,15 @@
 # $Revision$, $Date$
-%define                _modname        phar
-%define                _status         stable
+%define                modname phar
+%define                status          stable
 Summary:       Extension to run complete applications out of .phar files (like 
Java .jar files)
 Summary(pl.UTF-8):     Rozszerzenie do uruchamianie gotowych aplikacji z 
plików .phar (podobnych do .jar w Javie)
-Name:          php-pecl-%{_modname}
+Name:          php-pecl-%{modname}
 Version:       2.0.0
 Release:       1
 License:       PHP 3.01
 Group:         Development/Languages/PHP
-Source0:       http://pecl.php.net/get/%{_modname}-%{version}.tgz
-# Source0-md5: fdba10432216c22c19cf8a86b3de56b9
+Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
+# Source0-md5: 3344fc9759a80faac12aa95e4a0436c5
 URL:           http://pecl.php.net/package/phar/
 BuildRequires: php-devel >= 3:5.0.0
 BuildRequires: rpmbuild(macros) >= 1.344
@@ -37,7 +37,7 @@
 PECL extension hash is avaiable then SHA-256 and SHA-512 signatures
 are supported as well.
 
-In PECL status of this extension is: %{_status}.
+In PECL status of this extension is: %{status}.
 
 %description -l pl.UTF-8
 To rozszerzenie to odpowiednik klasy PEAR PHP_Archive. Obsługa metod
@@ -57,13 +57,13 @@
 rozszerzenie PECL hash jest dostępne, możliwe jest także korzystanie
 ze skrótów SHA-256 oraz SHA-512.
 
-To rozszerzenie ma w PECL status: %{_status}.
+To rozszerzenie ma w PECL status: %{status}.
 
 %prep
-%setup -q -c
+%setup -qc
+mv %{modname}-%{version}/* .
 
 %build
-cd %{_modname}-%{version}
 phpize
 %configure
 %{__make}
@@ -73,12 +73,11 @@
 install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
 
 %{__make} install \
-       -C %{_modname}-%{version} \
-       INSTALL_ROOT=$RPM_BUILD_ROOT \
-       EXTENSION_DIR=%{php_extensiondir}
-cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
-; Enable %{_modname} extension module
-extension=%{_modname}.so
+       EXTENSION_DIR=%{php_extensiondir} \
+       INSTALL_ROOT=$RPM_BUILD_ROOT
+cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
+; Enable %{modname} extension module
+extension=%{modname}.so
 EOF
 
 %clean
@@ -94,9 +93,9 @@
 
 %files
 %defattr(644,root,root,755)
-%doc %{_modname}-%{version}/{CREDITS,TODO}
-%config(noreplace) %verify(not md5 mtime size) 
%{php_sysconfdir}/conf.d/%{_modname}.ini
-%attr(755,root,root) %{php_extensiondir}/%{_modname}.so
+%doc CREDITS TODO
+%config(noreplace) %verify(not md5 mtime size) 
%{php_sysconfdir}/conf.d/%{modname}.ini
+%attr(755,root,root) %{php_extensiondir}/%{modname}.so
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -104,6 +103,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/06/02 15:26:07  glen
+- up to 2.0.0
+
 Revision 1.4  2009/08/20 07:15:24  amateja
 - licence fixed
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pecl-phar/php-pecl-phar.spec?r1=1.4&r2=1.5&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to