From 8d8dbddce3499ddbdb4937d34df5450e88443a2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Wed, 28 Dec 2011 17:46:17 +0000 Subject: [PATCH] Debian packaging for L&B. --- org.glite.lb.client-java/project/debian.control | 17 ++++++ org.glite.lb.client-java/project/debian.copyright | 38 ++++++++++++ .../project/debian.glite-lb-client-java.dirs | 2 + .../project/debian.glite-lb-client-java.install | 2 + org.glite.lb.client-java/project/debian.rules | 66 ++++++++++++++++++++ org.glite.lb.client/Makefile | 4 +- org.glite.lb.client/project/debian.control | 41 +++++++++++++ org.glite.lb.client/project/debian.copyright | 38 ++++++++++++ .../project/debian.glite-lb-client-progs.dirs | 3 + .../project/debian.glite-lb-client-progs.install | 3 + .../project/debian.libglite-lb-client-dev.dirs | 6 ++ .../project/debian.libglite-lb-client-dev.install | 5 ++ .../project/debian.libglite-lb-client11.dirs | 2 + .../project/debian.libglite-lb-client11.install | 4 ++ org.glite.lb.client/project/debian.rules | 70 ++++++++++++++++++++++ org.glite.lb.common/project/debian.control | 34 +++++++++++ org.glite.lb.common/project/debian.copyright | 38 ++++++++++++ .../project/debian.libglite-lb-common-dev.dirs | 3 + .../project/debian.libglite-lb-common-dev.install | 3 + .../project/debian.libglite-lb-common13.dirs | 1 + .../project/debian.libglite-lb-common13.install | 1 + org.glite.lb.common/project/debian.rules | 70 ++++++++++++++++++++++ org.glite.lb.doc/project/debian.control | 17 ++++++ org.glite.lb.doc/project/debian.copyright | 38 ++++++++++++ org.glite.lb.doc/project/debian.glite-lb-doc.dirs | 2 + .../project/debian.glite-lb-doc.doc-base.ag | 7 +++ .../project/debian.glite-lb-doc.doc-base.dg | 7 +++ .../project/debian.glite-lb-doc.doc-base.tg | 7 +++ .../project/debian.glite-lb-doc.doc-base.tp | 7 +++ .../project/debian.glite-lb-doc.doc-base.ug | 7 +++ .../project/debian.glite-lb-doc.install | 2 + org.glite.lb.doc/project/debian.rules | 64 ++++++++++++++++++++ org.glite.lb.harvester/Makefile | 9 ++- org.glite.lb.harvester/project/debian.control | 25 ++++++++ org.glite.lb.harvester/project/debian.copyright | 38 ++++++++++++ .../project/debian.glite-lb-harvester.dirs | 8 +++ .../project/debian.glite-lb-harvester.install | 6 ++ org.glite.lb.harvester/project/debian.preinst | 9 +++ org.glite.lb.harvester/project/debian.rules | 68 +++++++++++++++++++++ .../project/glite-lb-harvester.spec | 2 +- org.glite.lb.logger-msg/project/debian.control | 26 ++++++++ org.glite.lb.logger-msg/project/debian.copyright | 38 ++++++++++++ .../project/debian.glite-lb-logger-msg.dirs | 5 ++ .../project/debian.glite-lb-logger-msg.install | 5 ++ org.glite.lb.logger-msg/project/debian.rules | 70 ++++++++++++++++++++++ org.glite.lb.logger/Makefile | 2 +- org.glite.lb.logger/project/debian.control | 32 ++++++++++ org.glite.lb.logger/project/debian.copyright | 38 ++++++++++++ .../project/debian.glite-lb-logger-dev.dirs | 2 + .../project/debian.glite-lb-logger-dev.install | 1 + .../project/debian.glite-lb-logger.dirs | 4 ++ .../project/debian.glite-lb-logger.install | 4 ++ org.glite.lb.logger/project/debian.preinst | 9 +++ org.glite.lb.logger/project/debian.rules | 69 +++++++++++++++++++++ org.glite.lb.nagios/project/debian.control | 18 ++++++ org.glite.lb.nagios/project/debian.copyright | 38 ++++++++++++ .../project/debian.emi-lb-nagios-plugins.dirs | 6 ++ .../project/debian.emi-lb-nagios-plugins.install | 2 + org.glite.lb.nagios/project/debian.postinst | 4 ++ org.glite.lb.nagios/project/debian.rules | 64 ++++++++++++++++++++ org.glite.lb.server/Makefile | 2 +- org.glite.lb.server/project/debian.control | 26 ++++++++ org.glite.lb.server/project/debian.copyright | 38 ++++++++++++ .../project/debian.glite-lb-server.dirs | 13 ++++ .../project/debian.glite-lb-server.install | 11 ++++ org.glite.lb.server/project/debian.preinst | 9 +++ org.glite.lb.server/project/debian.rules | 70 ++++++++++++++++++++++ org.glite.lb.state-machine/project/debian.control | 34 +++++++++++ .../project/debian.copyright | 38 ++++++++++++ .../debian.libglite-lb-state-machine-dev.dirs | 3 + .../debian.libglite-lb-state-machine-dev.install | 4 ++ .../project/debian.libglite-lb-state-machine1.dirs | 1 + .../debian.libglite-lb-state-machine1.install | 2 + org.glite.lb.state-machine/project/debian.rules | 66 ++++++++++++++++++++ org.glite.lb.types/project/debian.control | 17 ++++++ org.glite.lb.types/project/debian.copyright | 38 ++++++++++++ .../project/debian.glite-lb-types.dirs | 1 + .../project/debian.glite-lb-types.install | 3 + org.glite.lb.types/project/debian.rules | 60 +++++++++++++++++++ org.glite.lb.utils/Makefile | 4 +- org.glite.lb.utils/project/debian.control | 25 ++++++++ org.glite.lb.utils/project/debian.copyright | 38 ++++++++++++ .../project/debian.glite-lb-utils.dirs | 4 ++ .../project/debian.glite-lb-utils.install | 4 ++ org.glite.lb.utils/project/debian.rules | 68 +++++++++++++++++++++ org.glite.lb.ws-interface/Makefile | 2 +- org.glite.lb.ws-interface/project/debian.control | 17 ++++++ org.glite.lb.ws-interface/project/debian.copyright | 38 ++++++++++++ .../project/debian.glite-lb-ws-interface.dirs | 3 + .../project/debian.glite-lb-ws-interface.install | 3 + org.glite.lb.ws-interface/project/debian.rules | 64 ++++++++++++++++++++ .../project/glite-lb-ws-interface.spec | 1 - org.glite.lb.ws-test/project/debian.control | 25 ++++++++ org.glite.lb.ws-test/project/debian.copyright | 38 ++++++++++++ .../project/debian.glite-lb-ws-test.dirs | 2 + .../project/debian.glite-lb-ws-test.install | 1 + org.glite.lb.ws-test/project/debian.rules | 64 ++++++++++++++++++++ 97 files changed, 2034 insertions(+), 14 deletions(-) create mode 100644 org.glite.lb.client-java/project/debian.control create mode 100644 org.glite.lb.client-java/project/debian.copyright create mode 100644 org.glite.lb.client-java/project/debian.glite-lb-client-java.dirs create mode 100644 org.glite.lb.client-java/project/debian.glite-lb-client-java.install create mode 100644 org.glite.lb.client-java/project/debian.rules create mode 100644 org.glite.lb.client/project/debian.control create mode 100644 org.glite.lb.client/project/debian.copyright create mode 100644 org.glite.lb.client/project/debian.glite-lb-client-progs.dirs create mode 100644 org.glite.lb.client/project/debian.glite-lb-client-progs.install create mode 100644 org.glite.lb.client/project/debian.libglite-lb-client-dev.dirs create mode 100644 org.glite.lb.client/project/debian.libglite-lb-client-dev.install create mode 100644 org.glite.lb.client/project/debian.libglite-lb-client11.dirs create mode 100644 org.glite.lb.client/project/debian.libglite-lb-client11.install create mode 100644 org.glite.lb.client/project/debian.rules create mode 100644 org.glite.lb.common/project/debian.control create mode 100644 org.glite.lb.common/project/debian.copyright create mode 100644 org.glite.lb.common/project/debian.libglite-lb-common-dev.dirs create mode 100644 org.glite.lb.common/project/debian.libglite-lb-common-dev.install create mode 100644 org.glite.lb.common/project/debian.libglite-lb-common13.dirs create mode 100644 org.glite.lb.common/project/debian.libglite-lb-common13.install create mode 100644 org.glite.lb.common/project/debian.rules create mode 100644 org.glite.lb.doc/project/debian.control create mode 100644 org.glite.lb.doc/project/debian.copyright create mode 100644 org.glite.lb.doc/project/debian.glite-lb-doc.dirs create mode 100644 org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.ag create mode 100644 org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.dg create mode 100644 org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.tg create mode 100644 org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.tp create mode 100644 org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.ug create mode 100644 org.glite.lb.doc/project/debian.glite-lb-doc.install create mode 100644 org.glite.lb.doc/project/debian.rules create mode 100644 org.glite.lb.harvester/project/debian.control create mode 100644 org.glite.lb.harvester/project/debian.copyright create mode 100644 org.glite.lb.harvester/project/debian.glite-lb-harvester.dirs create mode 100644 org.glite.lb.harvester/project/debian.glite-lb-harvester.install create mode 100644 org.glite.lb.harvester/project/debian.preinst create mode 100644 org.glite.lb.harvester/project/debian.rules create mode 100644 org.glite.lb.logger-msg/project/debian.control create mode 100644 org.glite.lb.logger-msg/project/debian.copyright create mode 100644 org.glite.lb.logger-msg/project/debian.glite-lb-logger-msg.dirs create mode 100644 org.glite.lb.logger-msg/project/debian.glite-lb-logger-msg.install create mode 100644 org.glite.lb.logger-msg/project/debian.rules create mode 100644 org.glite.lb.logger/project/debian.control create mode 100644 org.glite.lb.logger/project/debian.copyright create mode 100644 org.glite.lb.logger/project/debian.glite-lb-logger-dev.dirs create mode 100644 org.glite.lb.logger/project/debian.glite-lb-logger-dev.install create mode 100644 org.glite.lb.logger/project/debian.glite-lb-logger.dirs create mode 100644 org.glite.lb.logger/project/debian.glite-lb-logger.install create mode 100644 org.glite.lb.logger/project/debian.preinst create mode 100644 org.glite.lb.logger/project/debian.rules create mode 100644 org.glite.lb.nagios/project/debian.control create mode 100644 org.glite.lb.nagios/project/debian.copyright create mode 100644 org.glite.lb.nagios/project/debian.emi-lb-nagios-plugins.dirs create mode 100644 org.glite.lb.nagios/project/debian.emi-lb-nagios-plugins.install create mode 100644 org.glite.lb.nagios/project/debian.postinst create mode 100644 org.glite.lb.nagios/project/debian.rules create mode 100644 org.glite.lb.server/project/debian.control create mode 100644 org.glite.lb.server/project/debian.copyright create mode 100644 org.glite.lb.server/project/debian.glite-lb-server.dirs create mode 100644 org.glite.lb.server/project/debian.glite-lb-server.install create mode 100644 org.glite.lb.server/project/debian.preinst create mode 100644 org.glite.lb.server/project/debian.rules create mode 100644 org.glite.lb.state-machine/project/debian.control create mode 100644 org.glite.lb.state-machine/project/debian.copyright create mode 100644 org.glite.lb.state-machine/project/debian.libglite-lb-state-machine-dev.dirs create mode 100644 org.glite.lb.state-machine/project/debian.libglite-lb-state-machine-dev.install create mode 100644 org.glite.lb.state-machine/project/debian.libglite-lb-state-machine1.dirs create mode 100644 org.glite.lb.state-machine/project/debian.libglite-lb-state-machine1.install create mode 100644 org.glite.lb.state-machine/project/debian.rules create mode 100644 org.glite.lb.types/project/debian.control create mode 100644 org.glite.lb.types/project/debian.copyright create mode 100644 org.glite.lb.types/project/debian.glite-lb-types.dirs create mode 100644 org.glite.lb.types/project/debian.glite-lb-types.install create mode 100644 org.glite.lb.types/project/debian.rules create mode 100644 org.glite.lb.utils/project/debian.control create mode 100644 org.glite.lb.utils/project/debian.copyright create mode 100644 org.glite.lb.utils/project/debian.glite-lb-utils.dirs create mode 100644 org.glite.lb.utils/project/debian.glite-lb-utils.install create mode 100644 org.glite.lb.utils/project/debian.rules create mode 100644 org.glite.lb.ws-interface/project/debian.control create mode 100644 org.glite.lb.ws-interface/project/debian.copyright create mode 100644 org.glite.lb.ws-interface/project/debian.glite-lb-ws-interface.dirs create mode 100644 org.glite.lb.ws-interface/project/debian.glite-lb-ws-interface.install create mode 100644 org.glite.lb.ws-interface/project/debian.rules create mode 100644 org.glite.lb.ws-test/project/debian.control create mode 100644 org.glite.lb.ws-test/project/debian.copyright create mode 100644 org.glite.lb.ws-test/project/debian.glite-lb-ws-test.dirs create mode 100644 org.glite.lb.ws-test/project/debian.glite-lb-ws-test.install create mode 100644 org.glite.lb.ws-test/project/debian.rules diff --git a/org.glite.lb.client-java/project/debian.control b/org.glite.lb.client-java/project/debian.control new file mode 100644 index 0000000..a8e6165 --- /dev/null +++ b/org.glite.lb.client-java/project/debian.control @@ -0,0 +1,17 @@ +Source: glite-lb-client-java +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~), ant, chrpath, default-jdk, emi-trustmanager, emi-trustmanager-axis, glite-jobid-api-java, glite-lb-types, glite-lb-ws-interface, libaxis-java, libcommons-lang-java, libtool +Standards-Version: 3.9.1 +Section: misc +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: glite-lb-client-java +Section: misc +Architecture: any +Depends: ${misc:Depends}, emi-trustmanager-axis, emi-trustmanager, glite-jobid-api-java, libcommons-lang-java +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ diff --git a/org.glite.lb.client-java/project/debian.copyright b/org.glite.lb.client-java/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.client-java/project/debian.copyright @@ -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: + + + +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.client-java/project/debian.glite-lb-client-java.dirs b/org.glite.lb.client-java/project/debian.glite-lb-client-java.dirs new file mode 100644 index 0000000..42a1652 --- /dev/null +++ b/org.glite.lb.client-java/project/debian.glite-lb-client-java.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/share/java diff --git a/org.glite.lb.client-java/project/debian.glite-lb-client-java.install b/org.glite.lb.client-java/project/debian.glite-lb-client-java.install new file mode 100644 index 0000000..ec8a5cc --- /dev/null +++ b/org.glite.lb.client-java/project/debian.glite-lb-client-java.install @@ -0,0 +1,2 @@ +usr/lib/* +usr/share/java/*.jar diff --git a/org.glite.lb.client-java/project/debian.rules b/org.glite.lb.client-java/project/debian.rules new file mode 100644 index 0000000..104d175 --- /dev/null +++ b/org.glite.lb.client-java/project/debian.rules @@ -0,0 +1,66 @@ +#!/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.client-java + touch $@ + +build: build-indep + +build-arch 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 + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.la + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.a + find $(CURDIR)/debian/tmp -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + +binary-indep: + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_installlogrotate + dh_installcron + dh_install --fail-missing + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep diff --git a/org.glite.lb.client/Makefile b/org.glite.lb.client/Makefile index 5b858f1..d6c77b6 100644 --- a/org.glite.lb.client/Makefile +++ b/org.glite.lb.client/Makefile @@ -272,11 +272,11 @@ ${LIBTHROBJS}: %.thr.o: %.c ${MAN_GZ}: ${MAN} rm -f ${MAN_GZ} ${MAN} cp $? . - gzip -f $(notdir $?) + gzip -9 -f $(notdir $?) ${MAN8_GZ}: ${MAN8} cp $? . - gzip -f $(notdir $?) + gzip -9 -f $(notdir $?) perftest_logjobs.o: perftest_logjobs.c ${CC} ${CFLAGS} -DLB_PERF_DROP -c $< diff --git a/org.glite.lb.client/project/debian.control b/org.glite.lb.client/project/debian.control new file mode 100644 index 0000000..4fd28e5 --- /dev/null +++ b/org.glite.lb.client/project/debian.control @@ -0,0 +1,41 @@ +Source: glite-lb-client +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~), chrpath, libtool, libclassad1, libclassad-dev, glite-lb-types, libglite-jobid-api-c-dev, libglite-jobid-api-cpp-dev, libglite-lb-common-dev, libglite-lbjp-common-gss-dev, libglite-lbjp-common-trio-dev +Standards-Version: 3.9.1 +Section: libs +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: libglite-lb-client11 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ + +Package: libglite-lb-client-dev +Section: libdevel +Architecture: any +Provides: glite-lb-client +Depends: libglite-lb-client11 (= ${binary:Version}), ${misc:Depends}, libglite-lb-common-dev, libglite-jobid-api-c-dev, libglite-jobid-api-cpp-dev +Description: Development files for gLite L&B/JP common log module + This package contains development libraries and header files for gLite L&B + client library. + +Package: glite-lb-client-progs +Section: misc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: gLite L&B client programs and examples + This package contains client programs and examples for gLite L&B. + +Package: glite-lb-client-dbg +Section: debug +Architecture: any +Priority: extra +Depends: libglite-lb-client11 (= ${binary:Version}), ${misc:Depends} +Description: gLite L&B client library debugging symbols + This package contains debugging symbols for gLite L&B client library. diff --git a/org.glite.lb.client/project/debian.copyright b/org.glite.lb.client/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.client/project/debian.copyright @@ -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: + + + +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.client/project/debian.glite-lb-client-progs.dirs b/org.glite.lb.client/project/debian.glite-lb-client-progs.dirs new file mode 100644 index 0000000..bb9ceb6 --- /dev/null +++ b/org.glite.lb.client/project/debian.glite-lb-client-progs.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/lib/glite-lb/exampes +usr/sbin diff --git a/org.glite.lb.client/project/debian.glite-lb-client-progs.install b/org.glite.lb.client/project/debian.glite-lb-client-progs.install new file mode 100644 index 0000000..2250368 --- /dev/null +++ b/org.glite.lb.client/project/debian.glite-lb-client-progs.install @@ -0,0 +1,3 @@ +usr/bin/* +usr/lib/glite-lb/examples/* +usr/sbin/* diff --git a/org.glite.lb.client/project/debian.libglite-lb-client-dev.dirs b/org.glite.lb.client/project/debian.libglite-lb-client-dev.dirs new file mode 100644 index 0000000..7abab4d --- /dev/null +++ b/org.glite.lb.client/project/debian.libglite-lb-client-dev.dirs @@ -0,0 +1,6 @@ +usr/include/glite/lb +usr/lib +usr/share/emi/build/m4 +usr/share/doc/glite-lb-client/examples +usr/share/man/man1 +usr/share/man/man8 diff --git a/org.glite.lb.client/project/debian.libglite-lb-client-dev.install b/org.glite.lb.client/project/debian.libglite-lb-client-dev.install new file mode 100644 index 0000000..2222094 --- /dev/null +++ b/org.glite.lb.client/project/debian.libglite-lb-client-dev.install @@ -0,0 +1,5 @@ +usr/include/glite/lb/*.h +usr/lib/lib*.so +usr/share/doc/glite-lb-client/examples/* +usr/share/emi/build/m4/* +usr/share/man/*/* diff --git a/org.glite.lb.client/project/debian.libglite-lb-client11.dirs b/org.glite.lb.client/project/debian.libglite-lb-client11.dirs new file mode 100644 index 0000000..53c4714 --- /dev/null +++ b/org.glite.lb.client/project/debian.libglite-lb-client11.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/share/doc/glite-lb-client \ No newline at end of file diff --git a/org.glite.lb.client/project/debian.libglite-lb-client11.install b/org.glite.lb.client/project/debian.libglite-lb-client11.install new file mode 100644 index 0000000..8606864 --- /dev/null +++ b/org.glite.lb.client/project/debian.libglite-lb-client11.install @@ -0,0 +1,4 @@ +usr/lib/lib*.so.* +usr/share/doc/glite-lb-client/changelog.gz +usr/share/doc/glite-lb-client/package.* +usr/share/doc/glite-lb-client/README-notify diff --git a/org.glite.lb.client/project/debian.rules b/org.glite.lb.client/project/debian.rules new file mode 100644 index 0000000..8a123ba --- /dev/null +++ b/org.glite.lb.client/project/debian.rules @@ -0,0 +1,70 @@ +#!/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 lbjp-common.log + touch $@ + +build: build-arch build-indep + +build-arch 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 + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.la + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.a + find $(CURDIR)/debian/tmp -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + mv $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-client-@MAJOR@.@MINOR@.@REVISION@ $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-client + (cd $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-client; \ + rm -fv ChangeLog LICENSE; \ + cat $(CURDIR)/project/ChangeLog | gzip -9 > changelog.gz) + +binary-indep: + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_installlogrotate + dh_installcron + dh_install --fail-missing + dh_link + dh_strip --dbg-package=glite-lb-client-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep diff --git a/org.glite.lb.common/project/debian.control b/org.glite.lb.common/project/debian.control new file mode 100644 index 0000000..fe22022 --- /dev/null +++ b/org.glite.lb.common/project/debian.control @@ -0,0 +1,34 @@ +Source: glite-lb-common +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~), chrpath, glite-lb-types, libc-ares-dev, libclassad1, libclassad-dev, libexpat1, libexpat1-dev, libcppunit-dev, libglite-jobid-api-cpp-dev, libglite-jobid-api-c-dev, libglite-lbjp-common-gss-dev, libglite-lbjp-common-trio-dev, libtool +Standards-Version: 3.9.1 +Section: libs +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: libglite-lb-common13 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ + +Package: libglite-lb-common-dev +Section: libdevel +Architecture: any +Provides: glite-lb-common +Depends: libglite-lb-common13 (= ${binary:Version}), ${misc:Depends}, libglite-jobid-api-c-dev, libglite-lbjp-common-gss-dev +Description: Development files for gLite L&B common library + This package contains development libraries and header files for gLite L&B + common library. + +Package: glite-lb-common-dbg +Section: debug +Architecture: any +Priority: extra +Depends: libglite-lb-common13 (= ${binary:Version}), ${misc:Depends} +Description: gLite L&B common library debugging symbols + This package contains debugging symbols for gLite L&B common library. diff --git a/org.glite.lb.common/project/debian.copyright b/org.glite.lb.common/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.common/project/debian.copyright @@ -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: + + + +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.common/project/debian.libglite-lb-common-dev.dirs b/org.glite.lb.common/project/debian.libglite-lb-common-dev.dirs new file mode 100644 index 0000000..bd4d272 --- /dev/null +++ b/org.glite.lb.common/project/debian.libglite-lb-common-dev.dirs @@ -0,0 +1,3 @@ +usr/include/glite/lb +usr/lib +usr/share/doc/glite-lb-common diff --git a/org.glite.lb.common/project/debian.libglite-lb-common-dev.install b/org.glite.lb.common/project/debian.libglite-lb-common-dev.install new file mode 100644 index 0000000..3053c66 --- /dev/null +++ b/org.glite.lb.common/project/debian.libglite-lb-common-dev.install @@ -0,0 +1,3 @@ +usr/include/glite/lb/*.h +usr/lib/lib*.so +usr/share/doc/glite-lb-common/* diff --git a/org.glite.lb.common/project/debian.libglite-lb-common13.dirs b/org.glite.lb.common/project/debian.libglite-lb-common13.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/org.glite.lb.common/project/debian.libglite-lb-common13.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/org.glite.lb.common/project/debian.libglite-lb-common13.install b/org.glite.lb.common/project/debian.libglite-lb-common13.install new file mode 100644 index 0000000..d0dbfd1 --- /dev/null +++ b/org.glite.lb.common/project/debian.libglite-lb-common13.install @@ -0,0 +1 @@ +usr/lib/lib*.so.* diff --git a/org.glite.lb.common/project/debian.rules b/org.glite.lb.common/project/debian.rules new file mode 100644 index 0000000..6338732 --- /dev/null +++ b/org.glite.lb.common/project/debian.rules @@ -0,0 +1,70 @@ +#!/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.common + touch $@ + +build: build-arch build-indep + +build-arch 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 + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.la + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.a + find $(CURDIR)/debian/tmp -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + mv $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-common-@MAJOR@.@MINOR@.@REVISION@ $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-common + (cd $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-common; \ + rm -fv ChangeLog LICENSE; \ + cat $(CURDIR)/project/ChangeLog | gzip -9 > changelog.gz) + +binary-indep: + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_installlogrotate + dh_installcron + dh_install --fail-missing + dh_link + dh_strip --dbg-package=glite-lb-common-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep diff --git a/org.glite.lb.doc/project/debian.control b/org.glite.lb.doc/project/debian.control new file mode 100644 index 0000000..bbc9d05 --- /dev/null +++ b/org.glite.lb.doc/project/debian.control @@ -0,0 +1,17 @@ +Source: glite-lb-doc +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~) +Standards-Version: 3.9.1 +Section: doc +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: glite-lb-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ diff --git a/org.glite.lb.doc/project/debian.copyright b/org.glite.lb.doc/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.doc/project/debian.copyright @@ -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: + + + +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.doc/project/debian.glite-lb-doc.dirs b/org.glite.lb.doc/project/debian.glite-lb-doc.dirs new file mode 100644 index 0000000..6c9585c --- /dev/null +++ b/org.glite.lb.doc/project/debian.glite-lb-doc.dirs @@ -0,0 +1,2 @@ +usr/share/doc/glite-lb-doc +usr/share/doc/glite-lb-doc/examples diff --git a/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.ag b/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.ag new file mode 100644 index 0000000..8819972 --- /dev/null +++ b/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.ag @@ -0,0 +1,7 @@ +Document: glite-lb-doc-ag +Title: Logging and Bookkeeping - Administrator's Guide +Abstract: L&B Administrator’s Guide explains how to administer the Logging and Bookkeeping (L&B) service. Several deployment scenarios are described together with the installation, configuration, running and troubleshooting steps. +Section: Network/Monitoring + +Format: PDF +Files: /usr/share/doc/glite-lb-doc/LBAG.pdf.gz diff --git a/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.dg b/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.dg new file mode 100644 index 0000000..92163e3 --- /dev/null +++ b/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.dg @@ -0,0 +1,7 @@ +Document: glite-lb-doc-dg +Title: Logging and Bookkeeping - Developer's Guide +Abstract: L&B Developer’s Guide explains how to use the Logging and Bookkeeping (L&B) service API. Logging (producer), querying (consumer) and notification API as well as the Web Services Interface is described in details together with programing examples. +Section: Network/Monitoring + +Format: PDF +Files: /usr/share/doc/glite-lb-doc/LBDG.pdf.gz diff --git a/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.tg b/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.tg new file mode 100644 index 0000000..1832cbd --- /dev/null +++ b/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.tg @@ -0,0 +1,7 @@ +Document: glite-lb-doc-tg +Title: Logging and Bookkeeping - Troubleshooting Guide +Abstract: Troubleshooting Guide for Logging and Bookkeeping (L&B) service. +Section: Network/Monitoring + +Format: PDF +Files: /usr/share/doc/glite-lb-doc/LBTG.pdf.gz diff --git a/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.tp b/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.tp new file mode 100644 index 0000000..7427999 --- /dev/null +++ b/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.tp @@ -0,0 +1,7 @@ +Document: glite-lb-doc-tp +Title: Logging and Bookkeeping - Test Plan & Test Suite Documentation +Abstract: L&B Test Plan document explains how to test the Logging and Bookkeeping (L&B) service. Two major categories of tests are described: integration tests (include installation, configuration and basic service ping tests) and system tests (basic functionality tests, performance and stress tests, interoperability tests and security tests). +Section: Network/Monitoring + +Format: PDF +Files: /usr/share/doc/glite-lb-doc/LBTP.pdf.gz diff --git a/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.ug b/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.ug new file mode 100644 index 0000000..772d1a8 --- /dev/null +++ b/org.glite.lb.doc/project/debian.glite-lb-doc.doc-base.ug @@ -0,0 +1,7 @@ +Document: glite-lb-doc-ug +Title: Logging and Bookkeeping - User's Guide +Abstract: L&B User’s Guide explains how to use the Logging and Bookkeeping (L&B) service from the user’s point of view. The service architecture is described thoroughly. Examples on using L&B event logging command to log a user tag and change job ACL are given, as well as L&B query and notification use cases. +Section: Network/Monitoring + +Format: PDF +Files: /usr/share/doc/glite-lb-doc/LBUG.pdf.gz diff --git a/org.glite.lb.doc/project/debian.glite-lb-doc.install b/org.glite.lb.doc/project/debian.glite-lb-doc.install new file mode 100644 index 0000000..fc2b692 --- /dev/null +++ b/org.glite.lb.doc/project/debian.glite-lb-doc.install @@ -0,0 +1,2 @@ +usr/share/doc/glite-lb-doc/* +usr/share/doc/glite-lb-doc/examples/* diff --git a/org.glite.lb.doc/project/debian.rules b/org.glite.lb.doc/project/debian.rules new file mode 100644 index 0000000..f516a3c --- /dev/null +++ b/org.glite.lb.doc/project/debian.rules @@ -0,0 +1,64 @@ +#!/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.doc + 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 + mv $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-doc-@MAJOR@.@MINOR@.@REVISION@ $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-doc + (cd $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-doc; \ + rm -fv ChangeLog LICENSE; \ + cat $(CURDIR)/project/ChangeLog | gzip -9 > changelog.gz) + +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.harvester/Makefile b/org.glite.lb.harvester/Makefile index 8c94ae3..a97cf79 100644 --- a/org.glite.lb.harvester/Makefile +++ b/org.glite.lb.harvester/Makefile @@ -62,7 +62,7 @@ check: debug: harvester-dbg -doc: glite-lb-harvester.8 +doc: glite-lb-harvester.1 stage: compile $(MAKE) install PREFIX=${stagedir} @@ -70,7 +70,7 @@ stage: compile install: compile -mkdir -p ${DESTDIR}${PREFIX}${prefix}/bin ${DESTDIR}${PREFIX}${prefix}/${libdir}/glite-lb/examples \ ${DESTDIR}${PREFIX}${prefix}/share/doc/${package}-${version} \ - ${DESTDIR}${PREFIX}${prefix}/share/man/man8 \ + ${DESTDIR}${PREFIX}${prefix}/share/man/man1 \ ${DESTDIR}${PREFIX}${sysconfdir}/init.d \ ${DESTDIR}${PREFIX}${sysconfdir}/glite-lb ${INSTALL} -m 755 harvester ${DESTDIR}${PREFIX}${prefix}/bin/glite-lb-harvester @@ -78,7 +78,7 @@ install: compile ${INSTALL} -m 755 ${top_srcdir}/examples/test.sh ${DESTDIR}${PREFIX}${prefix}/${libdir}/glite-lb/examples/glite-lb-harvester-test.sh ${INSTALL} -m 444 ${top_srcdir}/examples/test.sql ${DESTDIR}${PREFIX}${sysconfdir}/glite-lb/harvester-test-dbsetup.sql ${INSTALL} -m 444 ${top_srcdir}/doc/README ${DESTDIR}${PREFIX}${prefix}/share/doc/${package}-${version} - ${INSTALL} -m 444 glite-lb-harvester.8 ${DESTDIR}${PREFIX}${prefix}/share/man/man8 + ${INSTALL} -m 444 glite-lb-harvester.1 ${DESTDIR}${PREFIX}${prefix}/share/man/man1 ${INSTALL} -m 755 startup ${DESTDIR}${PREFIX}${sysconfdir}/init.d/glite-lb-harvester clean: @@ -100,8 +100,7 @@ harvester-dbg.o: harvester.c %.o: %.c ${COMPILE} -c $< -%.8: %.sgml +%.1: %.sgml docbook2man $< - mv $(@:.8=.1) $@ .PHONY: default all compile debug check doc stage install clean distclean diff --git a/org.glite.lb.harvester/project/debian.control b/org.glite.lb.harvester/project/debian.control new file mode 100644 index 0000000..faf4e53 --- /dev/null +++ b/org.glite.lb.harvester/project/debian.control @@ -0,0 +1,25 @@ +Source: glite-lb-harvester +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~), chrpath, docbook-utils, libglite-jobid-api-c-dev, libglite-lb-client-dev, libglite-lb-common-dev, libglite-lbjp-common-gss-dev, libglite-lbjp-common-db-dev, libglite-lbjp-common-log-dev, libglite-lbjp-common-trio-dev, libtool +Standards-Version: 3.9.1 +Section: misc +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: glite-lb-harvester +Section: misc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ + +Package: glite-lb-harvester-dbg +Section: debug +Architecture: any +Priority: extra +Depends: glite-lb-harvester (= ${binary:Version}), ${misc:Depends} +Description: gLite L&B harvester debugging symbols + This package contains debugging symbols for gLite L&B harvester. diff --git a/org.glite.lb.harvester/project/debian.copyright b/org.glite.lb.harvester/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.harvester/project/debian.copyright @@ -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: + + + +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.harvester/project/debian.glite-lb-harvester.dirs b/org.glite.lb.harvester/project/debian.glite-lb-harvester.dirs new file mode 100644 index 0000000..a604a74 --- /dev/null +++ b/org.glite.lb.harvester/project/debian.glite-lb-harvester.dirs @@ -0,0 +1,8 @@ +etc/glite-lb +etc/init.d +usr/bin +usr/lib +usr/lib/glite-lb +usr/lib/glite-lb/examples +usr/share/doc/glite-lb-harvester +usr/share/man/man1 diff --git a/org.glite.lb.harvester/project/debian.glite-lb-harvester.install b/org.glite.lb.harvester/project/debian.glite-lb-harvester.install new file mode 100644 index 0000000..be7803c --- /dev/null +++ b/org.glite.lb.harvester/project/debian.glite-lb-harvester.install @@ -0,0 +1,6 @@ +etc/glite-lb/* +etc/init.d/glite-lb-harvester +usr/bin/* +usr/lib/glite-lb/examples/* +usr/share/doc/glite-lb-harvester/* +usr/share/man/man1/* diff --git a/org.glite.lb.harvester/project/debian.preinst b/org.glite.lb.harvester/project/debian.preinst new file mode 100644 index 0000000..b794d76 --- /dev/null +++ b/org.glite.lb.harvester/project/debian.preinst @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +getent group glite >/dev/null || groupadd -r glite +getent passwd glite >/dev/null || useradd -r -g glite -d /var/glite -c "gLite user" glite +mkdir -p /var/glite /var/log/glite 2>/dev/null || : +chown glite:glite /var/glite /var/log/glite + +#DEBHELPER# diff --git a/org.glite.lb.harvester/project/debian.rules b/org.glite.lb.harvester/project/debian.rules new file mode 100644 index 0000000..4d69100 --- /dev/null +++ b/org.glite.lb.harvester/project/debian.rules @@ -0,0 +1,68 @@ +#!/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.harvester + touch $@ + +build: build-arch build-indep + +build-arch 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 + mv $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-harvester-@MAJOR@.@MINOR@.@REVISION@ $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-harvester + (cd $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-harvester; \ + rm -fv ChangeLog LICENSE; \ + cat $(CURDIR)/project/ChangeLog | gzip -9 > changelog.gz) + +binary-indep: + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_installlogrotate + dh_installinit --onlyscripts --no-start + dh_installcron + dh_install --fail-missing + dh_link + dh_strip --dbg-package=glite-lb-harvester-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep diff --git a/org.glite.lb.harvester/project/glite-lb-harvester.spec b/org.glite.lb.harvester/project/glite-lb-harvester.spec index d5b20ba..c845ef4 100644 --- a/org.glite.lb.harvester/project/glite-lb-harvester.spec +++ b/org.glite.lb.harvester/project/glite-lb-harvester.spec @@ -89,7 +89,7 @@ fi /usr/%{_lib}/glite-lb/examples/glite-lb-harvester-test.sh /usr/%{_lib}/glite-lb/examples/glite-lb-harvester-dbg /usr/share/doc/%{name}-%{version}/README -/usr/share/man/man8/glite-lb-harvester.8.gz +/usr/share/man/man1/glite-lb-harvester.1.gz %changelog diff --git a/org.glite.lb.logger-msg/project/debian.control b/org.glite.lb.logger-msg/project/debian.control new file mode 100644 index 0000000..efd87f3 --- /dev/null +++ b/org.glite.lb.logger-msg/project/debian.control @@ -0,0 +1,26 @@ +Source: glite-lb-logger-msg +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~), chrpath, glite-lb-logger-dev, libcppunit-dev, libglite-lbjp-common-trio-dev, libtool +#TODO: activemq-cpp-library +Standards-Version: 3.9.1 +Section: misc +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: glite-lb-logger-msg +Section: misc +Architecture: any +Depends: glite-lb-logger (= ${binary:Version}), ${misc:Depends} +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ + +Package: glite-lb-logger-msg-dbg +Section: debug +Architecture: any +Priority: extra +Depends: glite-lb-logger-msg (= ${binary:Version}), ${misc:Depends} +Description: gLite L&B logger MSG plugin debugging symbols + This package contains debugging symbols for gLite L&B logger MSG plugin. diff --git a/org.glite.lb.logger-msg/project/debian.copyright b/org.glite.lb.logger-msg/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.logger-msg/project/debian.copyright @@ -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: + + + +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.logger-msg/project/debian.glite-lb-logger-msg.dirs b/org.glite.lb.logger-msg/project/debian.glite-lb-logger-msg.dirs new file mode 100644 index 0000000..c39db3c --- /dev/null +++ b/org.glite.lb.logger-msg/project/debian.glite-lb-logger-msg.dirs @@ -0,0 +1,5 @@ +etc/glite-lb +usr/lib/glite-lb +usr/lib/glite-lb/examples +usr/share/doc/glite-lb-logger-msg +usr/share/glite-lb diff --git a/org.glite.lb.logger-msg/project/debian.glite-lb-logger-msg.install b/org.glite.lb.logger-msg/project/debian.glite-lb-logger-msg.install new file mode 100644 index 0000000..2c81cea --- /dev/null +++ b/org.glite.lb.logger-msg/project/debian.glite-lb-logger-msg.install @@ -0,0 +1,5 @@ +etc/glite-lb/* +usr/lib/activemq_cpp_plugin.so* +usr/lib/glite-lb/examples/* +usr/share/doc/glite-lb-logger-msg/* +usr/share/glite-lb/* diff --git a/org.glite.lb.logger-msg/project/debian.rules b/org.glite.lb.logger-msg/project/debian.rules new file mode 100644 index 0000000..d94ba19 --- /dev/null +++ b/org.glite.lb.logger-msg/project/debian.rules @@ -0,0 +1,70 @@ +#!/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.logger-msg + touch $@ + +build: build-arch build-indep + +build-arch 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 + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.la + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.a + find $(CURDIR)/debian/tmp -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + mv $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-logger-msg-@MAJOR@.@MINOR@.@REVISION@ $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-logger-msg + (cd $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-logger-msg; \ + rm -fv ChangeLog LICENSE; \ + cat $(CURDIR)/project/ChangeLog | gzip -9 > changelog.gz) + +binary-indep: + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_installlogrotate + dh_installcron + dh_install --fail-missing + dh_link + dh_strip --dbg-package=glite-lb-logger-msg-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep diff --git a/org.glite.lb.logger/Makefile b/org.glite.lb.logger/Makefile index 352c0e6..9078137 100644 --- a/org.glite.lb.logger/Makefile +++ b/org.glite.lb.logger/Makefile @@ -168,7 +168,7 @@ glite-lb-ws-interlogd: ${INTERLOG_WS_OBJS} ${MAN_GZ}: ${MAN} rm -f ${MAN_GZ} ${MAN} cp $? . - gzip -f $(notdir $?) + gzip -9 -f $(notdir $?) man: ${MAN_GZ} diff --git a/org.glite.lb.logger/project/debian.control b/org.glite.lb.logger/project/debian.control new file mode 100644 index 0000000..c747d76 --- /dev/null +++ b/org.glite.lb.logger/project/debian.control @@ -0,0 +1,32 @@ +Source: glite-lb-logger +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~), chrpath, libcppunit-dev, libglite-jobid-api-c-dev, libglite-lbjp-common-gss-dev, libglite-lbjp-common-log-dev, libglite-lbjp-common-trio-dev, libtool +Standards-Version: 3.9.1 +Section: misc +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: glite-lb-logger +Section: misc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ + +Package: glite-lb-logger-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, glite-lb-logger (= ${binary:Version}), libglite-lb-common-dev, libglite-lbjp-common-gss-dev, libglite-lbjp-common-log-dev +Description: Development files for gLite L&B logger + This package contains header files for building plugins for gLite L&B logger. + +Package: glite-lb-logger-dbg +Section: debug +Architecture: any +Priority: extra +Depends: glite-lb-logger (= ${binary:Version}), ${misc:Depends} +Description: gLite L&B logger debugging symbols + This package contains debugging symbols for gLite L&B logger. diff --git a/org.glite.lb.logger/project/debian.copyright b/org.glite.lb.logger/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.logger/project/debian.copyright @@ -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: + + + +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.logger/project/debian.glite-lb-logger-dev.dirs b/org.glite.lb.logger/project/debian.glite-lb-logger-dev.dirs new file mode 100644 index 0000000..bc8c4e4 --- /dev/null +++ b/org.glite.lb.logger/project/debian.glite-lb-logger-dev.dirs @@ -0,0 +1,2 @@ +usr/include/glite +usr/include/glite/lb diff --git a/org.glite.lb.logger/project/debian.glite-lb-logger-dev.install b/org.glite.lb.logger/project/debian.glite-lb-logger-dev.install new file mode 100644 index 0000000..1ba945e --- /dev/null +++ b/org.glite.lb.logger/project/debian.glite-lb-logger-dev.install @@ -0,0 +1 @@ +usr/include/glite/lb/* diff --git a/org.glite.lb.logger/project/debian.glite-lb-logger.dirs b/org.glite.lb.logger/project/debian.glite-lb-logger.dirs new file mode 100644 index 0000000..20263a7 --- /dev/null +++ b/org.glite.lb.logger/project/debian.glite-lb-logger.dirs @@ -0,0 +1,4 @@ +etc/init.d +usr/bin +usr/share/doc/glite-lb-logger +usr/share/man/man8 diff --git a/org.glite.lb.logger/project/debian.glite-lb-logger.install b/org.glite.lb.logger/project/debian.glite-lb-logger.install new file mode 100644 index 0000000..796a685 --- /dev/null +++ b/org.glite.lb.logger/project/debian.glite-lb-logger.install @@ -0,0 +1,4 @@ +etc/init.d/* +usr/bin/* +usr/share/doc/glite-lb-logger/* +usr/share/man/man8/* diff --git a/org.glite.lb.logger/project/debian.preinst b/org.glite.lb.logger/project/debian.preinst new file mode 100644 index 0000000..b794d76 --- /dev/null +++ b/org.glite.lb.logger/project/debian.preinst @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +getent group glite >/dev/null || groupadd -r glite +getent passwd glite >/dev/null || useradd -r -g glite -d /var/glite -c "gLite user" glite +mkdir -p /var/glite /var/log/glite 2>/dev/null || : +chown glite:glite /var/glite /var/log/glite + +#DEBHELPER# diff --git a/org.glite.lb.logger/project/debian.rules b/org.glite.lb.logger/project/debian.rules new file mode 100644 index 0000000..0cc1ad3 --- /dev/null +++ b/org.glite.lb.logger/project/debian.rules @@ -0,0 +1,69 @@ +#!/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.logger + touch $@ + +build: build-arch build-indep + +build-arch 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 + find $(CURDIR)/debian/tmp -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + mv $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-logger-@MAJOR@.@MINOR@.@REVISION@ $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-logger + (cd $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-logger; \ + rm -fv ChangeLog LICENSE; \ + cat $(CURDIR)/project/ChangeLog | gzip -9 > changelog.gz) + +binary-indep: + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_installlogrotate + dh_installinit --onlyscripts --no-start --name=glite-lb-locallogger + dh_installcron + dh_install --fail-missing + dh_link + dh_strip --dbg-package=glite-lb-logger-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep diff --git a/org.glite.lb.nagios/project/debian.control b/org.glite.lb.nagios/project/debian.control new file mode 100644 index 0000000..e6b8f45 --- /dev/null +++ b/org.glite.lb.nagios/project/debian.control @@ -0,0 +1,18 @@ +Source: emi-lb-nagios-plugins +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-nagios-plugins +Section: net +Architecture: all +Depends: ${misc:Depends}, glite-lb-client-progs, glite-lb-utils, glite-lb-ws-test, globus-proxy-utils +Provides: glite-lb-nagios-plugins +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ diff --git a/org.glite.lb.nagios/project/debian.copyright b/org.glite.lb.nagios/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.nagios/project/debian.copyright @@ -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: + + + +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.nagios/project/debian.emi-lb-nagios-plugins.dirs b/org.glite.lb.nagios/project/debian.emi-lb-nagios-plugins.dirs new file mode 100644 index 0000000..ef6a7fa --- /dev/null +++ b/org.glite.lb.nagios/project/debian.emi-lb-nagios-plugins.dirs @@ -0,0 +1,6 @@ +usr/share/doc/emi-lb-nagios-plugins +usr/libexec/grid-monitoring +usr/libexec/grid-monitoring/probes +usr/libexec/grid-monitoring/probes/emi.lb +var/lib/grid-monitoring +var/lib/grid-monitoring/emi.lb diff --git a/org.glite.lb.nagios/project/debian.emi-lb-nagios-plugins.install b/org.glite.lb.nagios/project/debian.emi-lb-nagios-plugins.install new file mode 100644 index 0000000..909c0df --- /dev/null +++ b/org.glite.lb.nagios/project/debian.emi-lb-nagios-plugins.install @@ -0,0 +1,2 @@ +usr/share/doc/emi-lb-nagios-plugins/* +usr/libexec/grid-monitoring/probes/emi.lb/* diff --git a/org.glite.lb.nagios/project/debian.postinst b/org.glite.lb.nagios/project/debian.postinst new file mode 100644 index 0000000..b87808a --- /dev/null +++ b/org.glite.lb.nagios/project/debian.postinst @@ -0,0 +1,4 @@ +#!/bin/sh +set -e +chown nagios:nagios /usr/libexec/grid-monitoring/probes/emi.lb >/dev/null 2>&1 || : +#DEBHELPER# diff --git a/org.glite.lb.nagios/project/debian.rules b/org.glite.lb.nagios/project/debian.rules new file mode 100644 index 0000000..a92b20d --- /dev/null +++ b/org.glite.lb.nagios/project/debian.rules @@ -0,0 +1,64 @@ +#!/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.nagios + 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 + mv $(CURDIR)/debian/tmp/usr/share/doc/emi-lb-nagios-plugins-@MAJOR@.@MINOR@.@REVISION@ $(CURDIR)/debian/tmp/usr/share/doc/emi-lb-nagios-plugins + (cd $(CURDIR)/debian/tmp/usr/share/doc/emi-lb-nagios-plugins; \ + rm -fv ChangeLog LICENSE; \ + cat $(CURDIR)/project/ChangeLog | gzip -9 > changelog.gz) + +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.server/Makefile b/org.glite.lb.server/Makefile index 09bea31..1e22403 100644 --- a/org.glite.lb.server/Makefile +++ b/org.glite.lb.server/Makefile @@ -337,7 +337,7 @@ man: ${MAN_GZ} ${MAN_GZ}: ${MAN} cp $? . - gzip -f $(notdir $?) + gzip -9 -f $(notdir $?) stage: compile $(MAKE) install PREFIX=${stagedir} DOSTAGE=yes diff --git a/org.glite.lb.server/project/debian.control b/org.glite.lb.server/project/debian.control new file mode 100644 index 0000000..9e5e70a --- /dev/null +++ b/org.glite.lb.server/project/debian.control @@ -0,0 +1,26 @@ +Source: glite-lb-server +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~), bison, chrpath, flex, glite-lb-types, glite-lb-ws-interface, gsoap, libc-ares-dev, libc-ares2, libclassad-dev, libclassad1, libcppunit-dev, libexpat1, libexpat1-dev, libglobus-gssapi-gsi-dev, libglite-jobid-api-c-dev, libglite-lb-common-dev, libglite-lb-state-machine-dev, libglite-lbjp-common-db-dev, libglite-lbjp-common-gss-dev, libglite-lbjp-common-gsoap-plugin-dev, libglite-lbjp-common-log-dev, libglite-lbjp-common-maildir-dev, libglite-lbjp-common-server-bones-dev, libglite-lbjp-common-trio-dev, libgridsite-dev, libmysqlclient-dev, libtool, libxml2, libxml2-dev, libvomsapi1, voms-dev +#TODO: lcas +Standards-Version: 3.9.1 +Section: misc +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: glite-lb-server +Section: misc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, mysql-server +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ + +Package: glite-lb-server-dbg +Section: debug +Architecture: any +Priority: extra +Depends: glite-lb-server (= ${binary:Version}), ${misc:Depends} +Description: gLite L&B server debugging symbols + This package contains debugging symbols for gLite L&B server. diff --git a/org.glite.lb.server/project/debian.copyright b/org.glite.lb.server/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.server/project/debian.copyright @@ -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: + + + +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.server/project/debian.glite-lb-server.dirs b/org.glite.lb.server/project/debian.glite-lb-server.dirs new file mode 100644 index 0000000..50c91fc --- /dev/null +++ b/org.glite.lb.server/project/debian.glite-lb-server.dirs @@ -0,0 +1,13 @@ +etc/cron.d +etc/glite-lb +etc/init.d +etc/logrotate.d +usr/bin +usr/include +usr/include/glite +usr/include/glite/lb +usr/lib +usr/lib/modules +usr/share/doc/glite-lb-server +usr/share/man/man1 +usr/share/man/man8 diff --git a/org.glite.lb.server/project/debian.glite-lb-server.install b/org.glite.lb.server/project/debian.glite-lb-server.install new file mode 100644 index 0000000..420ae8d --- /dev/null +++ b/org.glite.lb.server/project/debian.glite-lb-server.install @@ -0,0 +1,11 @@ +etc/cron.d/* +etc/glite-lb/* +etc/init.d/* +etc/logrotate.d/* +etc/* +usr/bin/* +usr/include/glite/lb/* +usr/lib/modules/* +usr/share/doc/glite-lb-server/* +usr/share/man/man1/* +usr/share/man/man8/* diff --git a/org.glite.lb.server/project/debian.preinst b/org.glite.lb.server/project/debian.preinst new file mode 100644 index 0000000..b794d76 --- /dev/null +++ b/org.glite.lb.server/project/debian.preinst @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +getent group glite >/dev/null || groupadd -r glite +getent passwd glite >/dev/null || useradd -r -g glite -d /var/glite -c "gLite user" glite +mkdir -p /var/glite /var/log/glite 2>/dev/null || : +chown glite:glite /var/glite /var/log/glite + +#DEBHELPER# diff --git a/org.glite.lb.server/project/debian.rules b/org.glite.lb.server/project/debian.rules new file mode 100644 index 0000000..8c02c6c --- /dev/null +++ b/org.glite.lb.server/project/debian.rules @@ -0,0 +1,70 @@ +#!/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.server + touch $@ + +build: build-arch build-indep + +build-arch 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 + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.la + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.a + mv $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-server-@MAJOR@.@MINOR@.@REVISION@ $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-server + (cd $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-server; \ + rm -fv ChangeLog LICENSE; \ + cat $(CURDIR)/project/ChangeLog | gzip -9 > changelog.gz) + +binary-indep: + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_installlogrotate + dh_installinit --onlyscripts --no-start + dh_installcron + dh_install --fail-missing + dh_link + dh_strip --dbg-package=glite-lb-server-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep diff --git a/org.glite.lb.state-machine/project/debian.control b/org.glite.lb.state-machine/project/debian.control new file mode 100644 index 0000000..e223971 --- /dev/null +++ b/org.glite.lb.state-machine/project/debian.control @@ -0,0 +1,34 @@ +Source: glite-lb-state-machine +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~), chrpath, glite-lb-types, libclassad-dev, libexpat1-dev, libglite-jobid-api-c-dev, libglite-lb-common-dev, libglite-lbjp-common-db-dev, libglite-lbjp-common-gss-dev, libglite-lbjp-common-jp-interface-dev, libglite-lbjp-common-trio-dev, libtool, xsltproc +Standards-Version: 3.9.1 +Section: libs +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: libglite-lb-state-machine1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ + +Package: libglite-lb-state-machine-dev +Section: libdevel +Architecture: any +Provides: glite-lb-state-machine +Depends: libglite-lb-state-machine1 (= ${binary:Version}), ${misc:Depends}, libglite-lb-common-dev, libglite-lbjp-common-gss-dev +Description: Development files for gLite L&B state machine + This package contains development libraries and header files for gLite L&B + state machine. + +Package: glite-lb-state-machine-dbg +Section: debug +Architecture: any +Priority: extra +Depends: libglite-lb-state-machine1 (= ${binary:Version}), ${misc:Depends}, libglite-jobid-api-c-dev +Description: gLite L&B state-machine debugging symbols + This package contains debugging symbols for gLite L&B state machine. diff --git a/org.glite.lb.state-machine/project/debian.copyright b/org.glite.lb.state-machine/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.state-machine/project/debian.copyright @@ -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: + + + +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.state-machine/project/debian.libglite-lb-state-machine-dev.dirs b/org.glite.lb.state-machine/project/debian.libglite-lb-state-machine-dev.dirs new file mode 100644 index 0000000..bdd8023 --- /dev/null +++ b/org.glite.lb.state-machine/project/debian.libglite-lb-state-machine-dev.dirs @@ -0,0 +1,3 @@ +usr/include/glite/lb +usr/interface +usr/lib diff --git a/org.glite.lb.state-machine/project/debian.libglite-lb-state-machine-dev.install b/org.glite.lb.state-machine/project/debian.libglite-lb-state-machine-dev.install new file mode 100644 index 0000000..83f2ea4 --- /dev/null +++ b/org.glite.lb.state-machine/project/debian.libglite-lb-state-machine-dev.install @@ -0,0 +1,4 @@ +usr/include/glite/lb/*.h +usr/interface/*.xsd +usr/lib/lib*.so +usr/lib/glite*.so \ No newline at end of file diff --git a/org.glite.lb.state-machine/project/debian.libglite-lb-state-machine1.dirs b/org.glite.lb.state-machine/project/debian.libglite-lb-state-machine1.dirs new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/org.glite.lb.state-machine/project/debian.libglite-lb-state-machine1.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/org.glite.lb.state-machine/project/debian.libglite-lb-state-machine1.install b/org.glite.lb.state-machine/project/debian.libglite-lb-state-machine1.install new file mode 100644 index 0000000..30560ad --- /dev/null +++ b/org.glite.lb.state-machine/project/debian.libglite-lb-state-machine1.install @@ -0,0 +1,2 @@ +usr/lib/lib*.so.* +usr/lib/glite*.so.* diff --git a/org.glite.lb.state-machine/project/debian.rules b/org.glite.lb.state-machine/project/debian.rules new file mode 100644 index 0000000..aef06e5 --- /dev/null +++ b/org.glite.lb.state-machine/project/debian.rules @@ -0,0 +1,66 @@ +#!/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.state-machine + touch $@ + +build: build-arch build-indep + +build-arch 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 + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.la + rm -vf $(CURDIR)/debian/tmp/usr/lib/*.a + find $(CURDIR)/debian/tmp -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + +binary-indep: + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_installlogrotate + dh_installcron + dh_install --fail-missing + dh_link + dh_strip --dbg-package=glite-lb-state-machine-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep diff --git a/org.glite.lb.types/project/debian.control b/org.glite.lb.types/project/debian.control new file mode 100644 index 0000000..0d4d721 --- /dev/null +++ b/org.glite.lb.types/project/debian.control @@ -0,0 +1,17 @@ +Source: glite-lb-types +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~) +Standards-Version: 3.9.1 +Section: devel +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: glite-lb-types +Section: devel +Architecture: all +Depends: ${misc:Depends} +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ diff --git a/org.glite.lb.types/project/debian.copyright b/org.glite.lb.types/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.types/project/debian.copyright @@ -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: + + + +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.types/project/debian.glite-lb-types.dirs b/org.glite.lb.types/project/debian.glite-lb-types.dirs new file mode 100644 index 0000000..42f8b40 --- /dev/null +++ b/org.glite.lb.types/project/debian.glite-lb-types.dirs @@ -0,0 +1 @@ +usr/share/perl/gLite/LB diff --git a/org.glite.lb.types/project/debian.glite-lb-types.install b/org.glite.lb.types/project/debian.glite-lb-types.install new file mode 100644 index 0000000..f3e6ebf --- /dev/null +++ b/org.glite.lb.types/project/debian.glite-lb-types.install @@ -0,0 +1,3 @@ +usr/sbin/* +usr/share/perl/gLite/LB/*.pm +usr/share/glite-lb/at3/*.T diff --git a/org.glite.lb.types/project/debian.rules b/org.glite.lb.types/project/debian.rules new file mode 100644 index 0000000..22f8801 --- /dev/null +++ b/org.glite.lb.types/project/debian.rules @@ -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.types + 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 diff --git a/org.glite.lb.utils/Makefile b/org.glite.lb.utils/Makefile index b447860..79d1758 100644 --- a/org.glite.lb.utils/Makefile +++ b/org.glite.lb.utils/Makefile @@ -93,10 +93,10 @@ doc: ${MAN_GZ} ${MAN8_GZ} ${MAN_GZ}: ${MAN} cp $? . - gzip -f $(notdir $?) + gzip -9 -f $(notdir $?) ${MAN8_GZ}: ${MAN8} cp $? . - gzip -f $(notdir $?) + gzip -9 -f $(notdir $?) stage: compile $(MAKE) install PREFIX=${stagedir} DOSTAGE=yes diff --git a/org.glite.lb.utils/project/debian.control b/org.glite.lb.utils/project/debian.control new file mode 100644 index 0000000..5995178 --- /dev/null +++ b/org.glite.lb.utils/project/debian.control @@ -0,0 +1,25 @@ +Source: glite-lb-utils +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~), chrpath, glite-lb-types, libcppunit-dev, libglite-jobid-api-c-dev, libglite-lb-client-dev, libglite-lb-state-machine-dev, libglite-lbjp-common-jp-interface-dev, libglite-lbjp-common-maildir-dev, libglite-lbjp-common-trio-dev +Standards-Version: 3.9.1 +Section: misc +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: glite-lb-utils +Section: misc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ + +Package: glite-lb-utils-dbg +Section: debug +Architecture: any +Priority: extra +Depends: glite-lb-utils (= ${binary:Version}), ${misc:Depends} +Description: gLite L&B utils debugging symbols + This package contains debugging symbols for gLite L&B utils. diff --git a/org.glite.lb.utils/project/debian.copyright b/org.glite.lb.utils/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.utils/project/debian.copyright @@ -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: + + + +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.utils/project/debian.glite-lb-utils.dirs b/org.glite.lb.utils/project/debian.glite-lb-utils.dirs new file mode 100644 index 0000000..a9fb97f --- /dev/null +++ b/org.glite.lb.utils/project/debian.glite-lb-utils.dirs @@ -0,0 +1,4 @@ +usr/bin +usr/share/doc/glite-lb-utils +usr/share/man/man1 +usr/share/man/man8 diff --git a/org.glite.lb.utils/project/debian.glite-lb-utils.install b/org.glite.lb.utils/project/debian.glite-lb-utils.install new file mode 100644 index 0000000..f8a4475 --- /dev/null +++ b/org.glite.lb.utils/project/debian.glite-lb-utils.install @@ -0,0 +1,4 @@ +usr/bin/* +usr/share/doc/glite-lb-utils/* +usr/share/man/man1/* +usr/share/man/man8/* diff --git a/org.glite.lb.utils/project/debian.rules b/org.glite.lb.utils/project/debian.rules new file mode 100644 index 0000000..330ec7c --- /dev/null +++ b/org.glite.lb.utils/project/debian.rules @@ -0,0 +1,68 @@ +#!/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.utils + touch $@ + +build: build-arch build-indep + +build-arch 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 + find $(CURDIR)/debian/tmp -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + mv $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-utils-@MAJOR@.@MINOR@.@REVISION@ $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-utils + (cd $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-utils; \ + rm -fv ChangeLog LICENSE; \ + cat $(CURDIR)/project/ChangeLog | gzip -9 > changelog.gz) + +binary-indep: + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_installlogrotate + dh_installcron + dh_install --fail-missing + dh_link + dh_strip --dbg-package=glite-lb-utils-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep diff --git a/org.glite.lb.ws-interface/Makefile b/org.glite.lb.ws-interface/Makefile index c605766..25cf760 100644 --- a/org.glite.lb.ws-interface/Makefile +++ b/org.glite.lb.ws-interface/Makefile @@ -41,7 +41,7 @@ glue2-copy.xsd: install: -mkdir -p ${DESTDIR}${PREFIX}${prefix}/${STAGETO} - -mkdir -p ${DESTDIR}${PREFIX}${prefix}/share/doc/${package}-${version}/examples + -mkdir -p ${DESTDIR}${PREFIX}${prefix}/share/doc/${package}-${version} -mkdir -p ${DESTDIR}${PREFIX}${prefix}/include/${globalprefix}/${lbprefix} install -m 644 ${top_srcdir}/LICENSE ${DESTDIR}${PREFIX}${prefix}/share/doc/${package}-${version} ( cd ${top_srcdir}/project && install -m 644 ChangeLog package.description package.summary ${DESTDIR}${PREFIX}${prefix}/share/doc/${package}-${version} ) diff --git a/org.glite.lb.ws-interface/project/debian.control b/org.glite.lb.ws-interface/project/debian.control new file mode 100644 index 0000000..5361236 --- /dev/null +++ b/org.glite.lb.ws-interface/project/debian.control @@ -0,0 +1,17 @@ +Source: glite-lb-ws-interface +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~), glite-lb-types, tidy, xsltproc +Standards-Version: 3.9.1 +Section: libs +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: glite-lb-ws-interface +Section: libs +Architecture: all +Depends: ${misc:Depends} +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ diff --git a/org.glite.lb.ws-interface/project/debian.copyright b/org.glite.lb.ws-interface/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.ws-interface/project/debian.copyright @@ -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: + + + +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.ws-interface/project/debian.glite-lb-ws-interface.dirs b/org.glite.lb.ws-interface/project/debian.glite-lb-ws-interface.dirs new file mode 100644 index 0000000..6098c27 --- /dev/null +++ b/org.glite.lb.ws-interface/project/debian.glite-lb-ws-interface.dirs @@ -0,0 +1,3 @@ +usr/include/glite/lb +usr/share/doc/glite-lb-ws-interface +usr/share/wsdl/glite-lb diff --git a/org.glite.lb.ws-interface/project/debian.glite-lb-ws-interface.install b/org.glite.lb.ws-interface/project/debian.glite-lb-ws-interface.install new file mode 100644 index 0000000..c44a452 --- /dev/null +++ b/org.glite.lb.ws-interface/project/debian.glite-lb-ws-interface.install @@ -0,0 +1,3 @@ +usr/include/glite/lb/*.h +usr/share/doc/glite-lb-ws-interface/* +usr/share/wsdl/glite-lb/* diff --git a/org.glite.lb.ws-interface/project/debian.rules b/org.glite.lb.ws-interface/project/debian.rules new file mode 100644 index 0000000..345840f --- /dev/null +++ b/org.glite.lb.ws-interface/project/debian.rules @@ -0,0 +1,64 @@ +#!/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.ws-interface + 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 + mv $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-ws-interface-@MAJOR@.@MINOR@.@REVISION@ $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-ws-interface + (cd $(CURDIR)/debian/tmp/usr/share/doc/glite-lb-ws-interface; \ + rm -fv ChangeLog LICENSE; \ + cat $(CURDIR)/project/ChangeLog | gzip -9 > changelog.gz) + +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.ws-interface/project/glite-lb-ws-interface.spec b/org.glite.lb.ws-interface/project/glite-lb-ws-interface.spec index f2ae1b0..cf8c412 100644 --- a/org.glite.lb.ws-interface/project/glite-lb-ws-interface.spec +++ b/org.glite.lb.ws-interface/project/glite-lb-ws-interface.spec @@ -47,7 +47,6 @@ rm -rf $RPM_BUILD_ROOT %dir /usr/include/glite/ %dir /usr/include/glite/lb/ %dir /usr/share/doc/%{name}-%{version}/ -%dir /usr/share/doc/%{name}-%{version}/examples/ %dir /usr/share/wsdl/ %dir /usr/share/wsdl/glite-lb/ /usr/include/glite/lb/ws_interface_version.h diff --git a/org.glite.lb.ws-test/project/debian.control b/org.glite.lb.ws-test/project/debian.control new file mode 100644 index 0000000..5cdd9b4 --- /dev/null +++ b/org.glite.lb.ws-test/project/debian.control @@ -0,0 +1,25 @@ +Source: glite-lb-ws-test +Priority: extra +Maintainer: @MAINTAINER@ +Uploaders: @UPLOADERS@ +Build-Depends: debhelper (>= 7.0.50~), chrpath, gsoap, glite-lb-ws-interface, libglite-lbjp-common-gsoap-plugin-dev, libtool +Standards-Version: 3.9.1 +Section: misc +Homepage: @URL@ +DM-Upload-Allowed: yes +@DEBIAN_VCS@ + +Package: glite-lb-ws-test +Section: misc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, glite-lb-ws-interface +Description: @SUMMARY@ +@DEBIAN_DESCRIPTION@ + +Package: glite-lb-ws-test-dbg +Section: debug +Architecture: any +Priority: extra +Depends: glite-lb-ws-test (= ${binary:Version}), ${misc:Depends} +Description: gLite L&B Web Service tests debugging symbols + This package contains debugging symbols for gLite L&B Web Service tests. diff --git a/org.glite.lb.ws-test/project/debian.copyright b/org.glite.lb.ws-test/project/debian.copyright new file mode 100644 index 0000000..3d762ae --- /dev/null +++ b/org.glite.lb.ws-test/project/debian.copyright @@ -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: + + + +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.ws-test/project/debian.glite-lb-ws-test.dirs b/org.glite.lb.ws-test/project/debian.glite-lb-ws-test.dirs new file mode 100644 index 0000000..2c6f64e --- /dev/null +++ b/org.glite.lb.ws-test/project/debian.glite-lb-ws-test.dirs @@ -0,0 +1,2 @@ +usr/lib/glite-lb +usr/lib/glite-lb/examples diff --git a/org.glite.lb.ws-test/project/debian.glite-lb-ws-test.install b/org.glite.lb.ws-test/project/debian.glite-lb-ws-test.install new file mode 100644 index 0000000..b154e17 --- /dev/null +++ b/org.glite.lb.ws-test/project/debian.glite-lb-ws-test.install @@ -0,0 +1 @@ +usr/lib/glite-lb/examples/* diff --git a/org.glite.lb.ws-test/project/debian.rules b/org.glite.lb.ws-test/project/debian.rules new file mode 100644 index 0000000..bd00cb0 --- /dev/null +++ b/org.glite.lb.ws-test/project/debian.rules @@ -0,0 +1,64 @@ +#!/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.ws-test + touch $@ + +build: build-arch build-indep + +build-arch 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 + find $(CURDIR)/debian/tmp -name '*' -print | xargs -I {} -i bash -c "chrpath -d {} > /dev/null 2>&1" || echo 'Stripped RPATH' + +binary-indep: + +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_installlogrotate + dh_installcron + dh_install --fail-missing + dh_link + dh_strip --dbg-package=glite-lb-ws-test-dbg + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-arch binary-indep -- 1.8.2.3