[9346] | 1 | %define _qt4_ver 4.8.6 |
---|
[4445] | 2 | %define _qt4_version %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo %{qt4_ver}) |
---|
[5383] | 3 | %define _qt4_prefix %(pkg-config --variable prefix --silence-errors Qt 2>/dev/null || echo %{_libdir}/qt4) |
---|
[4445] | 4 | %define _qt4_headerdir %(pkg-config --variable headerdir --silence-errors Qt 2>/dev/null || echo %{_qt4_prefix}/plugins) |
---|
| 5 | |
---|
| 6 | Name: qtsoap |
---|
| 7 | Summary: The Simple Object Access Protocol Qt-based client side library |
---|
[9346] | 8 | Summary(ja): Qt ベースの SOAP クライアントライブラリ |
---|
[4445] | 9 | Version: 2.7 |
---|
[10547] | 10 | Release: 6%{?_dist_release} |
---|
[4445] | 11 | |
---|
| 12 | Group: System Environment/Libraries |
---|
| 13 | License: LGPLv2 with exceptions or GPLv3 |
---|
| 14 | URL: http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Utilities/qtsoap/ |
---|
| 15 | |
---|
| 16 | Source0: http://get.qt.nokia.com/qt/solutions/lgpl/qtsoap-%{version}_1-opensource.tar.gz |
---|
| 17 | Patch0: qtsoap-2.7_1-opensource-install-pub-headers.patch |
---|
| 18 | |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | BuildRequires: qt4-devel |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | The SOAP (Simple Object Access Protocol) library uses the XML standard |
---|
| 24 | for describing how to exchange messages. Its primary usage is to invoke web |
---|
| 25 | services and get responses from Qt-based applications. |
---|
| 26 | |
---|
| 27 | %package devel |
---|
| 28 | Summary: Development files for %{name} |
---|
[5383] | 29 | Summary(ja): %{name} の開発用ファイル |
---|
[4445] | 30 | Group: Development/Libraries |
---|
| 31 | Requires: %{name} = %{version}-%{release} |
---|
[5383] | 32 | Requires: qt4-devel >= %{_qt4_version} |
---|
[4445] | 33 | |
---|
| 34 | %description devel |
---|
| 35 | Development files for %{name}. |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q -n qtsoap-%{version}_1-opensource |
---|
| 39 | |
---|
| 40 | # headers are not installed for shared library |
---|
| 41 | %patch0 -p1 -b .install-pub-headers |
---|
| 42 | |
---|
| 43 | sed -i 's:$$DESTDIR:%{_libdir}:g' buildlib/buildlib.pro |
---|
| 44 | |
---|
| 45 | %build |
---|
| 46 | # we want shared library |
---|
| 47 | echo "SOLUTIONS_LIBRARY = yes" > config.pri |
---|
| 48 | |
---|
| 49 | echo "QTSOAP_LIBNAME = \$\$qtLibraryTarget(qtsoap)" >> common.pri |
---|
| 50 | echo "VERSION=%{version}" >> common.pri |
---|
| 51 | |
---|
| 52 | qmake PREFIX=%{_prefix} |
---|
| 53 | make %{?_smp_mflags} |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %install |
---|
| 57 | rm -rf %{buildroot} |
---|
| 58 | make INSTALL_ROOT=%{buildroot} install |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %clean |
---|
| 62 | rm -rf %{buildroot} |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %post -p /sbin/ldconfig |
---|
| 66 | |
---|
| 67 | %postun -p /sbin/ldconfig |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %files |
---|
| 71 | %defattr(-,root,root,-) |
---|
| 72 | %doc README.TXT LGPL_EXCEPTION.txt LICENSE.GPL3 LICENSE.LGPL |
---|
| 73 | %{_libdir}/libqtsoap.so.* |
---|
| 74 | |
---|
| 75 | %files devel |
---|
| 76 | %defattr(-,root,root,-) |
---|
| 77 | %doc LGPL_EXCEPTION.txt LICENSE.GPL3 LICENSE.LGPL |
---|
| 78 | %{_libdir}/libqtsoap.so |
---|
| 79 | %{_qt4_headerdir}/QtSoap/ |
---|
| 80 | |
---|
| 81 | %changelog |
---|
[10547] | 82 | * Mon Jul 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.7-6 |
---|
| 83 | - rebuild with gcc-5.4.0 |
---|
| 84 | |
---|
[9346] | 85 | * Mon Feb 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.7-5 |
---|
| 86 | - rebuilt on current VineSeed |
---|
| 87 | - added Japanese summary |
---|
| 88 | |
---|
[5383] | 89 | * Sun Jan 8 2012 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> - 2.7-4 |
---|
| 90 | - rebuilt with qt-4.8.0 |
---|
| 91 | |
---|
[4445] | 92 | * Sat Jul 30 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.7-3 |
---|
| 93 | - Initial build for Vine Linux |
---|
| 94 | |
---|
| 95 | * Thu Jul 14 2011 Jaroslav Reznik <jreznik@redhat.com> - 2.7-2 |
---|
| 96 | - libqtsoap library name |
---|
| 97 | |
---|
| 98 | * Thu May 19 2011 Jaroslav Reznik <jreznik@redhat.com> - 2.7-1 |
---|
| 99 | - fix version |
---|
| 100 | |
---|
| 101 | * Tue Oct 26 2010 Jaroslav Reznik <jreznik@redhat.com> - 1.7-1 |
---|
[5383] | 102 | - Initial spec file |
---|