gunnar: server/PEAR-Archive_Tar PEAR-Archive_Tar.spec, NONE, 1.1 Makefile, NONE, 1.1

cvs at kolab.org cvs at kolab.org
Thu May 24 14:34:12 CEST 2007


Author: gunnar

Update of /kolabrepository/server/PEAR-Archive_Tar
In directory doto:/tmp/cvs-serv12659/PEAR-Archive_Tar

Added Files:
	PEAR-Archive_Tar.spec Makefile 
Log Message:
	* PEAR-*/*:

	Added PEAR-* packages in preparation of getting the newest
	Horde into Kolab CVS.


--- NEW FILE: PEAR-Archive_Tar.spec ---
# Package Information
Name:      PEAR-Archive_Tar
Summary:   PEAR: Tar file management class
URL:       http://pear.php.net/package/PEAR
Packager:  Gunnar Wrobel <wrobel at pardus.de> (p at rdus)
Version:   1.3.2
Release:   1
License:   PHP License
Group:     Development/Libraries
Distribution:	OpenPKG

# List of Sources
Source:    http://pear.php.net/get/Archive_Tar-%{version}.tgz

# Build Info
Prefix:	   %{l_prefix}
BuildRoot: %{l_buildroot}

%description 
This class provides handling of tar files in PHP.
It supports creating, listing, extracting and adding to tar files.
Gzip support is available if PHP has the zlib extension built-in or
loaded. Bz2 compression is also supported with the bz2 extension loaded.

%prep
	%setup -n Archive_Tar-%{version}

%build

%install
	rm -rf $RPM_BUILD_ROOT

        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 --nodeps -R $RPM_BUILD_ROOT $RPM_SOURCE_DIR/Archive_Tar-%{version}.tgz
	rm -rf $RPM_BUILD_ROOT/%{l_prefix}/lib/php/{.filemap,.lock}

        %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 

%clean
	rm -rf $RPM_BUILD_ROOT

%files -f files

--- NEW FILE: Makefile ---
RPM = /kolab/bin/openpkg rpm
NAME = PEAR-Archive_Tar
PACKAGE = PEAR-Archive_Tar
VERSION = 1.3.2
RELEASE = 1
KOLABRELEASE = $(RELEASE)

ifeq "x$(KOLABRPMSRC)" "x"
  KOLABRPMSRC = /kolab/RPM/SRC
endif

# Remove once moving to kolab cvs
SOURCE_0=http://pear.php.net/get/Archive_Tar-$(VERSION).tgz

all:
	test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
	cd $(KOLABRPMSRC)/$(PACKAGE) && wget -c "$(SOURCE_0)"

	cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)
	cd $(KOLABRPMSRC)/$(PACKAGE) && $(RPM) -ba $(PACKAGE).spec

binary:
	$(RPM) -bB $(PACKAGE).spec





More information about the commits mailing list