gunnar: server/pear/PEAR-Structures_Graph ChangeLog, NONE, 1.1.2.1 Makefile, NONE, 1.1.2.1 PEAR-Structures_Graph.spec, NONE, 1.1.2.1

cvs at kolab.org cvs at kolab.org
Fri Jul 20 17:10:05 CEST 2007


Author: gunnar

Update of /kolabrepository/server/pear/PEAR-Structures_Graph
In directory doto:/tmp/cvs-serv18006/PEAR-Structures_Graph

Added Files:
      Tag: kolab_2_1_branch
	ChangeLog Makefile PEAR-Structures_Graph.spec 
Log Message:
Additional package PEAR-Structures_Graph that is necessary to get the newer PEAR-* packages built.

--- NEW FILE: ChangeLog ---
2007-07-20  Gunnar Wrobel  <p at rdus.de>

	* PEAR-Structures_Graph.spec: Added package to Kolab CVS.


--- NEW FILE: Makefile ---
RPM = /kolab/bin/openpkg rpm
NAME = PEAR-Structures_Graph
PACKAGE = PEAR-Structures_Graph
VERSION = 1.0.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/Structures_Graph-$(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

dist: all
	cp $(KOLABRPMSRC)/../PKG/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm ../../stage/

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

--- NEW FILE: PEAR-Structures_Graph.spec ---
# Package Information
Name:      PEAR-Structures_Graph
Summary:   Graph datastructure manipulation library
URL:       http://pear.php.net/package/Structures_Graph
Packager:  Gunnar Wrobel <wrobel at pardus.de> (p at rdus)
Version:   1.0.2
Release:   1
License:   PHP License
Group:     Development/Libraries
Distribution:	OpenPKG

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

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

%description 
Structures_Graph is a package for creating and manipulating graph
datastructures. It allows building of directed and undirected graphs,
with data and metadata stored in nodes. The library provides functions
for graph traversing as well as for characteristic extraction from the
graph topology.

%prep
	%setup -n Structures_Graph-%{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 --nodeps -R $RPM_BUILD_ROOT $RPM_SOURCE_DIR/Structures_Graph-%{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





More information about the commits mailing list