Debian packaging for L&B: emi-lb and yaim modules.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 28 Dec 2011 17:54:29 +0000 (17:54 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 28 Dec 2011 17:54:29 +0000 (17:54 +0000)
org.glite.lb.emi-lb/project/debian.control [new file with mode: 0644]
org.glite.lb.emi-lb/project/debian.copyright [new file with mode: 0644]
org.glite.lb.emi-lb/project/debian.rules [new file with mode: 0644]
org.glite.lb.yaim/project/debian.control [new file with mode: 0644]
org.glite.lb.yaim/project/debian.copyright [new file with mode: 0644]
org.glite.lb.yaim/project/debian.glite-lb-yaim.dirs [new file with mode: 0644]
org.glite.lb.yaim/project/debian.glite-lb-yaim.install [new file with mode: 0644]
org.glite.lb.yaim/project/debian.rules [new file with mode: 0644]

diff --git a/org.glite.lb.emi-lb/project/debian.control b/org.glite.lb.emi-lb/project/debian.control
new file mode 100644 (file)
index 0000000..abb3630
--- /dev/null
@@ -0,0 +1,18 @@
+Source: emi-lb
+Priority: extra
+Maintainer: @MAINTAINER@
+Uploaders: @UPLOADERS@
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.9.1
+Section: net
+Homepage: @URL@
+DM-Upload-Allowed: yes
+@DEBIAN_VCS@
+
+Package: emi-lb
+Section: net
+Architecture: any
+Depends: ${misc:Depends}, bdii, emi-version, fetch-crl, glite-lb-client-java, glite-lb-doc, glite-lb-harvester, glite-lb-logger, glite-lb-logger-msg, glite-lb-server, glite-lb-utils, glite-lb-ws-test, glite-lb-yaim, glue-schema
+#TODO: glue-service-provider/glite-info-provider-service
+Description: @SUMMARY@
+@DEBIAN_DESCRIPTION@
diff --git a/org.glite.lb.emi-lb/project/debian.copyright b/org.glite.lb.emi-lb/project/debian.copyright
new file mode 100644 (file)
index 0000000..3d762ae
--- /dev/null
@@ -0,0 +1,38 @@
+This work was packaged for Debian by:
+
+    @MAINTAINER@ on Thu, 08 Dec 2011 00:46:07 +0100
+
+It was downloaded from:
+
+    @URL@
+
+Upstream Author(s):
+
+    @MAINTAINER@
+
+Copyright:
+
+    <Copyright (C) 2004-2011 Members of the EGEE Collaboration>
+
+License:
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+On Debian systems, the complete text of the Apache version 2.0 license
+can be found in "/usr/share/common-licenses/Apache-2.0".
+
+The Debian packaging is:
+
+    Copyright (C) 2004-2011 Members of the EGEE Collaboration
+
+and is licensed under the Apache License, Version 2.0.
diff --git a/org.glite.lb.emi-lb/project/debian.rules b/org.glite.lb.emi-lb/project/debian.rules
new file mode 100644 (file)
index 0000000..376f8c9
--- /dev/null
@@ -0,0 +1,57 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+-include /usr/share/dpkg/buildflags.mk
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       /usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=/usr --libdir=lib --project=emi --module lb.emi-lb
+       touch $@
+
+build: build-indep
+
+build-indep: build-stamp
+
+build-stamp: configure-stamp
+       dh_testdir
+       touch $@
+
+clean: configure-stamp
+       dh_testdir
+       dh_testroot
+       rm -f configure-stamp build-stamp
+       $(MAKE) clean
+       rm -f Makefile.inc config.status
+       dh_clean
+
+install: build-stamp
+       dh_testdir
+       dh_testroot
+       dh_prep
+       dh_installdirs
+
+binary-indep: install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs
+       dh_installexamples
+       dh_installman
+       dh_installlogrotate
+       dh_installcron
+       dh_install --fail-missing
+       dh_link
+       dh_compress
+       dh_fixperms
+       dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep
diff --git a/org.glite.lb.yaim/project/debian.control b/org.glite.lb.yaim/project/debian.control
new file mode 100644 (file)
index 0000000..e7ae2a4
--- /dev/null
@@ -0,0 +1,17 @@
+Source: glite-lb-yaim
+Priority: extra
+Maintainer: @MAINTAINER@
+Uploaders: @UPLOADERS@
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.9.1
+Section: admin
+Homepage: @URL@
+DM-Upload-Allowed: yes
+@DEBIAN_VCS@
+
+Package: glite-lb-yaim
+Section: admin
+Architecture: all
+Depends: ${misc:Depends}, glite-yaim-bdii, libnet-ldap-perl, glite-yaim-core
+Description: @SUMMARY@
+@DEBIAN_DESCRIPTION@
diff --git a/org.glite.lb.yaim/project/debian.copyright b/org.glite.lb.yaim/project/debian.copyright
new file mode 100644 (file)
index 0000000..3d762ae
--- /dev/null
@@ -0,0 +1,38 @@
+This work was packaged for Debian by:
+
+    @MAINTAINER@ on Thu, 08 Dec 2011 00:46:07 +0100
+
+It was downloaded from:
+
+    @URL@
+
+Upstream Author(s):
+
+    @MAINTAINER@
+
+Copyright:
+
+    <Copyright (C) 2004-2011 Members of the EGEE Collaboration>
+
+License:
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+On Debian systems, the complete text of the Apache version 2.0 license
+can be found in "/usr/share/common-licenses/Apache-2.0".
+
+The Debian packaging is:
+
+    Copyright (C) 2004-2011 Members of the EGEE Collaboration
+
+and is licensed under the Apache License, Version 2.0.
diff --git a/org.glite.lb.yaim/project/debian.glite-lb-yaim.dirs b/org.glite.lb.yaim/project/debian.glite-lb-yaim.dirs
new file mode 100644 (file)
index 0000000..e8fc1a9
--- /dev/null
@@ -0,0 +1,9 @@
+opt/glite
+opt/glite/release
+opt/glite/release/glite-LB
+opt/glite/yaim
+opt/glite/yaim/defaults
+opt/glite/yaim/etc
+opt/glite/yaim/etc/versions
+opt/glite/yaim/functions
+opt/glite/yaim/node-info.d
diff --git a/org.glite.lb.yaim/project/debian.glite-lb-yaim.install b/org.glite.lb.yaim/project/debian.glite-lb-yaim.install
new file mode 100644 (file)
index 0000000..d6c7047
--- /dev/null
@@ -0,0 +1,5 @@
+opt/glite/release/glite-LB/*
+opt/glite/yaim/defaults/*
+opt/glite/yaim/etc/versions/*
+opt/glite/yaim/functions/*
+opt/glite/yaim/node-info.d/*
diff --git a/org.glite.lb.yaim/project/debian.rules b/org.glite.lb.yaim/project/debian.rules
new file mode 100644 (file)
index 0000000..73a9429
--- /dev/null
@@ -0,0 +1,60 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+-include /usr/share/dpkg/buildflags.mk
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+       dh_testdir
+       /usr/bin/perl ./configure --thrflavour= --nothrflavour= --root=/ --prefix=/usr --libdir=lib --project=emi --module lb.yaim
+       touch $@
+
+build: build-indep
+
+build-indep: build-stamp
+
+build-stamp: configure-stamp
+       dh_testdir
+       CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE)
+       CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) check
+       touch $@
+
+clean: configure-stamp
+       dh_testdir
+       dh_testroot
+       rm -f configure-stamp build-stamp
+       $(MAKE) clean
+       rm -f Makefile.inc config.status
+       dh_clean
+
+install: build-stamp
+       dh_testdir
+       dh_testroot
+       dh_prep
+       dh_installdirs
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+
+binary-indep: install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs
+       dh_installexamples
+       dh_installman
+       dh_installlogrotate
+       dh_installcron
+       dh_install --fail-missing
+       dh_link
+       dh_compress
+       dh_fixperms
+       dh_makeshlibs
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep