gunnar: server/pear/Horde_Framework-H4 .cvsignore, NONE, 1.1 ChangeLog, NONE, 1.1 Horde_Framework-H4.spec, NONE, 1.1 Makefile, NONE, 1.1

cvs at kolab.org cvs at kolab.org
Wed May 20 10:24:02 CEST 2009


Author: gunnar

Update of /kolabrepository/server/pear/Horde_Framework-H4
In directory doto:/tmp/cvs-serv471

Added Files:
	.cvsignore ChangeLog Horde_Framework-H4.spec Makefile 
Log Message:
Added the Horde 4 version of Horde_Framework to CVS:

--- NEW FILE: .cvsignore ---
*.src.rpm
*.tgz
package.patch

--- NEW FILE: ChangeLog ---
2009-05-20  Gunnar Wrobel  <p at rdus.de>

	* Horde_Framework.spec: Added package to Kolab CVS.


--- NEW FILE: Horde_Framework-H4.spec ---
# Variables
%define         V_horde_pkgdir Horde
%define         V_horde_package Horde_Framework
%define         V_package Horde_Framework-H4
%define         V_package_origin VC-CVS
%define         V_repo_commit HEAD:20090520
%define         V_repo_release 20090520
%define         V_version 0.0.2dev20090520
%define         V_release 20090520
%define         V_sourceurl http://pear.horde.org/get
%define         V_php_lib_loc php-h4
%define         V_www_loc client

# Package Information
Name:	   %{V_package}
Summary:   Horde core Framework libraries
URL:       http://pear.horde.org/index.php?package=%{V_horde_package}
Packager:  Gunnar Wrobel <wrobel at pardus.de> (p at rdus)
Version:   %{V_version}
Release:   %{V_release}
License:   LGPL
Group:     Development/Libraries
Distribution:	OpenPKG

# List of Sources
Source:    %{V_sourceurl}/%{V_horde_package}-%{V_version}.tgz

# List of patches
Patch0:    package.patch

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

#Pre requisites
BuildPreReq:  OpenPKG, openpkg >= 20070603
BuildPreReq:  php, php::with_pear = yes
BuildPreReq:  PEAR-Horde-Channel
PreReq:       OpenPKG, openpkg >= 20070603
PreReq:       php, php::with_pear = yes
PreReq:       PEAR-Log
PreReq:       Horde_CLI
PreReq:       Horde_DOM
PreReq:       Horde_Util

Provides:     horde-framework-kolab = 3.2_rc3-20081209
Obsoletes:    horde-framework-kolab < 3.2_rc3-20081209

# Package options
%option       with_chroot              no

%description 
These classes provide the core functionality of the Horde Application
Framework.

%prep
	%setup -n %{V_horde_package}-%{V_version}

        if [ -n "`cat %{PATCH0}`" ]; then
	    %patch -p0 -P 0
	fi

	cat ../package.xml | sed -e 's/md5sum="[^"]*"//' > package.xml

%build

%install
        env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off -d memory_limit=40M"   \
            PHP_PEAR_CACHE_DIR="/tmp/pear/cache" \
	    %{l_prefix}/bin/pear -d www_dir="%{l_prefix}/var/kolab/www/%{V_www_loc}"   \
	                         -d php_dir="%{l_prefix}/lib/%{V_php_lib_loc}"         \
                                 install --offline --force --nodeps -P $RPM_BUILD_ROOT \
	                         $RPM_SOURCE_DIR/%{V_horde_package}-%{V_version}.tgz
	rm -rf $RPM_BUILD_ROOT/%{l_prefix}/lib/%{V_php_lib_loc}/{.filemap,.lock,.channels,.depdb,.depdblock}

        # With chroot
        %if "%{with_chroot}" == "yes"
                %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/%{l_prefix}/lib
                cp -a $RPM_BUILD_ROOT/%{l_prefix}/lib/%{V_php_lib_loc} $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/%{l_prefix}/lib/
        %endif

        %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 

%clean
	rm -rf $RPM_BUILD_ROOT

%files -f files

--- NEW FILE: Makefile ---
include ../Horde.mk





More information about the commits mailing list