rpms/php-pear-phing/F-7 php-pear-phing.spec, NONE, 1.1 sources, 1.1, 1.2

Alexander Kahl (akahl) fedora-extras-commits at redhat.com
Wed Nov 21 09:02:33 UTC 2007


Author: akahl

Update of /cvs/pkgs/rpms/php-pear-phing/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25296/F-7

Modified Files:
	sources 
Added Files:
	php-pear-phing.spec 
Log Message:
initial import to all other branches



--- NEW FILE php-pear-phing.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name phing
%define channel pear.phing.info

Summary:	A project build system based on Apache Ant
Name:		php-pear-phing
Version:	2.3.0
Release:	1%{?dist}

License:	LGPLv2
Group:		Development/Tools
Source0:	http://pear.phing.info/get/phing-%{version}.tgz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL:		http://phing.info/trac/

BuildArch:	noarch

BuildRequires:	php-pear
BuildRequires:	php-channel(pear.phing.info)
BuildRequires:  dos2unix
Requires:	php-cli >= 5.0.1
Requires:	php-pear
Requires:	php-pecl-xdebug >= 2.0.0
Requires:	php-channel(pear.phing.info)

Requires(hint): php-pear(pear.phpunit.de/PHPUnit) >= 3.0

Requires(post):	%{__pear}
Requires(postun): %{__pear}

Provides:	php-pear(%{channel}/%{pear_name}) = %{version}

%description
PHing Is Not GNU make; it's a project build system based on Apache Ant.

You can do anything with it that you could do with a traditional build
system like GNU make, and its use of simple XML build files and extensible
PHP "task" classes make it an easy-to-use and highly flexible build
framework. Features include file transformations (e.g. token replacement,
XSLT transformation, Smarty template transformations), file system operations,
interactive build support, SQL execution, CVS operations, tools for creating
PEAR packages, and much more.


%prep
%setup -qc
%{__mv} package.xml %{pear_name}-%{version}/%{pear_name}.xml
cd %{pear_name}-%{version}


%build
cd %{pear_name}-%{version}


%install
cd %{pear_name}-%{version}
%{__rm} -rf $RPM_BUILD_ROOT docdir
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml

dos2unix $RPM_BUILD_ROOT%{pear_docdir}/%{pear_name}/phing_guide/book/chapters/Setup.html
dos2unix $RPM_BUILD_ROOT%{pear_docdir}/%{pear_name}/phing_guide/book/chapters/appendixes/AppendixC-OptionalTasks.html
%{__mkdir_p} docdir
%{__mv} $RPM_BUILD_ROOT%{pear_docdir}/* docdir

%{__rm} -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*

%{__mkdir_p} $RPM_BUILD_ROOT%{pear_xmldir}
%{__install} -pm 644 %{pear_name}.xml $RPM_BUILD_ROOT%{pear_xmldir}


%clean
%{__rm} -rf $RPM_BUILD_ROOT


%post
%{__pear} install --nodeps --soft --force --register-only \
	%{pear_xmldir}/%{pear_name}.xml >/dev/null || :

%postun
if [ $1 -eq 0 ] ; then
	%{__pear} uninstall --nodeps --ignore-errors --register-only \
		%{channel}/%{pear_name} >/dev/null || :
fi


%files
%defattr(-,root,root,-)
%{_bindir}/phing
%doc %{pear_name}-%{version}/docdir/%{pear_name}/*
%{pear_datadir}/%{pear_name}
%{pear_phpdir}/%{pear_name}
%{pear_phpdir}/%{pear_name}.php
%{pear_xmldir}/%{pear_name}.xml


%changelog
* Tue Nov  6 2007 Alexander Kahl <akahl at iconmobile.com> - 2.3.0-1
- stable version

* Tue Oct 30 2007 Alexander Kahl <akahl at iconmobile.com> - 2.3.0-0.1.RC2
- new release candidate version

* Tue Oct 16 2007 Alexander Kahl <akahl at iconmobile.com> - 2.3.0-0.1.RC1
- new release candidate version
- consequently adapted macros for all shell operations
- sanitized requires
- switched build root macro style
- additional s/\r\n/\n/g fixes

* Mon Sep  3 2007 Alexander Kahl <akahl at iconmobile.com> - 2.3.0-0.6.beta1
- name change (lowercase)
- changed pear datadir macro

* Fri Aug 24 2007 Alexander Kahl <akahl at iconmobile.com> - 2.3.0-0.5.beta1
- Fixed dos line terminators.

* Wed Aug 22 2007 Alexander Kahl <akahl at iconmobile.com> - 2.3.0-0.4.beta1
- New beta version.

* Tue Aug 21 2007 Alexander Kahl <akahl at iconmobile.com> - 2.2.0-3
- Adapted new Fedora layout.

* Tue Aug 21 2007 Alexander Kahl <akahl at iconmobile.com> - 2.2.0-2
- Updated PHPUnit dependency.

* Fri May 25 2007 Alexander Kahl <akahl at iconmobile.com> - 2.2.0-1
- Removed ant dependency.
- Added channel dependency.

* Wed May 23 2007 Alexander Kahl <akahl at iconmobile.com> 2.2.0-0
- Initial RPM release.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-pear-phing/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Nov 2007 18:52:37 -0000	1.1
+++ sources	21 Nov 2007 09:01:59 -0000	1.2
@@ -0,0 +1 @@
+1b874d1185d7f71dbe9a263e3bf62be2  phing-2.3.0.tgz




More information about the fedora-extras-commits mailing list