gunnar: server/pear-h4/Kolab_Server-H4 .cvsignore, NONE, 1.1 ChangeLog, NONE, 1.1 Kolab_Server-H4.spec, NONE, 1.1 Makefile, NONE, 1.1
cvs at kolab.org
cvs at kolab.org
Tue Feb 9 11:23:35 CET 2010
Author: gunnar
Update of /kolabrepository/server/pear-h4/Kolab_Server-H4
In directory doto:/tmp/cvs-serv32399/Kolab_Server-H4
Added Files:
.cvsignore ChangeLog Kolab_Server-H4.spec Makefile
Log Message:
Add the draft for some basic Horde4 libraries. These represent Horde HEAD snapshots that are being uploaded to files.kolab.org. This will not be part of the standard Kolab server release and are solely added for testing purposes at the moment. The current set of packages only supports installing the base Horde application.
--- NEW FILE: .cvsignore ---
*.src.rpm
*.tgz
package.patch
tmp
--- NEW FILE: ChangeLog ---
2009-05-26 Gunnar Wrobel <p at rdus.de>
* Kolab_Server-H4.spec: Added horde4 branch version of the
Kolab_Server package to CVS.
--- NEW FILE: Kolab_Server-H4.spec ---
# Variables
%define V_horde_pkgdir framework/Kolab_Server
%define V_horde_package Kolab_Server
%define V_package Kolab_Server-H4
%define V_package_origin VC-GIT
%define V_repo_commit dc0ba05b97f5fd7b8b6a81e548e6edbe134de1f2
%define V_repo_release 20090526
%define V_version 0.5.0dev20090526
%define V_release 20090526
%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: A package for manipulating the Kolab user database.
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_Autoloader
PreReq: Horde_LDAP
PreReq: PHPUnit
# Package options
%option with_chroot no
%description
This package allows read/write entries in the Kolab user
database stored in LDAP.
%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