summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2008-09-16 13:00:57 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2008-09-16 13:00:57 (GMT)
commit68945a516a73e0aa6920b432378dd8c79c77d942 (patch)
tree0fb69d7c0e87088b1e85cc8338f040959034709f /pear
parentec275b06afe8d2e3332564d7199a1bf3f1234f99 (diff)
downloadserver-68945a516a73e0aa6920b432378dd8c79c77d942.tar.gz
Update to Auth-0.1.0
Diffstat (limited to 'pear')
-rw-r--r--pear/Horde_Auth/ChangeLog4
-rw-r--r--pear/Horde_Auth/Horde_Auth.spec12
-rw-r--r--pear/Horde_Auth/Makefile4
3 files changed, 12 insertions, 8 deletions
diff --git a/pear/Horde_Auth/ChangeLog b/pear/Horde_Auth/ChangeLog
index e48bb15..5dbf934 100644
--- a/pear/Horde_Auth/ChangeLog
+++ b/pear/Horde_Auth/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-16 Gunnar Wrobel <p@rdus.de>
+
+ * Horde_Auth.spec: Updated to Auth-0.1.0.
+
2008-09-11 Gunnar Wrobel <p@rdus.de>
* Horde_DOM.spec: Added package to Kolab CVS.
diff --git a/pear/Horde_Auth/Horde_Auth.spec b/pear/Horde_Auth/Horde_Auth.spec
index 04e690a..9e88e13 100644
--- a/pear/Horde_Auth/Horde_Auth.spec
+++ b/pear/Horde_Auth/Horde_Auth.spec
@@ -1,12 +1,13 @@
# Variables
+%define V_horde_package Auth
%define V_package Horde_Auth
-%define V_version 0.0.3.20080912
+%define V_version 0.1.0
%define V_release 1
# Package Information
Name: %{V_package}
Summary: Horde Authentication API
-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}
@@ -61,14 +61,14 @@ contains implementations for:
* SQL
%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_Auth/Makefile b/pear/Horde_Auth/Makefile
index 63a1df2..a61f835 100644
--- a/pear/Horde_Auth/Makefile
+++ b/pear/Horde_Auth/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