packages: kde4-decoration-skulpture/kde4-decoration-skulpture.spec - unify ...

shadzik shadzik at pld-linux.org
Wed Feb 3 10:43:06 CET 2010


Author: shadzik                      Date: Wed Feb  3 09:43:06 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- unify and sanitize
- use template next time

---- Files affected:
packages/kde4-decoration-skulpture:
   kde4-decoration-skulpture.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/kde4-decoration-skulpture/kde4-decoration-skulpture.spec
diff -u packages/kde4-decoration-skulpture/kde4-decoration-skulpture.spec:1.5 packages/kde4-decoration-skulpture/kde4-decoration-skulpture.spec:1.6
--- packages/kde4-decoration-skulpture/kde4-decoration-skulpture.spec:1.5	Wed Feb  3 10:39:44 2010
+++ packages/kde4-decoration-skulpture/kde4-decoration-skulpture.spec	Wed Feb  3 10:43:01 2010
@@ -2,15 +2,16 @@
 
 %define		qtver	4.5.3
 %define		kdever	4.3.5
+%define		orgname	skulpture
 
 Summary:	KDE4 minimalistic window decoration
 Summary(pl.UTF-8):	Minimalistyczna dekoracja okien dla KDE4
-Name:		kde4-decoration-skulpture
+Name:		kde4-decoration-%{orgname}
 Version:	0.2.2.4
 Release:	0.9
 License:	GPL
 Group:		X11/Amusements
-Source0:	http://skulpture.maxiom.de/releases/skulpture-%{version}.tar.bz2
+Source0:	http://skulpture.maxiom.de/releases/%{orgname}-%{version}.tar.bz2
 # Source0-md5:	78b1a4796cb3945d86fccc770c034d49
 URL:		http://skulpture.maxiom.de/
 BuildRequires:	QtCore-devel >= %{qtver}
@@ -39,24 +40,25 @@
 wysoka konfigurowalność.
 
 %prep
-%setup -q -n skulpture-%{version}
+%setup -q -n %{orgname}-%{version}
 
 %build
-%cmake \
+install -d build
+cd build
+%cmake .. \
 	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
 	-DLIB_INSTALL_DIR=%{_libdir} \
 	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
 %if "%{_lib}" == "lib64"
-	-DLIB_SUFFIX=64 \
+	-DLIB_SUFFIX=64
 %endif
-	.
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} -C build install \
         DESTDIR=$RPM_BUILD_ROOT \
         kde_htmldir=%{_kdedocdir} \
         kde_libs_htmldir=%{_kdedocdir}
@@ -88,6 +90,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/02/03 09:43:01  shadzik
+- unify and sanitize
+- use template next time
+
 Revision 1.5  2010/02/03 09:39:44  shadzik
 - version qt4 and kde BRs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kde4-decoration-skulpture/kde4-decoration-skulpture.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list