Mon, 28 Jan 2013 17:37:18 +0100
Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.
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@85 | 44 | BuildPreReq: OpenPKG, openpkg >= 20040130 |
michael@85 | 45 | PreReq: OpenPKG, openpkg >= 20040130 |
michael@85 | 46 | BuildPreReq: make, gcc, gcc::with_cxx = yes |
michael@85 | 47 | BuildPreReq: expat, openssl |
michael@85 | 48 | PreReq: expat, openssl |
michael@41 | 49 | AutoReq: no |
michael@41 | 50 | AutoReqProv: no |
michael@41 | 51 | |
michael@41 | 52 | %description |
michael@41 | 53 | EasySoap++ is a lightweight SOAP implementation written in C++. It |
michael@41 | 54 | implements most of the SOAP specification, and interoperates well |
michael@41 | 55 | with many other soap implementations. |
michael@41 | 56 | |
michael@41 | 57 | %track |
michael@41 | 58 | prog easysoap = { |
michael@41 | 59 | version = %{version} |
michael@41 | 60 | url = http://prdownloads.sourceforge.net/easysoap/ |
michael@41 | 61 | regex = EasySoap\+\+-(__VER__)\.tar\.gz |
michael@41 | 62 | } |
michael@41 | 63 | |
michael@41 | 64 | %prep |
michael@41 | 65 | %setup -q -n EasySoap++-%{version} |
michael@41 | 66 | %{l_shtool} subst \ |
michael@41 | 67 | -e 's;\(SUBDIRS *= *include src\).*;\1;' \ |
michael@41 | 68 | Makefile.in |
michael@41 | 69 | %patch -p0 |
michael@42 | 70 | chmod +x conftools/install-sh |
michael@41 | 71 | |
michael@41 | 72 | %build |
michael@41 | 73 | CC="%{l_cc}" \ |
michael@41 | 74 | CXX="%{l_cxx}" \ |
michael@41 | 75 | CFLAGS="%{l_cflags -O}" \ |
michael@41 | 76 | CXXFLAGS="%{l_cxxflags -O}" \ |
michael@41 | 77 | CPPFLAGS="%{l_cppflags}" \ |
michael@41 | 78 | LDFLAGS="%{l_ldflags}" \ |
michael@41 | 79 | ./configure \ |
michael@41 | 80 | --prefix=%{l_prefix} \ |
michael@41 | 81 | --disable-shared |
michael@41 | 82 | %{l_make} %{l_mflags} |
michael@41 | 83 | |
michael@41 | 84 | %install |
michael@41 | 85 | rm -rf $RPM_BUILD_ROOT |
michael@41 | 86 | %{l_shtool} mkdir -f -p -m 755 \ |
michael@41 | 87 | $RPM_BUILD_ROOT%{l_prefix}/lib \ |
michael@41 | 88 | $RPM_BUILD_ROOT%{l_prefix}/include/easysoap |
michael@41 | 89 | %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
michael@41 | 90 | %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
michael@41 | 91 | |
michael@41 | 92 | %files -f files |
michael@41 | 93 | |
michael@41 | 94 | %clean |
michael@41 | 95 | rm -rf $RPM_BUILD_ROOT |
michael@41 | 96 |