Import package vendor original specs for necessary manipulations.

Thu, 08 Jan 2009 14:18:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 08 Jan 2009 14:18:04 +0100
changeset 41
e3adaa7471f5
parent 40
d8bc8fd2a27c
child 42
23f1d7d13217

Import package vendor original specs for necessary manipulations.

easysoap/easysoap.patch file | annotate | diff | comparison | revisions
easysoap/easysoap.spec file | annotate | diff | comparison | revisions
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/easysoap/easysoap.patch	Thu Jan 08 14:18:04 2009 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +Index: src/SOAPSSLContext.cpp
     1.5 +--- src/SOAPSSLContext.cpp.orig	2005-09-24 09:24:24 +0200
     1.6 ++++ src/SOAPSSLContext.cpp	2006-11-11 09:19:55 +0100
     1.7 +@@ -18,6 +18,7 @@
     1.8 +  *
     1.9 +  * $Id: easysoap.patch,v 1.4 2006/11/11 08:50:52 rse Exp $
    1.10 +  */
    1.11 ++#define OPENSSL_NO_SHA512
    1.12 + 
    1.13 + #include <easysoap/SOAP.h>
    1.14 + #include <easysoap/SOAPDebugger.h>
    1.15 +Index: src/SOAPSecureSocketImp.cpp
    1.16 +--- src/SOAPSecureSocketImp.cpp.orig	2005-09-24 09:24:24 +0200
    1.17 ++++ src/SOAPSecureSocketImp.cpp	2006-11-11 09:19:02 +0100
    1.18 +@@ -24,6 +24,8 @@
    1.19 + #pragma warning (disable: 4786)
    1.20 + #endif // _MSC_VER
    1.21 + 
    1.22 ++#define OPENSSL_NO_SHA512
    1.23 ++
    1.24 + #include <easysoap/SOAP.h>
    1.25 + #include <easysoap/SOAPDebugger.h>
    1.26 + #include <easysoap/SOAPSSLContext.h>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/easysoap/easysoap.spec	Thu Jan 08 14:18:04 2009 +0100
     2.3 @@ -0,0 +1,92 @@
     2.4 +##
     2.5 +##  easysoap.spec -- OpenPKG RPM Package Specification
     2.6 +##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
     2.7 +##
     2.8 +##  Permission to use, copy, modify, and distribute this software for
     2.9 +##  any purpose with or without fee is hereby granted, provided that
    2.10 +##  the above copyright notice and this permission notice appear in all
    2.11 +##  copies.
    2.12 +##
    2.13 +##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    2.14 +##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    2.15 +##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
    2.16 +##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
    2.17 +##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    2.18 +##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    2.19 +##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
    2.20 +##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    2.21 +##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    2.22 +##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    2.23 +##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    2.24 +##  SUCH DAMAGE.
    2.25 +##
    2.26 +
    2.27 +#   package information
    2.28 +Name:         easysoap
    2.29 +Summary:      SOAP Implemention in C++
    2.30 +URL:          http://easysoap.sourceforge.net/
    2.31 +Vendor:       David Crowley
    2.32 +Packager:     OpenPKG Foundation e.V.
    2.33 +Distribution: OpenPKG Community
    2.34 +Class:        EVAL
    2.35 +Group:        RPC
    2.36 +License:      LGPL
    2.37 +Version:      0.8.0
    2.38 +Release:      20080101
    2.39 +
    2.40 +#   list of sources
    2.41 +Source0:      http://switch.dl.sourceforge.net/easysoap/EasySoap++-%{version}.tar.gz
    2.42 +Patch0:       easysoap.patch
    2.43 +
    2.44 +#   build information
    2.45 +Prefix:       %{l_prefix}
    2.46 +BuildRoot:    %{l_buildroot}
    2.47 +BuildPreReq:  OpenPKG, openpkg >= 20040130, expat, openssl, gcc, make
    2.48 +PreReq:       OpenPKG, openpkg >= 20040130, expat, openssl
    2.49 +AutoReq:      no
    2.50 +AutoReqProv:  no
    2.51 +
    2.52 +%description
    2.53 +    EasySoap++ is a lightweight SOAP implementation written in C++. It
    2.54 +    implements most of the SOAP specification, and interoperates well
    2.55 +    with many other soap implementations.
    2.56 +
    2.57 +%track
    2.58 +    prog easysoap = {
    2.59 +        version   = %{version}
    2.60 +        url       = http://prdownloads.sourceforge.net/easysoap/
    2.61 +        regex     = EasySoap\+\+-(__VER__)\.tar\.gz
    2.62 +    }
    2.63 +
    2.64 +%prep
    2.65 +    %setup -q -n EasySoap++-%{version}
    2.66 +    %{l_shtool} subst \
    2.67 +        -e 's;\(SUBDIRS *= *include src\).*;\1;' \
    2.68 +        Makefile.in
    2.69 +    %patch -p0
    2.70 +
    2.71 +%build
    2.72 +    CC="%{l_cc}" \
    2.73 +    CXX="%{l_cxx}" \
    2.74 +    CFLAGS="%{l_cflags -O}" \
    2.75 +    CXXFLAGS="%{l_cxxflags -O}" \
    2.76 +    CPPFLAGS="%{l_cppflags}" \
    2.77 +    LDFLAGS="%{l_ldflags}" \
    2.78 +    ./configure \
    2.79 +        --prefix=%{l_prefix} \
    2.80 +        --disable-shared
    2.81 +    %{l_make} %{l_mflags}
    2.82 +
    2.83 +%install
    2.84 +    rm -rf $RPM_BUILD_ROOT
    2.85 +    %{l_shtool} mkdir -f -p -m 755 \
    2.86 +        $RPM_BUILD_ROOT%{l_prefix}/lib \
    2.87 +        $RPM_BUILD_ROOT%{l_prefix}/include/easysoap
    2.88 +    %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
    2.89 +    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
    2.90 +
    2.91 +%files -f files
    2.92 +
    2.93 +%clean
    2.94 +    rm -rf $RPM_BUILD_ROOT
    2.95 +

mercurial