1 Summary: The Simple Object Access Protocol Qt-based client side library
5 License: LGPL v2 with exceptions or GPL v3
7 # Source0: http://get.qt.nokia.com/qt/solutions/lgpl/qtsoap-%{version}_1-opensource.tar.gz
8 Source0: http://ftp.icm.edu.pl/packages/qt/solutions/lgpl/%{name}-%{version}_1-opensource.tar.gz
9 # Source0-md5: 3bb3c0ba836eccb94b6f75ba289b0213
10 Patch0: %{name}-2.7_1-opensource-install-pub-headers.patch
11 URL: http://qt.gitorious.org/qt-solutions/qt-solutions/trees/master/qtsoap
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
30 # headers are not installed for shared library
33 sed -i 's:$$DESTDIR:%{_libdir}:g' buildlib/buildlib.pro
36 # we want shared library
37 echo "SOLUTIONS_LIBRARY = yes" > config.pri
38 echo "QTSOAP_LIBNAME = \$\$qtLibraryTarget(qtsoap)" >> common.pri
39 echo "VERSION=%{version}" >> common.pri
46 rm -rf $RPM_BUILD_ROOT
48 INSTALL_ROOT=$RPM_BUILD_ROOT
50 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libqtsoap.so.2.7
53 rm -rf $RPM_BUILD_ROOT
55 %post -p /sbin/ldconfig
56 %postun -p /sbin/ldconfig
59 %defattr(644,root,root,755)
60 %doc README.TXT LGPL_EXCEPTION.txt
61 %attr(755,root,root) %{_libdir}/libqtsoap.so.*.*.*
62 %attr(755,root,root) %ghost %{_libdir}/libqtsoap.so.2
65 %defattr(644,root,root,755)
66 %doc LGPL_EXCEPTION.txt
67 %attr(755,root,root) %{_libdir}/libqtsoap.so
68 %{_includedir}/qt4/QtSoap