Browse Source

new package: libmsgque 2.6 (Message Queuing Infrastructure Library)

master
parent
commit
9607de6957
  1. 41
      libmsgque/libmsgque.patch
  2. 91
      libmsgque/libmsgque.spec

41
libmsgque/libmsgque.patch

@ -0,0 +1,41 @@
Index: Makefile.in
--- Makefile.in.orig 2009-01-28 12:20:34 +0100
+++ Makefile.in 2009-01-31 11:26:58 +0100
@@ -204,7 +204,7 @@
top_srcdir = @top_srcdir@
AUTOMAKE_OPTIONS = check-news
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = src tclmsgque acmds tests docs/tclmsgque docs
+SUBDIRS = src
CTAGSFLAGS = --c-kinds=+p
EXTRA_DIST = m4 make_binary_dist.sh
all: config.h
Index: configure
--- configure.orig 2009-01-28 12:20:32 +0100
+++ configure 2009-01-31 11:26:00 +0100
@@ -20239,11 +20239,6 @@
fi
## check if a public 'tcl.h' header file is available
- if test ! -f "${TCL_INCLUDE_DIR}/tcl.h"; then
- { { echo "$as_me:$LINENO: error: Could not find tcl.h in ${TCL_INCLUDE_DIR}" >&5
-echo "$as_me: error: Could not find tcl.h in ${TCL_INCLUDE_DIR}" >&2;}
- { (exit 1); exit 1; }; }
- fi
## check for empty TCL_INCLUDE_SPEC
test -z ${TCL_INCLUDE_SPEC} && TCL_INCLUDE_SPEC="-I${TCL_INCLUDE_DIR}"
@@ -20254,13 +20249,6 @@
done
done
-if test -z "$TCL_LIBS"; then
- { echo "$as_me:$LINENO: result: not found" >&5
-echo "${ECHO_T}not found" >&6; }
- { { echo "$as_me:$LINENO: error: Could not find tclConfig.sh in any of '$tclcnf'" >&5
-echo "$as_me: error: Could not find tclConfig.sh in any of '$tclcnf'" >&2;}
- { (exit 1); exit 1; }; }
-fi
#------------------------------------

91
libmsgque/libmsgque.spec

@ -0,0 +1,91 @@
##
## libmsgque.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: libmsgque
Summary: Message Queuing Infrastructure Library
URL: http://libmsgque.sourceforge.net/
Vendor: Andreas Otto
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Libraries
License: GPL
Version: 2.6
Release: 20090131
# list of sources
Source0: http://switch.dl.sourceforge.net/libmsgque/libmsgque-%{version}.tar.gz
Patch0: libmsgque.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060823
PreReq: OpenPKG, openpkg >= 20060823
AutoReq: no
AutoReqProv: no
%description
The libmsgque project is an infrastructure for linking applications
together to act like a single application. This is done using unix
or inet domain sockets. The framework handles all aspects of setting
up and maintaining the link.
%track
prog libmsgque = {
version = %{version}
url = http://prdownloads.sourceforge.net/libmsgque/
regex = libmsgque-(__VER__)\.tar\.gz
}
%prep
%setup -q
%patch -p0
%build
( echo "#!/bin/sh"
echo "true"
) >tclConfig.sh
chmod a+x tclConfig.sh
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
CPPFLAGS="%{l_cppflags}" \
LDFLAGS="%{l_ldflags}" \
./configure \
--prefix=%{l_prefix} \
--with-tclcfg-path=`pwd` \
--disable-shared
%{l_make} %{l_mflags -O}
%install
rm -rf $RPM_BUILD_ROOT
%{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
Loading…
Cancel
Save