packages: kde4-kdevelop-pg-qt/kde4-kdevelop-pg-qt.spec (NEW) - initial
arekm
arekm at pld-linux.org
Tue Oct 26 21:21:06 CEST 2010
Author: arekm Date: Tue Oct 26 19:21:06 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
---- Files affected:
packages/kde4-kdevelop-pg-qt:
kde4-kdevelop-pg-qt.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/kde4-kdevelop-pg-qt/kde4-kdevelop-pg-qt.spec
diff -u /dev/null packages/kde4-kdevelop-pg-qt/kde4-kdevelop-pg-qt.spec:1.1
--- /dev/null Tue Oct 26 21:21:06 2010
+++ packages/kde4-kdevelop-pg-qt/kde4-kdevelop-pg-qt.spec Tue Oct 26 21:21:01 2010
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+#
+%define _state stable
+%define kdever 4.5.2
+%define qtver 4.7.0
+%define orgname kdevelop-pg-qt
+
+Summary: The parser-generator from KDevplatform
+Name: kde4-kdevelop-pg-qt
+Version: 0.9.0
+Release: 1
+License: GPL
+Group: X11/Development/Tools
+Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{orgname}/%{version}/src/%{orgname}-%{version}.tar.bz2
+# Source0-md5: 06e25c81cc34a5bddda3091ed3280e71
+URL: http://www.kdevelop.org/
+BuildRequires: automoc4
+BuildRequires: cmake >= 2.8.0
+BuildRequires: kde4-kdelibs-devel >= %{kdever}
+BuildRequires: qt4-build >= %{qtver}
+BuildRequires: qt4-qmake >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.129
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KDevelop-PG-Qt is the parser-generator from KDevplatform. It is used
+for some KDevelop-languagesupport-plugins (Ruby, PHP, Java...).
+
+%prep
+%setup -q -n %{orgname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+ -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
+ ../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_desktopdir}
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ kde_htmldir=%{_kdedocdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kdev-pg-qt
+%{_includedir}/%{orgname}
+%{_datadir}/apps/cmake/modules/FindKDevelop-PG-Qt.cmake
+
+
+%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/10/26 19:21:01 arekm
+- initial
+
+
================================================================
More information about the pld-cvs-commit
mailing list