gsoap/gsoap.spec

97 lines
3.9 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: gsoap
Version: 2.8.22
Release: 1mamba
Summary: An open source C and C++ software development toolkit for SOAP/XML Web services
Group: Applications/Web
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://gsoap2.sourceforge.net/
Source: http://downloads.sourceforge.net/project/gsoap2/gSOAP/gsoap_%{version}.zip
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libopenssl-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The gSOAP toolkit is an open source C and C++ software development toolkit for SOAP/XML Web services and generic (non-SOAP) C/C++ XML data bindings. The toolkit analyzes WSDLs and XML schemas (separately or as a combined set) and maps the XML schema types and the SOAP messaging protocols to easy-to-use and efficient C and C++ code. It also supports exposing (legacy) C and C++ applications as SOAP/XML Web services by auto-generating XML serialization code and WSDL specifications. Or you can simply use it to automatically convert XML to/from C and C++ data. The toolkit supports options to generate pure ANSI C or C++ with or without STL.
%package devel
Summary: An open source C and C++ software development toolkit for SOAP/XML Web services
Group: Development/Libraries
%description devel
The gSOAP toolkit is an open source C and C++ software development toolkit for SOAP/XML Web services and generic (non-SOAP) C/C++ XML data bindings. The toolkit analyzes WSDLs and XML schemas (separately or as a combined set) and maps the XML schema types and the SOAP messaging protocols to easy-to-use and efficient C and C++ code. It also supports exposing (legacy) C and C++ applications as SOAP/XML Web services by auto-generating XML serialization code and WSDL specifications. Or you can simply use it to automatically convert XML to/from C and C++ data. The toolkit supports options to generate pure ANSI C or C++ with or without STL.
%prep
%setup -q -n gsoap-%{majver}
%build
%configure
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files devel
%defattr(-,root,root)
%{_bindir}/soapcpp2
%{_bindir}/wsdl2h
%{_includedir}/stdsoap2.h
%{_libdir}/libgsoap++.a
%{_libdir}/libgsoap.a
%{_libdir}/libgsoapck++.a
%{_libdir}/libgsoapck.a
%{_libdir}/libgsoapssl++.a
%{_libdir}/libgsoapssl.a
%{_libdir}/pkgconfig/gsoap++.pc
%{_libdir}/pkgconfig/gsoap.pc
%{_libdir}/pkgconfig/gsoapck++.pc
%{_libdir}/pkgconfig/gsoapck.pc
%{_libdir}/pkgconfig/gsoapssl++.pc
%{_libdir}/pkgconfig/gsoapssl.pc
%dir %{_datadir}/gsoap
%dir %{_datadir}/gsoap/WS
%{_datadir}/gsoap/WS/*
%dir %{_datadir}/gsoap/custom
%{_datadir}/gsoap/custom/*
%dir %{_datadir}/gsoap/extras
%{_datadir}/gsoap/extras/*
%dir %{_datadir}/gsoap/import
%{_datadir}/gsoap/import/*
%dir %{_datadir}/gsoap/plugin
%{_datadir}/gsoap/plugin/*
%doc README.txt
%changelog
* Wed Apr 22 2015 Automatic Build System <autodist@mambasoft.it> 2.8.22-1mamba
- automatic version update by autodist
* Fri Feb 13 2015 Automatic Build System <autodist@mambasoft.it> 2.8.21-1mamba
- automatic version update by autodist
* Mon Oct 27 2014 Automatic Build System <autodist@mambasoft.it> 2.8.18-1mamba
- automatic version update by autodist
* Wed Jan 22 2014 Automatic Build System <autodist@mambasoft.it> 2.8.17-1mamba
- automatic version update by autodist
* Mon Oct 28 2013 Automatic Build System <autodist@mambasoft.it> 2.8.16-1mamba
- automatic version update by autodist
* Mon Apr 23 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.8-1mamba
- update to 2.8.8
* Sun Oct 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.4-1mamba
- package created by autospec