SPECS: qtscriptgenerator.spec (NEW) - initial
paszczus
paszczus at pld-linux.org
Tue Apr 14 12:58:43 CEST 2009
Author: paszczus Date: Tue Apr 14 10:58:43 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
qtscriptgenerator.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/qtscriptgenerator.spec
diff -u /dev/null SPECS/qtscriptgenerator.spec:1.1
--- /dev/null Tue Apr 14 12:58:43 2009
+++ SPECS/qtscriptgenerator.spec Tue Apr 14 12:58:37 2009
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+Summary: QtScript Qt Bindings
+Name: qtscriptgenerator
+Version: 0.1.0
+Release: 0.1
+License: GPL v2
+Group: X11/Applications
+Source0: http://qtscriptgenerator.googlecode.com/files/%{name}-src-%{version}.tar.gz
+# Source0-md5: ca4046ad4bda36cd4e21649d4b98886d
+URL: http://code.google.com/p/qtscriptgenerator/
+# uncomment needed libraries
+#BuildRequires: Qt3Support-devel
+BuildRequires: QtCore-devel
+#BuildRequires: QtGui-devel
+#BuildRequires: QtNetwork-devel
+#BuildRequires: QtSvg-devel
+#BuildRequires: QtTest-devel
+#BuildRequires: QtXml-devel
+# require ">= 4.3.3-3" if some tool is invoked by *-qt4 name
+BuildRequires: qt4-build >= 4.3.3-3
+BuildRequires: qt4-qmake >= 4.3.3-3
+BuildRequires: rpmbuild(macros) >= 1.129
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Qt Script Generator is a tool that generates Qt bindings for Qt
+Script. With the generated bindings you get access to substantial
+portions of the Qt API from within Qt Script.
+
+%prep
+%setup -q -n %{name}-src-%{version}
+
+%build
+export QTDIR="%{_usr}"
+cd generator
+qmake-qt4
+%{__make}
+./generator -include-path=%{_usr}/include
+cd ../qtbindings
+qmake-qt4
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+#install -d $RPM_BUILD_ROOT%{_bindir}
+# usually you have to install the program manually
+
+%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 2009/04/14 10:58:37 paszczus
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list