template-specs: template-kde4.spec (NEW) - from kde4.spec

shadzik shadzik at pld-linux.org
Wed Feb 3 09:24:31 CET 2010


Author: shadzik                      Date: Wed Feb  3 08:24:31 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- from kde4.spec

---- Files affected:
template-specs:
   template-kde4.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: template-specs/template-kde4.spec
diff -u /dev/null template-specs/template-kde4.spec:1.1
--- /dev/null	Wed Feb  3 09:24:31 2010
+++ template-specs/template-kde4.spec	Wed Feb  3 09:24:26 2010
@@ -0,0 +1,106 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+#
+%define		_state		unstable
+%define		orgname		ORIGINAL-PACKAGE-NAME
+%define		qtver		4.4.1
+
+Summary:	Program
+Summary(pl.UTF-8):	Program
+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:	-
+#URL:		http://
+# leave only required ones
+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}
+BuildRequires:	automoc4 >= 0.9.84
+BuildRequires:	cmake >= 2.6.1-2
+BuildRequires:	qt4-build >= %{qtver}
+BuildRequires:	qt4-qmake >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.293
+BuildRequires:	strigi-devel >= 0.5.10
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl.UTF-8
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+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} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/02/03 08:24:26  shadzik
+- from kde4.spec
+
+Revision 1.10  2010/02/03 08:22:23  shadzik
+- unify macros
+
+Revision 1.9  2009/10/20 15:49:43  glen
+- CMAKE_BUILD_TYPE fix
+
+Revision 1.8  2009/02/20 11:55:05  shadzik
+- conditional release/debug build, thx (glen)
+
+Revision 1.7  2009/02/20 11:01:08  shadzik
+- don't be that noisy on terminal output
+
+Revision 1.6  2008/11/05 20:05:38  shadzik
+- define date
+
+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
+
+Revision 1.3  2008/08/15 11:58:53  shadzik
+- cmake fix now in cmake itself
+
+Revision 1.2  2008/08/14 00:47:24  glen
+- cleanup
+
+Revision 1.1  2008/08/13 20:23:51  shadzik
+- kde4 applications/library template
================================================================


More information about the pld-cvs-commit mailing list