1 Summary: The Simple Object Access Protocol Qt-based client side library
5 License: LGPLv2 with exceptions or GPLv3
7 URL: http://qt.gitorious.org/qt-solutions/qt-solutions/trees/master/qtsoap
8 # Source0: http://get.qt.nokia.com/qt/solutions/lgpl/qtsoap-%{version}_1-opensource.tar.gz
9 Source0: http://ftp.icm.edu.pl/packages/qt/solutions/lgpl/%{name}-%{version}_1-opensource.tar.gz
10 # Source0-md5: 3bb3c0ba836eccb94b6f75ba289b0213
11 Patch0: %{name}-2.7_1-opensource-install-pub-headers.patch
12 BuildRequires: QtCore-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 The SOAP (Simple Object Access Protocol) library uses the XML standard
17 for describing how to exchange messages. Its primary usage is to
18 invoke web services and get responses from Qt-based applications.
21 Summary: Development files for %{name}
22 Group: Development/Libraries
23 Requires: %{name} = %{version}-%{release}
26 Development files for %{name}.
29 %setup -q -n %{name}-%{version}_1-opensource
31 # headers are not installed for shared library
32 %patch0 -p1 -b .install-pub-headers
34 sed -i 's:$$DESTDIR:%{_libdir}:g' buildlib/buildlib.pro
37 # we want shared library
38 echo "SOLUTIONS_LIBRARY = yes" > config.pri
40 echo "QTSOAP_LIBNAME = \$\$qtLibraryTarget(qtsoap)" >> common.pri
41 echo "VERSION=%{version}" >> common.pri
49 rm -rf $RPM_BUILD_ROOT
52 INSTALL_ROOT=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
57 %post -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
61 %defattr(644,root,root,755)
62 %doc README.TXT LGPL_EXCEPTION.txt
63 %attr(755,root,root) %ghost %{_libdir}/libqtsoap.so.2
64 %attr(755,root,root) %{_libdir}/libqtsoap.so.*.*
67 %defattr(644,root,root,755)
68 %doc LGPL_EXCEPTION.txt
69 %attr(755,root,root) %{_libdir}/libqtsoap.so
70 %{_includedir}/qt4/QtSoap