gunnar: server/pear/Horde_Cache-H4 .cvsignore, NONE, 1.1 ChangeLog, NONE, 1.1 Horde_Cache-H4.spec, NONE, 1.1 Makefile, NONE, 1.1
cvs at kolab.org
cvs at kolab.org
Tue May 26 07:10:28 CEST 2009
Author: gunnar
Update of /kolabrepository/server/pear/Horde_Cache-H4
In directory doto:/tmp/cvs-serv3074/Horde_Cache-H4
Added Files:
.cvsignore ChangeLog Horde_Cache-H4.spec Makefile
Log Message:
Added Horde_Cache-H4
--- NEW FILE: .cvsignore ---
*.src.rpm
*.tgz
package.patch
--- NEW FILE: ChangeLog ---
2009-05-25 Gunnar Wrobel <p at rdus.de>
* Horde_Cache-H4.spec: Added package to CVS.
--- NEW FILE: Horde_Cache-H4.spec ---
# Variables
%define V_horde_pkgdir framework/Cache
%define V_horde_package Cache
%define V_package Horde_Cache-H4
%define V_package_origin VC-GIT
%define V_repo_commit 4ae1f5f04ea6229e3a714e8c2e946ce1dc13a10a
%define V_repo_release 20090427
%define V_version 0.2.0dev20090427
%define V_release 20090525
%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: Caching API
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: 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
This package provides a simple, functional Caching API, with the
option to store the cached data either on the filesystem, or using the
Zend Performance Suites content cache.
%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