SPECS: phing.spec - install to pear dir; restore /usr/bin/php dep
glen
glen at pld-linux.org
Mon Aug 18 16:04:55 CEST 2008
Author: glen Date: Mon Aug 18 14:04:55 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- install to pear dir; restore /usr/bin/php dep
---- Files affected:
SPECS:
phing.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/phing.spec
diff -u SPECS/phing.spec:1.4 SPECS/phing.spec:1.5
--- SPECS/phing.spec:1.4 Tue Aug 12 18:27:17 2008
+++ SPECS/phing.spec Mon Aug 18 16:04:50 2008
@@ -3,12 +3,14 @@
Summary(pl.UTF-8): System budowania projektów w PHP oparty na narzędziu Apache Ant
Name: phing
Version: 2.3.0
-Release: 1
+Release: 0.2
License: LGPL
Group: Development/Languages/PHP
Source0: http://phing.tigris.org/files/documents/995/40189/%{name}-%{version}.zip
# Source0-md5: 7a986d9f24a2b8d6c4574d66545ce174
+Source1: %{name}.sh
URL: http://www.phing.info/
+Requires: /usr/bin/php
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -42,11 +44,10 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_appdir}/bin,%{_bindir}}
-cp -a classes $RPM_BUILD_ROOT%{_appdir}
-install bin/phing $RPM_BUILD_ROOT%{_appdir}/bin
-cp -a bin/phing.php $RPM_BUILD_ROOT%{_appdir}/bin
-ln -s %{_appdir}/bin/phing $RPM_BUILD_ROOT%{_bindir}/phing
+install -d $RPM_BUILD_ROOT{%{_bindir},%{php_data_dir}}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/phing
+cp -a classes/* $RPM_BUILD_ROOT%{php_data_dir}/phing
+cp -a bin/phing.php $RPM_BUILD_ROOT%{php_data_dir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -55,11 +56,8 @@
%defattr(644,root,root,755)
%doc CREDITS
%attr(755,root,root) %{_bindir}/phing
-%dir %{_appdir}
-%dir %{_appdir}/bin
-%attr(755,root,root) %{_appdir}/bin/phing
-%{_appdir}/bin/phing.php
-%{_appdir}/classes
+%{php_data_dir}/phing.php
+%{php_data_dir}/phing
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -67,6 +65,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2008/08/18 14:04:50 glen
+- install to pear dir; restore /usr/bin/php dep
+
Revision 1.4 2008/08/12 16:27:17 glen
- update to stable 2.3.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/phing.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list