SPECS: kde4-template.spec (NEW) - kde4 applications/library template
shadzik
shadzik at pld-linux.org
Wed Aug 13 22:23:57 CEST 2008
Author: shadzik Date: Wed Aug 13 20:23:57 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- kde4 applications/library template
---- Files affected:
SPECS:
kde4-template.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/kde4-template.spec
diff -u /dev/null SPECS/kde4-template.spec:1.1
--- /dev/null Wed Aug 13 22:23:57 2008
+++ SPECS/kde4-template.spec Wed Aug 13 22:23:51 2008
@@ -0,0 +1,85 @@
+# $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: 4.1.61
+Release: 1
+License: LGPL (GPL/GPL v2/GPL v2+... choose one)
+Group: X11/Libraries
+Source0: %{orgname}-%{version}.tar.bz2
+# Source0-md5: e684ae1be7b0d5812f222a4a21dc2a13
+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}
+BuildRequires: automoc4 >= 0.9.84
+BuildRequires: cmake >= 2.6.0
+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)
+
+%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
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+ -DCMAKE_INSTALL_PREFIX=%{_kde_prefix} \
+ -DCMAKE_AR=/usr/bin/ar \
+%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)
+
+
+%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 2008/08/13 20:23:51 shadzik
+- kde4 applications/library template
+
================================================================
More information about the pld-cvs-commit
mailing list