[packages/qtsoap] cleanups

glen glen at pld-linux.org
Thu Apr 30 18:33:13 CEST 2015


commit bd760127e5726a3734ad5b114e4c2596169b4c11
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 30 19:33:04 2015 +0300

    cleanups

 qtsoap.spec | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)
---
diff --git a/qtsoap.spec b/qtsoap.spec
index 506b240..34d2862 100644
--- a/qtsoap.spec
+++ b/qtsoap.spec
@@ -2,13 +2,13 @@ Summary:	The Simple Object Access Protocol Qt-based client side library
 Name:		qtsoap
 Version:	2.7
 Release:	1
-License:	LGPLv2 with exceptions or GPLv3
+License:	LGPL v2 with exceptions or GPL v3
 Group:		Libraries
-URL:		http://qt.gitorious.org/qt-solutions/qt-solutions/trees/master/qtsoap
 # Source0:        http://get.qt.nokia.com/qt/solutions/lgpl/qtsoap-%{version}_1-opensource.tar.gz
 Source0:	http://ftp.icm.edu.pl/packages/qt/solutions/lgpl/%{name}-%{version}_1-opensource.tar.gz
 # Source0-md5:	3bb3c0ba836eccb94b6f75ba289b0213
 Patch0:		%{name}-2.7_1-opensource-install-pub-headers.patch
+URL:		http://qt.gitorious.org/qt-solutions/qt-solutions/trees/master/qtsoap
 BuildRequires:	QtCore-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -17,26 +17,24 @@ The SOAP (Simple Object Access Protocol) library uses the XML standard
 for describing how to exchange messages. Its primary usage is to
 invoke web services and get responses from Qt-based applications.
 
-%package        devel
+%package devel
 Summary:	Development files for %{name}
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
-%description    devel
+%description devel
 Development files for %{name}.
 
 %prep
 %setup -q -n %{name}-%{version}_1-opensource
-
 # headers are not installed for shared library
-%patch0 -p1 -b .install-pub-headers
+%patch0 -p1
 
 sed -i 's:$$DESTDIR:%{_libdir}:g' buildlib/buildlib.pro
 
 %build
 # we want shared library
 echo "SOLUTIONS_LIBRARY = yes" > config.pri
-
 echo "QTSOAP_LIBNAME = \$\$qtLibraryTarget(qtsoap)" >> common.pri
 echo "VERSION=%{version}" >> common.pri
 
@@ -44,29 +42,27 @@ qmake-qt4 \
 	PREFIX=%{_prefix}
 %{__make}
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libqtsoap.so.2.7
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc README.TXT LGPL_EXCEPTION.txt
+%attr(755,root,root) %{_libdir}/libqtsoap.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libqtsoap.so.2
-%attr(755,root,root) %{_libdir}/libqtsoap.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
 %doc LGPL_EXCEPTION.txt
 %attr(755,root,root) %{_libdir}/libqtsoap.so
 %{_includedir}/qt4/QtSoap
-
-%changelog
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qtsoap.git/commitdiff/bd760127e5726a3734ad5b114e4c2596169b4c11



More information about the pld-cvs-commit mailing list