packages: php-phing/php-phing.spec - rename to php-phing
glen
glen at pld-linux.org
Wed Mar 10 15:59:42 CET 2010
Author: glen Date: Wed Mar 10 14:59:42 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- rename to php-phing
---- Files affected:
packages/php-phing:
php-phing.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: packages/php-phing/php-phing.spec
diff -u packages/php-phing/php-phing.spec:1.11 packages/php-phing/php-phing.spec:1.12
--- packages/php-phing/php-phing.spec:1.11 Sun Feb 22 11:31:35 2009
+++ packages/php-phing/php-phing.spec Wed Mar 10 15:59:37 2010
@@ -1,26 +1,35 @@
# $Revision$, $Date$
# TODO
# - package pear .registry
+# - subpackages for tasks with external dependencies
+%include /usr/lib/rpm/macros.php
+%define pkgname phing
Summary: PHP project build system based on Apache Ant
Summary(pl.UTF-8): System budowania projektów w PHP oparty na narzędziu Apache Ant
-Name: phing
+Name: php-%{pkgname}
Version: 2.3.0
Release: 3
License: LGPL
Group: Development/Languages/PHP
-Source0: http://phing.tigris.org/files/documents/995/40189/%{name}-%{version}.zip
+Source0: http://phing.tigris.org/files/documents/995/40189/%{pkgname}-%{version}.zip
# Source0-md5: 7a986d9f24a2b8d6c4574d66545ce174
-Source1: %{name}.sh
+Source1: %{pkgname}.sh
URL: http://www.phing.info/
BuildRequires: sed >= 4.0
Requires: /usr/bin/php
Requires: php-common >= 4:5.0.2
Requires: php-dom
Requires: php-xml
+Obsoletes: phing
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _appdir %{php_data_dir}/%{name}
+%define _appdir %{php_data_dir}/%{pkgname}
+
+%define _noautopear pear(creole/Creole.php) pear(phing/.*) pear(Smarty.class.php)
+
+# put it together for rpmbuild
+%define _noautoreq %{?_noautophp} %{?_noautopear}
%description
PHing Is Not GNU make; it's a project build system based on Apache
@@ -46,7 +55,7 @@
PEAR i wiele więcej.
%prep
-%setup -q
+%setup -q -n %{pkgname}-%{version}
%{__sed} -i -e 's, at DATA-DIR@,%{_appdir}/data,g' classes/phing/Phing.php
find -name '*.php' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
cat > optional-packages.txt <<EOF
@@ -86,6 +95,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2010/03/10 14:59:37 glen
+- rename to php-phing
+
Revision 1.11 2009/02/22 10:31:35 arekm
- release 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-phing/php-phing.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list