gunnar: server/pear-h4/PEAR-PHPUnit-Channel-H4 .cvsignore, NONE, 1.1 ChangeLog, NONE, 1.1 Makefile, NONE, 1.1 PEAR-PHPUnit-Channel-H4.spec, NONE, 1.1 pear.phpunit.de.xml, NONE, 1.1

cvs at kolab.org cvs at kolab.org
Tue Feb 16 08:42:13 CET 2010


Author: gunnar

Update of /kolabrepository/server/pear-h4/PEAR-PHPUnit-Channel-H4
In directory doto:/tmp/cvs-serv7745/PEAR-PHPUnit-Channel-H4

Added Files:
	.cvsignore ChangeLog Makefile PEAR-PHPUnit-Channel-H4.spec 
	pear.phpunit.de.xml 
Log Message:
Add the basic unit testing machinery to the horde4 hierarchy.

--- NEW FILE: .cvsignore ---
*.src.rpm
tmp

--- NEW FILE: ChangeLog ---
2009-01-19  Thomas Arendsen Hein  <thomas at intevation.de>

	* Makefile: Fix build after kolab/issue3315.
	* PEAR-PHPUnit-Channel.spec: Bump release number.

2009-01-07  Gunnar Wrobel  <p at rdus.de>

	* PEAR-PHPUnit-Channel.spec:
	kolab/issue3315 (PEAR-Horde-Channel-1.0 fails to compile on
	solaris 10)

2008-12-18  Gunnar Wrobel  <p at rdus.de>

	* PEAR-PHPUnit-Channel.spec:
	kolab/issue3315 (PEAR-Horde-Channel-1.0 fails to compile on
	solaris 10)

2008-12-15  Gunnar Wrobel  <p at rdus.de>

	* PEAR-PHPUnit-Channel.spec:
	kolab/issue2441 (/kolab/RPM/TMP/pear/temp created owned by root)


--- NEW FILE: Makefile ---
STAGING = ../../stage

include ../../make-helper/kolab.mk

PACKAGE = PEAR-PHPUnit-Channel-H4
VERSION = $(shell grep "^Version:" *.spec | sed -e "s/^Version:\s*\([0-9.]*\).*/\1/")
RELEASE = $(shell grep "^Release:" *.spec | sed -e "s/^Release:\s*\([0-9]*\).*/\1/")

SOURCE_URL=
SOURCE_0=
EXTRA=pear.phpunit.de.xml

BUILD_OPTIONS=

include ../../make-helper/package.mk
include ../../make-helper/package-new.mk
include ../../make-helper/fetch.mk

--- NEW FILE: PEAR-PHPUnit-Channel-H4.spec ---
%define pear_xmldir  %{l_prefix}/var/pear

Name:           PEAR-PHPUnit-Channel-H4
Version:        1.0
Release:        20100211
Summary:        Adds pear.phpunit.de channel to PEAR

Group:          Development/Languages
License:        N/A
URL:            http://pear.phpunit.de/
Source0:        pear.phpunit.de.xml

# Build Info
Prefix:		%{l_prefix}
BuildRoot:	%{l_buildroot}

BuildPreReq:    php, php::with_pear = yes
Requires:       php, php::with_pear = yes

%description
This package adds the pear.phpunit.de channel which allows PEAR packages
from this channel to be installed.


%prep
%setup -q -c -T

%build

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
install -m 644 %{SOURCE0} $RPM_BUILD_ROOT%{pear_xmldir}
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 

%clean
rm -rf $RPM_BUILD_ROOT

%post

env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off"                                               \
  %{l_prefix}/bin/pear -d php_dir=%{l_prefix}/lib/php-h4 channel-add    %{pear_xmldir}/pear.phpunit.de.xml || \
  echo "Channel already exists!" && sleep 1
env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off"                                               \
  %{l_prefix}/bin/pear -d php_dir=%{l_prefix}/lib/php-h4 channel-update %{pear_xmldir}/pear.phpunit.de.xml || \
  echo "Could not update channel pear.phpunit.de!" && sleep 1
  rm -rf %{l_prefix}/RPM/TMP/pear

%postun
env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off"                                               \
  %{l_prefix}/bin/pear -d php_dir=%{l_prefix}/lib/php-h4 channel-delete pear.phpunit.de ||                \
  echo "Could not delete channel pear.phpunit.de!" && sleep 1
  rm -rf %{l_prefix}/RPM/TMP/pear

%files -f files


--- NEW FILE: pear.phpunit.de.xml ---
<?xml version="1.0" encoding="UTF-8" ?>
<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd">
  <name>pear.phpunit.de</name>
  <summary>PHPUnit PEAR Channel</summary>
  <suggestedalias>phpunit</suggestedalias>
  <servers>
    <primary>
      <rest>
        <baseurl type="REST1.0">http://pear.phpunit.de/rest/</baseurl>
        <baseurl type="REST1.1">http://pear.phpunit.de/rest/</baseurl>
        <baseurl type="REST1.2">http://pear.phpunit.de/rest/</baseurl>
        <baseurl type="REST1.3">http://pear.phpunit.de/rest/</baseurl>
      </rest>
    </primary>
  </servers>
</channel>




More information about the commits mailing list