gunnar: server/pear/Horde_NLS-H4 .cvsignore, NONE, 1.1 ChangeLog, NONE, 1.1 Horde_NLS-H4.spec, NONE, 1.1 Makefile, NONE, 1.1
cvs at kolab.org
cvs at kolab.org
Mon May 18 23:40:12 CEST 2009
Author: gunnar
Update of /kolabrepository/server/pear/Horde_NLS-H4
In directory doto:/tmp/cvs-serv20518
Added Files:
.cvsignore ChangeLog Horde_NLS-H4.spec Makefile
Log Message:
Added Horde-NLS-H4 to the list of packages.
--- NEW FILE: .cvsignore ---
*.src.rpm
*.tgz
package.patch
--- NEW FILE: ChangeLog ---
2009-05-18 Gunnar Wrobel <p at rdus.de>
* Horde_NLS-H4.spec: Added package to Kolab CVS.
--- NEW FILE: Horde_NLS-H4.spec ---
# Variables
%define V_horde_pkgdir NLS
%define V_horde_package Horde_NLS
%define V_package Horde_NLS-H4
%define V_package_origin VC-CVS
%define V_repo_commit HEAD:20090518
%define V_repo_release 20090518
%define V_version 0.0.2dev20090518
%define V_release 20090518
%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: Localization package.
URL: http://pear.horde.org/index.php?package=%{V_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_Browser
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
Localization package.
%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