SPECS: kdebluetooth4.spec - some BRs - other changes

shadzik shadzik at pld-linux.org
Tue Jan 6 02:21:17 CET 2009


Author: shadzik                      Date: Tue Jan  6 01:21:17 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- some BRs
- other changes

---- Files affected:
SPECS:
   kdebluetooth4.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/kdebluetooth4.spec
diff -u SPECS/kdebluetooth4.spec:1.3 SPECS/kdebluetooth4.spec:1.4
--- SPECS/kdebluetooth4.spec:1.3	Tue Jan  6 02:13:37 2009
+++ SPECS/kdebluetooth4.spec	Tue Jan  6 02:21:11 2009
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+
+%define		qtver	4.4.3
+%define		kde4ver	4.1.85
+
 Summary:	KDE Bluetooth framework
 Summary(pl.UTF-8):	Podstawowe środowisko KDE Bluetooth
 Name:		kdebluetooth4
@@ -10,12 +14,13 @@
 Source0:	http://dl.sourceforge.net/kde-bluetooth/%{name}-%{version}.tar.bz2
 # Source0-md5:	66abefaf0d7e7f9980071c8519e52574
 URL:		http://bluetooth.kmobiletools.org/
-BuildRequires:	QtCore-devel
-BuildRequires:	QtDBus-devel
-BuildRequires:	QtGui-devel
+BuildRequires:	QtCore-devel >= %{qtver}
+BuildRequires:	QtDBus-devel >= %{qtver}
+BuildRequires:	QtGui-devel >= %{qtver}
 BuildRequires:	automoc4
 BuildRequires:	cmake
-BuildRequires:	kde4-kdelibs-devel
+BuildRequires:	kde4-kdelibs-devel >= %{kde4ver}
+BuildRequires:	kde4-kdebase-workspace-devel >= %{kde4ver}
 #BuildRequires:	hgw
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -36,20 +41,22 @@
 %setup -q
 
 %build
+install -d build
+cd build
 %cmake \
 	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
 	-DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
 %if "%{_lib}" == "lib64"
 	-DLIB_SUFFIX=64 \
 %endif
-	.
+	../
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT \
 	kde_htmldir=%{_kdedocdir}
 
@@ -70,6 +77,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2009/01/06 01:21:11  shadzik
+- some BRs
+- other changes
+
 Revision 1.3  2009/01/06 01:13:37  shadzik
 - autoup to 0.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kdebluetooth4.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list