SPECS: template-kde4.spec - unified, including template filename scheme (te...

qboosh qboosh at pld-linux.org
Wed Aug 20 20:18:19 CEST 2008


Author: qboosh                       Date: Wed Aug 20 18:18:19 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unified, including template filename scheme (template-kde4.spec now)

---- Files affected:
SPECS:
   template-kde4.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/template-kde4.spec
diff -u SPECS/template-kde4.spec:1.4 SPECS/template-kde4.spec:1.5
--- SPECS/template-kde4.spec:1.4	Fri Aug 15 16:34:02 2008
+++ SPECS/template-kde4.spec	Wed Aug 20 20:18:14 2008
@@ -4,44 +4,37 @@
 #
 %define		state		unstable
 %define		orgname		ORIGINAL-PACKAGE-NAME
-%define		qtver		4.4.1
+%define		qt_ver		4.4.1
 
 Summary:	Program
 Summary(pl.UTF-8):	Program
-Name:		kde4-template
+Name:		kde4-TEMPLATE
 Version:	0
 Release:	0.1
 License:	LGPL (GPL/GPL v2/GPL v2+... choose one)
 Group:		X11/Libraries
 Source0:	%{orgname}-%{version}.tar.bz2
-# Source0-md5:	e684ae1be7b0d5812f222a4a21dc2a13
+# Source0-md5:	-
 #URL:		http://
-BuildRequires:	Qt3Support-devel >= %{qtver}
-BuildRequires:	QtCore-devel >= %{qtver}
-BuildRequires:	QtDBus-devel >= %{qtver}
-BuildRequires:	QtDesigner-devel >= %{qtver}
-BuildRequires:	QtGui-devel >= %{qtver}
-BuildRequires:	QtScript-devel >= %{qtver}
-BuildRequires:	QtSvg-devel >= %{qtver}
-BuildRequires:	QtTest-devel >= %{qtver}
-BuildRequires:	QtUiTools-devel >= %{qtver}
-BuildRequires:	QtXml-devel >= %{qtver}
+# leave only required ones
+BuildRequires:	Qt3Support-devel >= %{qt_ver}
+BuildRequires:	QtCore-devel >= %{qt_ver}
+BuildRequires:	QtDBus-devel >= %{qt_ver}
+BuildRequires:	QtDesigner-devel >= %{qt_ver}
+BuildRequires:	QtGui-devel >= %{qt_ver}
+BuildRequires:	QtScript-devel >= %{qt_ver}
+BuildRequires:	QtSvg-devel >= %{qt_ver}
+BuildRequires:	QtTest-devel >= %{qt_ver}
+BuildRequires:	QtUiTools-devel >= %{qt_ver}
+BuildRequires:	QtXml-devel >= %{qt_ver}
 BuildRequires:	automoc4 >= 0.9.84
 BuildRequires:	cmake >= 2.6.1-2
-BuildRequires:	qt4-build >= %{qtver}
-BuildRequires:	qt4-qmake >= %{qtver}
+BuildRequires:	qt4-build >= %{qt_ver}
+BuildRequires:	qt4-qmake >= %{qt_ver}
 BuildRequires:	rpmbuild(macros) >= 1.293
 BuildRequires:	strigi-devel >= 0.5.10
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_defaultdocdir	%{_prefix}/share/doc
-%define		_iconsdir	%{_prefix}/share/icons
-%define		_kde_prefix	%{_prefix}
-%define		_kde_libdir	%{_libdir}
-%define		_kde_share_dir	%{_datadir}
-%define		_kde_html_dir	%{_kdedocdir}
-%define		_kde_config_dir	%{_datadir}/config
-
 %description
 
 %description -l pl.UTF-8
@@ -52,12 +45,11 @@
 %build
 install -d build
 cd build
-%cmake \
-	-DCMAKE_INSTALL_PREFIX=%{_kde_prefix} \
+%cmake .. \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
 %if "%{_lib}" == "lib64"
-	-DLIB_SUFFIX=64 \
+	-DLIB_SUFFIX=64
 %endif
-	../
 
 %{__make}
 
@@ -78,6 +70,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008/08/20 18:18:14  qboosh
+- unified, including template filename scheme (template-kde4.spec now)
+
 Revision 1.4  2008/08/15 14:34:02  shadzik
 - proper qtver define
 
================================================================

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



More information about the pld-cvs-commit mailing list