easysoap/easysoap.spec

Thu, 08 Jan 2009 23:33:58 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 08 Jan 2009 23:33:58 +0100
changeset 50
5b891b5b7234
parent 41
e3adaa7471f5
child 85
e6a1cd7ed6ba
permissions
-rw-r--r--

Correct missing LINGUAS definition in Makefile for man directory.

michael@41 1 ##
michael@41 2 ## easysoap.spec -- OpenPKG RPM Package Specification
michael@41 3 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
michael@41 4 ##
michael@41 5 ## Permission to use, copy, modify, and distribute this software for
michael@41 6 ## any purpose with or without fee is hereby granted, provided that
michael@41 7 ## the above copyright notice and this permission notice appear in all
michael@41 8 ## copies.
michael@41 9 ##
michael@41 10 ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
michael@41 11 ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
michael@41 12 ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
michael@41 13 ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
michael@41 14 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
michael@41 15 ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
michael@41 16 ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
michael@41 17 ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
michael@41 18 ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
michael@41 19 ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
michael@41 20 ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
michael@41 21 ## SUCH DAMAGE.
michael@41 22 ##
michael@41 23
michael@41 24 # package information
michael@41 25 Name: easysoap
michael@41 26 Summary: SOAP Implemention in C++
michael@41 27 URL: http://easysoap.sourceforge.net/
michael@41 28 Vendor: David Crowley
michael@41 29 Packager: OpenPKG Foundation e.V.
michael@41 30 Distribution: OpenPKG Community
michael@41 31 Class: EVAL
michael@41 32 Group: RPC
michael@41 33 License: LGPL
michael@41 34 Version: 0.8.0
michael@42 35 Release: 20090106
michael@41 36
michael@41 37 # list of sources
michael@41 38 Source0: http://switch.dl.sourceforge.net/easysoap/EasySoap++-%{version}.tar.gz
michael@41 39 Patch0: easysoap.patch
michael@41 40
michael@41 41 # build information
michael@41 42 Prefix: %{l_prefix}
michael@41 43 BuildRoot: %{l_buildroot}
michael@41 44 BuildPreReq: OpenPKG, openpkg >= 20040130, expat, openssl, gcc, make
michael@41 45 PreReq: OpenPKG, openpkg >= 20040130, expat, openssl
michael@41 46 AutoReq: no
michael@41 47 AutoReqProv: no
michael@41 48
michael@41 49 %description
michael@41 50 EasySoap++ is a lightweight SOAP implementation written in C++. It
michael@41 51 implements most of the SOAP specification, and interoperates well
michael@41 52 with many other soap implementations.
michael@41 53
michael@41 54 %track
michael@41 55 prog easysoap = {
michael@41 56 version = %{version}
michael@41 57 url = http://prdownloads.sourceforge.net/easysoap/
michael@41 58 regex = EasySoap\+\+-(__VER__)\.tar\.gz
michael@41 59 }
michael@41 60
michael@41 61 %prep
michael@41 62 %setup -q -n EasySoap++-%{version}
michael@41 63 %{l_shtool} subst \
michael@41 64 -e 's;\(SUBDIRS *= *include src\).*;\1;' \
michael@41 65 Makefile.in
michael@41 66 %patch -p0
michael@42 67 chmod +x conftools/install-sh
michael@41 68
michael@41 69 %build
michael@41 70 CC="%{l_cc}" \
michael@41 71 CXX="%{l_cxx}" \
michael@41 72 CFLAGS="%{l_cflags -O}" \
michael@41 73 CXXFLAGS="%{l_cxxflags -O}" \
michael@41 74 CPPFLAGS="%{l_cppflags}" \
michael@41 75 LDFLAGS="%{l_ldflags}" \
michael@41 76 ./configure \
michael@41 77 --prefix=%{l_prefix} \
michael@41 78 --disable-shared
michael@41 79 %{l_make} %{l_mflags}
michael@41 80
michael@41 81 %install
michael@41 82 rm -rf $RPM_BUILD_ROOT
michael@41 83 %{l_shtool} mkdir -f -p -m 755 \
michael@41 84 $RPM_BUILD_ROOT%{l_prefix}/lib \
michael@41 85 $RPM_BUILD_ROOT%{l_prefix}/include/easysoap
michael@41 86 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
michael@41 87 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
michael@41 88
michael@41 89 %files -f files
michael@41 90
michael@41 91 %clean
michael@41 92 rm -rf $RPM_BUILD_ROOT
michael@41 93

mercurial