SPECS: qsvn.spec - up to 0.5.0 (introduces cmake build system)

twittner twittner at pld-linux.org
Sat Mar 3 00:19:24 CET 2007


Author: twittner                     Date: Fri Mar  2 23:19:24 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.5.0 (introduces cmake build system)

---- Files affected:
SPECS:
   qsvn.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/qsvn.spec
diff -u SPECS/qsvn.spec:1.8 SPECS/qsvn.spec:1.9
--- SPECS/qsvn.spec:1.8	Tue Feb 13 09:06:43 2007
+++ SPECS/qsvn.spec	Sat Mar  3 00:19:19 2007
@@ -3,15 +3,16 @@
 Summary(de.UTF-8):	QSvn - Ein Subversion Klient
 Summary(pl.UTF-8):	QSvn - Klient Subversion
 Name:		qsvn
-Version:	0.4.0
+Version:	0.5.0
 Release:	1
 License:	GPL
 Group:		X11/Applications
 Source0:	http://download.berlios.de/qsvn/%{name}-%{version}-src.tar.gz
-# Source0-md5:	a96d635b4494ce629c2e095b0d078d61
+# Source0-md5:	03927a26532996fbb79a47c40b8bf181
 Source1:	%{name}.desktop
-Patch0:		%{name}-includes.patch
+Patch0:		%{name}-qt4tools.patch
 URL:		http://ar.oszine.de/projects/qsvn/
+BuildRequires:	cmake
 BuildRequires:	Qt3Support-devel
 BuildRequires:	QtCore-devel
 BuildRequires:	QtGui-devel
@@ -39,27 +40,34 @@
 
 %prep
 %setup -q
-%patch0 -p0
+%patch0 -p1
 
 %build
-export QTDIR=%{_prefix}
-qt4-qmake
+mkdir build
+cd build
+cmake -D CMAKE_BUILD_TYPE="Release" ../src
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
-install bin/qsvn $RPM_BUILD_ROOT%{_bindir}
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_desktopdir},%{_pixmapsdir}}
+install build/bin/qsvn $RPM_BUILD_ROOT%{_bindir}
+install build/bin/libsvnqt-qt4.so.3.0.0 $RPM_BUILD_ROOT%{_libdir}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-install images/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
+install src/images/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog INSTALL README
 %attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 %{_desktopdir}/%{name}.desktop
 %{_pixmapsdir}/%{name}.png
 
@@ -69,6 +77,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2007/03/02 23:19:19  twittner
+- up to 0.5.0 (introduces cmake build system)
+
 Revision 1.8  2007/02/13 08:06:43  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qsvn.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list