|
@@ -1,4 +1,4 @@
|
|
-%define qt4_ver 4.8.0
|
|
+%define qt4_ver 4.8.6
|
|
# Qt4 version auto-detection
|
|
# Qt4 version auto-detection
|
|
%define _qt4_version %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo %{qt4_ver})
|
|
%define _qt4_version %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo %{qt4_ver})
|
|
%define _qt4_prefix %(pkg-config --variable prefix --silence-errors Qt 2>/dev/null || echo %{_libdir}/qt4)
|
|
%define _qt4_prefix %(pkg-config --variable prefix --silence-errors Qt 2>/dev/null || echo %{_libdir}/qt4)
|
|
@@ -9,10 +9,11 @@
|
|
|
|
|
|
Name: qtscriptgenerator
|
|
Name: qtscriptgenerator
|
|
Summary: A tool to generate Qt bindings for Qt Script
|
|
Summary: A tool to generate Qt bindings for Qt Script
|
|
-Version: 0.1.0
|
|
+Summary(ja): Qt Script の Qt バインディングを生成するツール
|
|
-Release: 15%{?_dist_release}
|
|
+Version: 0.2.0
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
-Group: System Environment/Libraries
|
|
+Group: Development/Tools
|
|
License: GPLv2
|
|
License: GPLv2
|
|
URL: http://code.google.com/p/qtscriptgenerator/
|
|
URL: http://code.google.com/p/qtscriptgenerator/
|
|
|
|
|
|
@@ -20,10 +21,10 @@ Source0: http://qtscriptgenerator.googlecode.com/files/qtscriptgenerator-src-%{v
|
|
|
|
|
|
Patch1: qtscriptgenerator-0.1.0-gcc44.patch
|
|
Patch1: qtscriptgenerator-0.1.0-gcc44.patch
|
|
Patch2: qtscriptgenerator-src-0.1.0-no_phonon.patch
|
|
Patch2: qtscriptgenerator-src-0.1.0-no_phonon.patch
|
|
-Patch3: qtscriptgenerator-src-0.1.0-no_QFileOpenEvent.patch
|
|
|
|
|
|
|
|
## upstreamable patches
|
|
## upstreamable patches
|
|
Patch50: qtscriptgenerator-src-0.1.0-qmake_target.path.patch
|
|
Patch50: qtscriptgenerator-src-0.1.0-qmake_target.path.patch
|
|
|
|
+# needs work
|
|
Patch51: qtscriptgenerator-kde_phonon443.patch
|
|
Patch51: qtscriptgenerator-kde_phonon443.patch
|
|
## debian patches
|
|
## debian patches
|
|
Patch60: memory_alignment_fix.diff
|
|
Patch60: memory_alignment_fix.diff
|
|
@@ -33,7 +34,7 @@ Patch60: memory_alignment_fix.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
# explictly BR libxslt, for xsltproc
|
|
# explictly BR libxslt, for xsltproc
|
|
BuildRequires: libxslt
|
|
BuildRequires: libxslt
|
|
-BuildRequires: phonon-devel >= 4.4.2-2%{?_dist_release}
|
|
+#BuildRequires: phonon-devel >= 4.4.2-2%{?_dist_release}
|
|
BuildRequires: qt4-devel >= 4.5.0-7
|
|
BuildRequires: qt4-devel >= 4.5.0-7
|
|
#BuildRequires: qt4-webkit-devel
|
|
#BuildRequires: qt4-webkit-devel
|
|
|
|
|
|
@@ -46,6 +47,7 @@ Qt Script Generator is a tool to generate Qt bindings for Qt Script.
|
|
|
|
|
|
%package -n qtscriptbindings
|
|
%package -n qtscriptbindings
|
|
Summary: Qt bindings for Qt Script
|
|
Summary: Qt bindings for Qt Script
|
|
|
|
+Summary(ja): Qt Script の Qt バインディング
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Requires: qt4 >= %{_qt4_version}
|
|
Requires: qt4 >= %{_qt4_version}
|
|
Provides: qtscript-qt = %{version}-%{release}
|
|
Provides: qtscript-qt = %{version}-%{release}
|
|
@@ -55,13 +57,11 @@ Bindings providing access to substantial portions of the Qt API
|
|
from within Qt Script.
|
|
from within Qt Script.
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{name}-src-%{version}
|
|
%setup -q -n %{name}-src-%{version}
|
|
|
|
|
|
%patch1 -p0 -b .gcc44
|
|
%patch1 -p0 -b .gcc44
|
|
%patch2 -p1 -b .no_phonon
|
|
%patch2 -p1 -b .no_phonon
|
|
-%patch3 -p1 -b .no_QFileOpenEvent
|
|
|
|
|
|
|
|
%patch50 -p1 -b .qmake_target.path
|
|
%patch50 -p1 -b .qmake_target.path
|
|
%patch51 -p1 -b .kde_phonon
|
|
%patch51 -p1 -b .kde_phonon
|
|
@@ -116,8 +116,8 @@ rm -rf %{buildroot}
|
|
|
|
|
|
%files -n qtscriptbindings
|
|
%files -n qtscriptbindings
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%doc README LICENSE.GPL
|
|
+%doc LICENSE.LGPL LGPL_EXCEPTION.txt
|
|
-%doc README.qsexec
|
|
+%doc README README.qsexec
|
|
%doc doc/
|
|
%doc doc/
|
|
%doc examples/
|
|
%doc examples/
|
|
%{_bindir}/qsexec
|
|
%{_bindir}/qsexec
|
|
@@ -125,6 +125,11 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Jan 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.2.0-1
|
|
|
|
+- updated to 0.2.0
|
|
|
|
+- removed BR: phonon-devel
|
|
|
|
+- dropt Patch3
|
|
|
|
+
|
|
* Mon Jan 9 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.0-15
|
|
* Mon Jan 9 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.0-15
|
|
- rebuilt with qt-4.8.0
|
|
- rebuilt with qt-4.8.0
|
|
- added Patch3
|
|
- added Patch3
|