michael@41: ## michael@41: ## easysoap.spec -- OpenPKG RPM Package Specification michael@41: ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. michael@41: ## michael@41: ## Permission to use, copy, modify, and distribute this software for michael@41: ## any purpose with or without fee is hereby granted, provided that michael@41: ## the above copyright notice and this permission notice appear in all michael@41: ## copies. michael@41: ## michael@41: ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED michael@41: ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF michael@41: ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. michael@41: ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR michael@41: ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, michael@41: ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT michael@41: ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF michael@41: ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND michael@41: ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, michael@41: ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT michael@41: ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF michael@41: ## SUCH DAMAGE. michael@41: ## michael@41: michael@41: # package information michael@41: Name: easysoap michael@41: Summary: SOAP Implemention in C++ michael@41: URL: http://easysoap.sourceforge.net/ michael@41: Vendor: David Crowley michael@41: Packager: OpenPKG Foundation e.V. michael@41: Distribution: OpenPKG Community michael@41: Class: EVAL michael@41: Group: RPC michael@41: License: LGPL michael@41: Version: 0.8.0 michael@42: Release: 20090106 michael@41: michael@41: # list of sources michael@41: Source0: http://switch.dl.sourceforge.net/easysoap/EasySoap++-%{version}.tar.gz michael@41: Patch0: easysoap.patch michael@41: michael@41: # build information michael@41: Prefix: %{l_prefix} michael@41: BuildRoot: %{l_buildroot} michael@85: BuildPreReq: OpenPKG, openpkg >= 20040130 michael@85: PreReq: OpenPKG, openpkg >= 20040130 michael@85: BuildPreReq: make, gcc, gcc::with_cxx = yes michael@85: BuildPreReq: expat, openssl michael@85: PreReq: expat, openssl michael@41: AutoReq: no michael@41: AutoReqProv: no michael@41: michael@41: %description michael@41: EasySoap++ is a lightweight SOAP implementation written in C++. It michael@41: implements most of the SOAP specification, and interoperates well michael@41: with many other soap implementations. michael@41: michael@41: %track michael@41: prog easysoap = { michael@41: version = %{version} michael@41: url = http://prdownloads.sourceforge.net/easysoap/ michael@41: regex = EasySoap\+\+-(__VER__)\.tar\.gz michael@41: } michael@41: michael@41: %prep michael@41: %setup -q -n EasySoap++-%{version} michael@41: %{l_shtool} subst \ michael@41: -e 's;\(SUBDIRS *= *include src\).*;\1;' \ michael@41: Makefile.in michael@41: %patch -p0 michael@42: chmod +x conftools/install-sh michael@41: michael@41: %build michael@41: CC="%{l_cc}" \ michael@41: CXX="%{l_cxx}" \ michael@41: CFLAGS="%{l_cflags -O}" \ michael@41: CXXFLAGS="%{l_cxxflags -O}" \ michael@41: CPPFLAGS="%{l_cppflags}" \ michael@41: LDFLAGS="%{l_ldflags}" \ michael@41: ./configure \ michael@41: --prefix=%{l_prefix} \ michael@41: --disable-shared michael@41: %{l_make} %{l_mflags} michael@41: michael@41: %install michael@41: rm -rf $RPM_BUILD_ROOT michael@41: %{l_shtool} mkdir -f -p -m 755 \ michael@41: $RPM_BUILD_ROOT%{l_prefix}/lib \ michael@41: $RPM_BUILD_ROOT%{l_prefix}/include/easysoap michael@41: %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT michael@41: %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} michael@41: michael@41: %files -f files michael@41: michael@41: %clean michael@41: rm -rf $RPM_BUILD_ROOT michael@41: