From 5e77a1daa46f1b757b08f65895778f803575469c Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 16 Dec 2009 14:43:50 +0100 Subject: debian package added --- packages/debian/README.Debian | 6 ++ packages/debian/changelog | 6 ++ packages/debian/cl-zeromq.files | 7 ++ packages/debian/cl-zeromq.install | 6 ++ packages/debian/cl-zeromq.links | 1 + packages/debian/compat | 1 + packages/debian/control | 123 ++++++++++++++++++++++++++++ packages/debian/copyright | 18 +++++ packages/debian/dirs | 2 + packages/debian/docs | 2 + packages/debian/libzeromq-dev.files | 37 +++++++++ packages/debian/libzeromq-dev.install | 19 +++++ packages/debian/libzeromq-python.files | 1 + packages/debian/libzeromq-python.install | 1 + packages/debian/libzeromq-ruby.files | 1 + packages/debian/libzeromq-ruby.install | 1 + packages/debian/libzeromq0.files | 2 + packages/debian/libzeromq0.install | 1 + packages/debian/rules | 135 +++++++++++++++++++++++++++++++ packages/debian/shlibs.local | 1 + packages/debian/zeromq-utils.files | 6 ++ packages/debian/zeromq-utils.install | 6 ++ 22 files changed, 383 insertions(+) create mode 100644 packages/debian/README.Debian create mode 100644 packages/debian/changelog create mode 100644 packages/debian/cl-zeromq.files create mode 100644 packages/debian/cl-zeromq.install create mode 100644 packages/debian/cl-zeromq.links create mode 100644 packages/debian/compat create mode 100644 packages/debian/control create mode 100644 packages/debian/copyright create mode 100644 packages/debian/dirs create mode 100644 packages/debian/docs create mode 100644 packages/debian/libzeromq-dev.files create mode 100644 packages/debian/libzeromq-dev.install create mode 100644 packages/debian/libzeromq-python.files create mode 100644 packages/debian/libzeromq-python.install create mode 100644 packages/debian/libzeromq-ruby.files create mode 100644 packages/debian/libzeromq-ruby.install create mode 100644 packages/debian/libzeromq0.files create mode 100644 packages/debian/libzeromq0.install create mode 100755 packages/debian/rules create mode 100644 packages/debian/shlibs.local create mode 100644 packages/debian/zeromq-utils.files create mode 100644 packages/debian/zeromq-utils.install (limited to 'packages/debian') diff --git a/packages/debian/README.Debian b/packages/debian/README.Debian new file mode 100644 index 0000000..4f447cc --- /dev/null +++ b/packages/debian/README.Debian @@ -0,0 +1,6 @@ +zeromq for Debian +----------------- + + + + -- Peter Busser Tue, 15 Dec 2009 16:11:38 +0100 diff --git a/packages/debian/changelog b/packages/debian/changelog new file mode 100644 index 0000000..5c6f2c5 --- /dev/null +++ b/packages/debian/changelog @@ -0,0 +1,6 @@ +zeromq (1.9-1m) unstable; urgency=low + + * Initial release. + + -- Peter Busser Tue, 15 Dec 2009 16:11:38 +0100 + diff --git a/packages/debian/cl-zeromq.files b/packages/debian/cl-zeromq.files new file mode 100644 index 0000000..0f94c78 --- /dev/null +++ b/packages/debian/cl-zeromq.files @@ -0,0 +1,7 @@ +usr/share/common-lisp/source/meta.lisp +usr/share/common-lisp/source/package.lisp +usr/share/common-lisp/source/zeromq-api.lisp +usr/share/common-lisp/source/zeromq.asd +usr/share/common-lisp/source/zeromq.lisp +usr/share/common-lisp/systems/zeromq.asd +usr/share/man/man7/zmq_cl.7 diff --git a/packages/debian/cl-zeromq.install b/packages/debian/cl-zeromq.install new file mode 100644 index 0000000..636e923 --- /dev/null +++ b/packages/debian/cl-zeromq.install @@ -0,0 +1,6 @@ +bindings/cl/meta.lisp usr/share/common-lisp/source/ +bindings/cl/package.lisp usr/share/common-lisp/source/ +bindings/cl/zeromq-api.lisp usr/share/common-lisp/source/ +bindings/cl/zeromq.asd usr/share/common-lisp/source/ +bindings/cl/zeromq.lisp usr/share/common-lisp/source/ +usr/share/man/man7/zmq_cl.7 usr/share/man/man7/ diff --git a/packages/debian/cl-zeromq.links b/packages/debian/cl-zeromq.links new file mode 100644 index 0000000..b3e79ff --- /dev/null +++ b/packages/debian/cl-zeromq.links @@ -0,0 +1 @@ +usr/share/common-lisp/source/zeromq.asd usr/share/common-lisp/systems/zeromq.asd diff --git a/packages/debian/compat b/packages/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/packages/debian/compat @@ -0,0 +1 @@ +7 diff --git a/packages/debian/control b/packages/debian/control new file mode 100644 index 0000000..aa556d0 --- /dev/null +++ b/packages/debian/control @@ -0,0 +1,123 @@ +Source: zeromq +Priority: extra +Maintainer: Peter Busser +Build-Depends: debhelper (>= 7), uuid-dev, autoconf, pkg-config, automake, libtool, libglib2.0-dev, python-all-dev, python-dev, python-central +Standards-Version: 3.7.3 +Section: libs +Homepage: http://www.zeromq.org/ +Vcs-Git: git://githumb.com/sustrik/zeromq2.git + +Package: libzeromq-dev +Section: libdevel +Architecture: any +Depends: libzeromq0 (= ${binary:Version}) +Description: Library for ZeroMQ + ZeroMQ is a very fast, thin messaging implementation which supports different + messaging models. It reaches 13.4 microseconds end-to-end latencies and up to + 4,100,000 messages a second today. It requires only a couple of pages in + resident memory. It supports different wire protocols: TCP, PGM, AMQP, and + SCTP. + . + There are C, C++, Lisp, Java, Python, Ruby, and .NET language APis. + . + It is fully distributed: no central servers to crash, millions of WAN and + LAN nodes. It is an extensible framework: kernel-style drivers for custom + hardware, protocols, or applications. + . + This package contains ZeroMQ related development libraries and header files. + +Package: libzeromq0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + ZeroMQ is a very fast, thin messaging implementation which supports different + messaging models. It reaches 13.4 microseconds end-to-end latencies and up to + 4,100,000 messages a second today. It requires only a couple of pages in + resident memory. It supports different wire protocols: TCP, PGM, AMQP, and + SCTP. + . + There are C, C++, Lisp, Java, Python, Ruby, and .NET language APis. + . + It is fully distributed: no central servers to crash, millions of WAN and + LAN nodes. It is an extensible framework: kernel-style drivers for custom + hardware, protocols, or applications. + . + This package contains the ZeroMQ shared library. + +Package: cl-zeromq +Section: devel +Architecture: all +Depends: libzeromq0 (= ${binary:Version}), common-lisp-controller, cl-cffi, cl-trivial-garbage, cl-iolib +Description: + ZeroMQ is a very fast, thin messaging implementation which supports different + messaging models. It reaches 13.4 microseconds end-to-end latencies and up to + 4,100,000 messages a second today. It requires only a couple of pages in + resident memory. It supports different wire protocols: TCP, PGM, AMQP, and + SCTP. + . + There are C, C++, Lisp, Java, Python, Ruby, and .NET language APis. + . + It is fully distributed: no central servers to crash, millions of WAN and + LAN nodes. It is an extensible framework: kernel-style drivers for custom + hardware, protocols, or applications. + . + This package contains the ZeroMQ Common Lisp bindings. + +Package: zeromq-utils +Section: utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + ZeroMQ is a very fast, thin messaging implementation which supports different + messaging models. It reaches 13.4 microseconds end-to-end latencies and up to + 4,100,000 messages a second today. It requires only a couple of pages in + resident memory. It supports different wire protocols: TCP, PGM, AMQP, and + SCTP. + . + There are C, C++, Lisp, Java, Python, Ruby, and .NET language APis. + . + It is fully distributed: no central servers to crash, millions of WAN and + LAN nodes. It is an extensible framework: kernel-style drivers for custom + hardware, protocols, or applications. + . + This package contains a few ZeroMQ related utilities. + +Package: libzeromq-ruby +Section: ruby +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + ZeroMQ is a very fast, thin messaging implementation which supports different + messaging models. It reaches 13.4 microseconds end-to-end latencies and up to + 4,100,000 messages a second today. It requires only a couple of pages in + resident memory. It supports different wire protocols: TCP, PGM, AMQP, and + SCTP. + . + There are C, C++, Lisp, Java, Python, Ruby, and .NET language APis. + . + It is fully distributed: no central servers to crash, millions of WAN and + LAN nodes. It is an extensible framework: kernel-style drivers for custom + hardware, protocols, or applications. + . + This package contains the Ruby bindings for ZeroMQ. + +Package: libzeromq-python +Section: python +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: + ZeroMQ is a very fast, thin messaging implementation which supports different + messaging models. It reaches 13.4 microseconds end-to-end latencies and up to + 4,100,000 messages a second today. It requires only a couple of pages in + resident memory. It supports different wire protocols: TCP, PGM, AMQP, and + SCTP. + . + There are C, C++, Lisp, Java, Python, Ruby, and .NET language APis. + . + It is fully distributed: no central servers to crash, millions of WAN and + LAN nodes. It is an extensible framework: kernel-style drivers for custom + hardware, protocols, or applications. + . + This package contains the Python bindings for ZeroMQ. + diff --git a/packages/debian/copyright b/packages/debian/copyright new file mode 100644 index 0000000..d6c3320 --- /dev/null +++ b/packages/debian/copyright @@ -0,0 +1,18 @@ +This package was debianized by Peter Busser on +Tue, 15 Dec 2009 16:11:38 +0100. + +It was downloaded from http://www.zeromq.org/ + +Upstream Author(s): iMatix Corporation + +Copyright: + Copyright (C) 2007-2009 by iMatix Corporation + +License: + +The Debian packaging is (C) 2009, Peter Busser + +It is licensed under the LGPL3, see `/usr/share/common-licenses/GPL-3' and +`/usr/share/common-licenses/LGPL-3'. + + diff --git a/packages/debian/dirs b/packages/debian/dirs new file mode 100644 index 0000000..36ea3df --- /dev/null +++ b/packages/debian/dirs @@ -0,0 +1,2 @@ +usr/share/common-lisp/source +usr/share/common-lisp/systems diff --git a/packages/debian/docs b/packages/debian/docs new file mode 100644 index 0000000..50bd824 --- /dev/null +++ b/packages/debian/docs @@ -0,0 +1,2 @@ +NEWS +README diff --git a/packages/debian/libzeromq-dev.files b/packages/debian/libzeromq-dev.files new file mode 100644 index 0000000..78f55ba --- /dev/null +++ b/packages/debian/libzeromq-dev.files @@ -0,0 +1,37 @@ +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so +usr/lib/pkgconfig/* +usr/lib/*.la +usr/share/pkgconfig/* +usr/share/man/man7/zmq_udp.7 +usr/share/man/man7/zmq_tcp.7 +usr/share/man/man7/zmq_pgm.7 +usr/share/man/man7/zmq.7 +usr/share/man/man7/zmq_cpp.7 +usr/share/man/man7/zmq_inproc.7 +usr/share/man/man3/zmq_msg_copy.3 +usr/share/man/man3/zmq_msg_move.3 +usr/share/man/man3/zmq_send.3 +usr/share/man/man3/zmq_flush.3 +usr/share/man/man3/zmq_msg_init_size.3 +usr/share/man/man3/zmq_msg_data.3 +usr/share/man/man3/zmq_close.3 +usr/share/man/man3/zmq_msg_close.3 +usr/share/man/man3/zmq_term.3 +usr/share/man/man3/zmq_recv.3 +usr/share/man/man3/zmq_init.3 +usr/share/man/man3/zmq_socket.3 +usr/share/man/man3/zmq_msg_init.3 +usr/share/man/man3/zmq_msg_size.3 +usr/share/man/man3/zmq_poll.3 +usr/share/man/man3/zmq_bind.3 +usr/share/man/man3/zmq_connect.3 +usr/share/man/man3/zmq_setsockopt.3 +usr/share/man/man3/zmq_strerror.3 +usr/share/man/man7/zmq_udp.7 +usr/share/man/man7/zmq_tcp.7 +usr/share/man/man7/zmq_pgm.7 +usr/share/man/man7/zmq.7 +usr/share/man/man7/zmq_cpp.7 +usr/share/man/man7/zmq_inproc.7 diff --git a/packages/debian/libzeromq-dev.install b/packages/debian/libzeromq-dev.install new file mode 100644 index 0000000..7da7950 --- /dev/null +++ b/packages/debian/libzeromq-dev.install @@ -0,0 +1,19 @@ +usr/include/* usr/include +usr/lib/libzmq.la usr/lib +usr/lib/libzmq.a usr/lib +usr/lib/pkgconfig/libzmq.pc usr/lib/pkgconfig/ +usr/lib/libzmq.so usr/lib/ +usr/share/man/man3/*3 usr/share/man/man3 +usr/share/man/man7/zmq_udp.7 usr/share/man/man7 +usr/share/man/man7/zmq_tcp.7 usr/share/man/man7 +usr/share/man/man7/zmq_pgm.7 usr/share/man/man7 +usr/share/man/man7/zmq.7 usr/share/man/man7 +usr/share/man/man7/zmq_cpp.7 usr/share/man/man7 +usr/share/man/man7/zmq_inproc.7 usr/share/man/man7 +usr/share/man/man7/zmq_udp.7 usr/share/man/man7 +usr/share/man/man7/zmq_tcp.7 usr/share/man/man7 +usr/share/man/man7/zmq_pgm.7 usr/share/man/man7 +usr/share/man/man7/zmq.7 usr/share/man/man7 +usr/share/man/man7/zmq_cpp.7 usr/share/man/man7 +usr/share/man/man7/zmq_inproc.7 usr/share/man/man7 + diff --git a/packages/debian/libzeromq-python.files b/packages/debian/libzeromq-python.files new file mode 100644 index 0000000..74b2b29 --- /dev/null +++ b/packages/debian/libzeromq-python.files @@ -0,0 +1 @@ +usr/share/man/man7/zmq_python.7 diff --git a/packages/debian/libzeromq-python.install b/packages/debian/libzeromq-python.install new file mode 100644 index 0000000..a290f70 --- /dev/null +++ b/packages/debian/libzeromq-python.install @@ -0,0 +1 @@ +usr/share/man/man7/zmq_python.7 usr/share/man/man7/ diff --git a/packages/debian/libzeromq-ruby.files b/packages/debian/libzeromq-ruby.files new file mode 100644 index 0000000..098bac5 --- /dev/null +++ b/packages/debian/libzeromq-ruby.files @@ -0,0 +1 @@ +usr/share/man/man7/zmq_ruby.7 diff --git a/packages/debian/libzeromq-ruby.install b/packages/debian/libzeromq-ruby.install new file mode 100644 index 0000000..681ffab --- /dev/null +++ b/packages/debian/libzeromq-ruby.install @@ -0,0 +1 @@ +usr/share/man/man7/zmq_ruby.7 usr/share/man/man7 diff --git a/packages/debian/libzeromq0.files b/packages/debian/libzeromq0.files new file mode 100644 index 0000000..f105647 --- /dev/null +++ b/packages/debian/libzeromq0.files @@ -0,0 +1,2 @@ +usr/lib/libzmq.so.0 +usr/lib/libzmq.so.0.0.0 diff --git a/packages/debian/libzeromq0.install b/packages/debian/libzeromq0.install new file mode 100644 index 0000000..b25b4ae --- /dev/null +++ b/packages/debian/libzeromq0.install @@ -0,0 +1 @@ +usr/lib/libzmq.so.* usr/lib diff --git a/packages/debian/rules b/packages/debian/rules new file mode 100755 index 0000000..ee1a059 --- /dev/null +++ b/packages/debian/rules @@ -0,0 +1,135 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + + + +# shared library versions, option 1 +version=0.0.0 +major=0 + +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +#version=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +#major=`ls src/.libs/lib*.so.* | \ +# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + + +pkg := cl-zeromq +debpkg := cl-zeromq +clc-source := usr/share/common-lisp/source +clc-systems := usr/share/common-lisp/systems +clc-cl-zeromq := $(clc-source)/$(pkg) + +rubydir := /usr/lib/ruby/1.8/$(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)-$(shell dpkg-architecture -qDEB_BUILD_ARCH_OS) + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + ./autogen.sh + +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + ./configure $(CROSS) \ + --prefix=/usr \ + --with-c \ + --with-cpp \ + --with-pgm \ + --with-pgm-examples \ + --with-forwarder \ + --with-streamer \ + --with-queue \ + --with-perf \ + --with-chat \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + CFLAGS="$(CFLAGS)" \ + LDFLAGS="-Wl,-z,defs" + + touch configure-stamp + + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. +# $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + (cd $(CURDIR)/debian/tmp;find *) + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install --fail-missing + dh_install --list-missing +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/packages/debian/shlibs.local b/packages/debian/shlibs.local new file mode 100644 index 0000000..0e3fa88 --- /dev/null +++ b/packages/debian/shlibs.local @@ -0,0 +1 @@ +libzmq 2.0 libzeromq0 (>> 2.0-0), libzeromq0 (<< 2.0-99) diff --git a/packages/debian/zeromq-utils.files b/packages/debian/zeromq-utils.files new file mode 100644 index 0000000..c112ff6 --- /dev/null +++ b/packages/debian/zeromq-utils.files @@ -0,0 +1,6 @@ +usr/bin/zmq_forwarder +usr/bin/zmq_queue +usr/bin/zmq_streamer +usr/share/man/man1/zmq_forwarder.1 +usr/share/man/man1/zmq_queue.1 +usr/share/man/man1/zmq_streamer.1 diff --git a/packages/debian/zeromq-utils.install b/packages/debian/zeromq-utils.install new file mode 100644 index 0000000..c2f5776 --- /dev/null +++ b/packages/debian/zeromq-utils.install @@ -0,0 +1,6 @@ +usr/bin/zmq_forwarder /usr/bin +usr/bin/zmq_queue /usr/bin +usr/bin/zmq_streamer /usr/bin +usr/share/man/man1/zmq_forwarder.1 /usr/share/man/man1 +usr/share/man/man1/zmq_queue.1 /usr/share/man/man1 +usr/share/man/man1/zmq_streamer.1 /usr/share/man/man1 -- cgit v1.2.3