packages: kcheckgmail/kcheckgmail.spec - lib64 fix, cmake build type fix ...

glen glen at pld-linux.org
Fri Mar 5 13:47:18 CET 2010


Author: glen                         Date: Fri Mar  5 12:47:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- lib64 fix, cmake build type fix
  rationale: use templates-specs/kde4.spec if you do not know the stuff from top of your head!

---- Files affected:
packages/kcheckgmail:
   kcheckgmail.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: packages/kcheckgmail/kcheckgmail.spec
diff -u packages/kcheckgmail/kcheckgmail.spec:1.29 packages/kcheckgmail/kcheckgmail.spec:1.30
--- packages/kcheckgmail/kcheckgmail.spec:1.29	Fri Mar  5 11:56:57 2010
+++ packages/kcheckgmail/kcheckgmail.spec	Fri Mar  5 13:47:13 2010
@@ -29,15 +29,20 @@
 %patch1 -p1
 
 %build
-%cmake  \
-	-DCMAKE_INSTALL_PREFIX="%{_prefix}"
+install -d build
+cd build
+%cmake .. \
+	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64
+%endif
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
-%{__make} install \
+%{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %find_lang %{name} --with-kde
@@ -60,6 +65,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2010/03/05 12:47:13  glen
+- lib64 fix, cmake build type fix
+  rationale: use templates-specs/kde4.spec if you do not know the stuff from top of your head!
+
 Revision 1.29  2010/03/05 10:56:57  lisu
 - rename -firefox-name.patch -> -default_browser.patch (iceweasel used instead of mozilla-firefox)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kcheckgmail/kcheckgmail.spec?r1=1.29&r2=1.30&f=u



More information about the pld-cvs-commit mailing list