Added debian directory for building *.deb package
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c048ba409a
commit
4b7699e338
7
perl-xCAT-2.0/debian/changelog
Normal file
7
perl-xCAT-2.0/debian/changelog
Normal file
@ -0,0 +1,7 @@
|
||||
perl-xcat (2.0-1) experimental; urgency=low
|
||||
|
||||
* Converted from .rpm format to .deb
|
||||
|
||||
-- Andy Wray <wray95u@ufred> Thu, 10 Jan 2008 16:49:11 -0500
|
||||
|
||||
- Made changes to make this work on AIX
|
1
perl-xCAT-2.0/debian/compat
Normal file
1
perl-xCAT-2.0/debian/compat
Normal file
@ -0,0 +1 @@
|
||||
5
|
12
perl-xCAT-2.0/debian/control
Normal file
12
perl-xCAT-2.0/debian/control
Normal file
@ -0,0 +1,12 @@
|
||||
Source: perl-xcat
|
||||
Section: admin
|
||||
Priority: extra
|
||||
Maintainer: Andy Wray <andywray@us.ibm.com>
|
||||
Build-Depends: debhelper (>= 5), dpatch
|
||||
|
||||
Package: perl-xcat
|
||||
Architecture: all
|
||||
Depends: ${perl:Depends}, libdbi-perl, libexpect-perl, libsnmp-perl, libxml-simple-perl, libio-socket-ssl-perl, libio-socket-inet6-perl, libwww-perl
|
||||
Description: xCAT perl libraries
|
||||
Provides perl xCAT libraries for core functionality. Required for all xCAT installations.
|
||||
Includes xCAT::Table, xCAT::NodeRange, among others.
|
16
perl-xCAT-2.0/debian/copyright
Normal file
16
perl-xCAT-2.0/debian/copyright
Normal file
@ -0,0 +1,16 @@
|
||||
Copyright: EPL
|
||||
|
||||
Information from the binary package:
|
||||
Name : perl-xCAT Relocations: /opt/xcat
|
||||
Version : 2.0 Vendor: IBM Corp.
|
||||
Release : snap200801100447 Build Date: Thu 10 Jan 2008 04:47:45 AM EST
|
||||
Install Date: (not installed) Build Host: mgt.cluster
|
||||
Group : System Environment/Libraries Source RPM: perl-xCAT-2.0-snap200801100447.src.rpm
|
||||
Size : 903460 License: EPL
|
||||
Signature : (none)
|
||||
Packager : IBM Corp.
|
||||
Summary : xCAT perl libraries
|
||||
Description :
|
||||
Provides perl xCAT libraries for core functionality. Required for all xCAT installations.
|
||||
Includes xCAT::Table, xCAT::NodeRange, among others.
|
||||
|
1
perl-xCAT-2.0/debian/files
Normal file
1
perl-xCAT-2.0/debian/files
Normal file
@ -0,0 +1 @@
|
||||
perl-xcat_2.0-1_all.deb admin extra
|
83
perl-xCAT-2.0/debian/rules
Executable file
83
perl-xCAT-2.0/debian/rules
Executable file
@ -0,0 +1,83 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# Use v4 compatability mode, so ldconfig gets added to maint scripts.
|
||||
#export DH_COMPAT=4
|
||||
|
||||
PACKAGE = $(shell dh_listpackages)
|
||||
TMPDIR = $(CURDIR)/debian/$(PACKAGE)
|
||||
DOCSDIR = $(TMPDIR)/usr/share/doc/$(PACKAGE)
|
||||
INSTALL = install
|
||||
|
||||
build:
|
||||
dh_testdir
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -d
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
$(INSTALL) -D xCAT/Client.pm $(TMPDIR)/usr/lib/perl/xCAT/Client.pm
|
||||
$(INSTALL) -D xCAT/DBobjUtils.pm $(TMPDIR)/usr/lib/perl/xCAT/DBobjUtils.pm
|
||||
$(INSTALL) -D xCAT/DSHCLI.pm $(TMPDIR)/usr/lib/perl/xCAT/DSHCLI.pm
|
||||
$(INSTALL) -D xCAT/DSHContext.pm $(TMPDIR)/usr/lib/perl/xCAT/DSHContext.pm
|
||||
$(INSTALL) -D xCAT/DSHCore.pm $(TMPDIR)/usr/lib/perl/xCAT/DSHCore.pm
|
||||
$(INSTALL) -D xCAT/DSHRemoteShell.pm $(TMPDIR)/usr/lib/perl/xCAT/DSHRemoteShell.pm
|
||||
$(INSTALL) -D xCAT/GlobalDef.pm $(TMPDIR)/usr/lib/perl/xCAT/GlobalDef.pm
|
||||
$(INSTALL) -D xCAT/MacMap.pm $(TMPDIR)/usr/lib/perl/xCAT/MacMap.pm
|
||||
$(INSTALL) -D xCAT/MsgUtils.pm $(TMPDIR)/usr/lib/perl/xCAT/MsgUtils.pm
|
||||
$(INSTALL) -D xCAT/NodeRange.pm $(TMPDIR)/usr/lib/perl/xCAT/NodeRange.pm
|
||||
$(INSTALL) -D xCAT/NotifHandler.pm $(TMPDIR)/usr/lib/perl/xCAT/NotifHandler.pm
|
||||
$(INSTALL) -D xCAT/Postage.pm $(TMPDIR)/usr/lib/perl/xCAT/Postage.pm
|
||||
$(INSTALL) -D xCAT/PPCboot.pm $(TMPDIR)/usr/lib/perl/xCAT/PPCboot.pm
|
||||
$(INSTALL) -D xCAT/PPCdb.pm $(TMPDIR)/usr/lib/perl/xCAT/PPCdb.pm
|
||||
$(INSTALL) -D xCAT/PPCfsp.pm $(TMPDIR)/usr/lib/perl/xCAT/PPCfsp.pm
|
||||
$(INSTALL) -D xCAT/PPCinv.pm $(TMPDIR)/usr/lib/perl/xCAT/PPCinv.pm
|
||||
$(INSTALL) -D xCAT/PPClog.pm $(TMPDIR)/usr/lib/perl/xCAT/PPClog.pm
|
||||
$(INSTALL) -D xCAT/PPCmac.pm $(TMPDIR)/usr/lib/perl/xCAT/PPCmac.pm
|
||||
$(INSTALL) -D xCAT/PPC.pm $(TMPDIR)/usr/lib/perl/xCAT/PPC.pm
|
||||
$(INSTALL) -D xCAT/PPCpower.pm $(TMPDIR)/usr/lib/perl/xCAT/PPCpower.pm
|
||||
$(INSTALL) -D xCAT/PPCscan.pm $(TMPDIR)/usr/lib/perl/xCAT/PPCscan.pm
|
||||
$(INSTALL) -D xCAT/PPCvitals.pm $(TMPDIR)/usr/lib/perl/xCAT/PPCvitals.pm
|
||||
$(INSTALL) -D xCAT/PPCvm.pm $(TMPDIR)/usr/lib/perl/xCAT/PPCvm.pm
|
||||
$(INSTALL) -D xCAT/RSH.pm $(TMPDIR)/usr/lib/perl/xCAT/RSH.pm
|
||||
$(INSTALL) -D xCAT/RSYNC.pm $(TMPDIR)/usr/lib/perl/xCAT/RSYNC.pm
|
||||
$(INSTALL) -D xCAT/Schema.pm $(TMPDIR)/usr/lib/perl/xCAT/Schema.pm
|
||||
$(INSTALL) -D xCAT/SSH.pm $(TMPDIR)/usr/lib/perl/xCAT/SSH.pm
|
||||
$(INSTALL) -D xCAT/Table.pm $(TMPDIR)/usr/lib/perl/xCAT/Table.pm
|
||||
$(INSTALL) -D xCAT/Template.pm $(TMPDIR)/usr/lib/perl/xCAT/Template.pm
|
||||
$(INSTALL) -D xCAT/Utils.pm $(TMPDIR)/usr/lib/perl/xCAT/Utils.pm
|
||||
$(INSTALL) -D xCAT/data/ibmleds.pm $(TMPDIR)/usr/lib/perl/xCAT/data/ibmleds.pm
|
||||
$(INSTALL) -D xCAT/data/ipmigenericevents.pm $(TMPDIR)/usr/lib/perl/xCAT/data/ipmigenericevents.pm
|
||||
$(INSTALL) -D xCAT/data/ipmisensorevents.pm $(TMPDIR)/usr/lib/perl/xCAT/data/ipmisensorevents.pm
|
||||
$(INSTALL) -D LICENSE.html $(TMPDIR)/usr/share/doc/$(PACKAGE)/LICENSE.html
|
||||
$(INSTALL) -D README $(TMPDIR)/usr/share/doc/$(PACKAGE)/README
|
||||
$(INSTALL) -D xCAT2.0.doc $(TMPDIR)/usr/share/doc/$(PACKAGE)/xCAT2.0.doc
|
||||
$(INSTALL) -D xCAT2.0.pdf $(TMPDIR)/usr/share/doc/$(PACKAGE)/xCAT2.0.pdf
|
||||
|
||||
binary-indep: build install
|
||||
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdirs
|
||||
dh_installdocs
|
||||
dh_installchangelogs
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_makeshlibs
|
||||
dh_installdeb
|
||||
dh_perl xCAT
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
Loading…
Reference in New Issue
Block a user