summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2008-09-16 12:50:39 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2008-09-16 12:50:39 (GMT)
commitec275b06afe8d2e3332564d7199a1bf3f1234f99 (patch)
treee0cb8f41e15c8a4779f71a27c19e95764963b085 /pear
parent48dee5c558ccbde1bc3c248fd171bb881d7634fa (diff)
downloadserver-ec275b06afe8d2e3332564d7199a1bf3f1234f99.tar.gz
Update to Group-0.1.0
Diffstat (limited to 'pear')
-rw-r--r--pear/Horde_Group/ChangeLog4
-rw-r--r--pear/Horde_Group/Horde_Group.spec12
-rw-r--r--pear/Horde_Group/Makefile4
3 files changed, 12 insertions, 8 deletions
diff --git a/pear/Horde_Group/ChangeLog b/pear/Horde_Group/ChangeLog
index e48bb15..807b5f8 100644
--- a/pear/Horde_Group/ChangeLog
+++ b/pear/Horde_Group/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-16 Gunnar Wrobel <p@rdus.de>
+
+ * Horde_Group.spec: Updated to Group-0.1.0.
+
2008-09-11 Gunnar Wrobel <p@rdus.de>
* Horde_DOM.spec: Added package to Kolab CVS.
diff --git a/pear/Horde_Group/Horde_Group.spec b/pear/Horde_Group/Horde_Group.spec
index 0f40f4b..6e7c66d 100644
--- a/pear/Horde_Group/Horde_Group.spec
+++ b/pear/Horde_Group/Horde_Group.spec
@@ -1,12 +1,13 @@
# Variables
+%define V_horde_package Group
%define V_package Horde_Group
-%define V_version 0.0.2.20080912
+%define V_version 0.1.0
%define V_release 1
# Package Information
Name: %{V_package}
Summary: Horde User Groups System.
-URL: http://pear.horde.org/index.php?package=%{V_package}
+URL: http://pear.horde.org/index.php?package=%{V_horde_package}
Packager: Gunnar Wrobel <wrobel@pardus.de> (p@rdus)
Version: %{V_version}
Release: %{V_release}
@@ -15,8 +16,7 @@ Group: Development/Libraries
Distribution: OpenPKG
# List of Sources
-Source: http://files.pardus.de/kolab-sources/%{V_package}-%{V_version}.tgz
-#Source: http://pear.horde.org/get/%{V_package}-%{V_version}.tgz
+Source: http://pear.horde.org/get/%{V_horde_package}-%{V_version}.tgz
# Build Info
Prefix: %{l_prefix}
@@ -35,14 +35,14 @@ PreReq: Horde_Auth
The Group:: class provides the Horde groups system.
%prep
- %setup -n %{V_package}-%{V_version}
+ %setup -n %{V_horde_package}-%{V_version}
%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 install --offline --force --nodeps -P $RPM_BUILD_ROOT $RPM_SOURCE_DIR/%{V_package}-%{V_version}.tgz
+ %{l_prefix}/bin/pear 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/php/{.filemap,.lock,.channels,.depdb,.depdblock}
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
diff --git a/pear/Horde_Group/Makefile b/pear/Horde_Group/Makefile
index 63a1df2..a61f835 100644
--- a/pear/Horde_Group/Makefile
+++ b/pear/Horde_Group/Makefile
@@ -1,3 +1,4 @@
+HORDE_PACKAGE = $(shell grep "%define[ ]*V_horde_package" *.spec | sed -e "s/.*V_horde_package \([A-Za-z\-\_]*\).*/\1/")
PACKAGE = $(shell grep "%define[ ]*V_package" *.spec | sed -e "s/.*V_package \([A-Za-z\-\_]*\).*/\1/")
VERSION = $(shell grep "%define[ ]*V_version" *.spec | sed -e "s/.*V_version\s*\([0-9.]*\).*/\1/")
RELEASE = $(shell grep "%define[ ]*V_release" *.spec | sed -e "s/.*V_release\s*\([0-9]*\).*/\1/")
@@ -15,8 +16,7 @@ ifeq "x$(KOLABRPMTMP)" "x"
KOLABRPMTMP = $(HOME)/RPM/TMP
endif
-#SOURCE_0=http://pear.horde.org/get/$(PACKAGE)-$(VERSION).tgz
-SOURCE_0=http://files.pardus.de/kolab-sources/$(PACKAGE)-$(VERSION).tgz
+SOURCE_0=http://pear.horde.org/get/$(HORDE_PACKAGE)-$(VERSION).tgz
.PHONY: all
all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm