|
|
63a7aa1 |
|
|
|
6738e80 |
Name: qtscriptgenerator
|
|
|
6738e80 |
Summary: A tool to generate Qt bindings for Qt Script
|
|
|
6738e80 |
Version: 0.2.0
|
|
|
d2aeb1c |
Release: 23%{?dist}
|
|
|
63a7aa1 |
|
|
|
6738e80 |
License: GPLv2
|
|
|
6738e80 |
URL: http://code.google.com/p/qtscriptgenerator/
|
|
|
6738e80 |
Source0: http://qtscriptgenerator.googlecode.com/files/qtscriptgenerator-src-%{version}.tar.gz
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
Patch1: qtscriptgenerator-0.1.0-gcc44.patch
|
|
|
9cf8326 |
Patch2: qtscriptgenerator-src-0.1.0-no_phonon.patch
|
|
|
63a7aa1 |
|
|
|
8566015 |
## upstreamable patches
|
|
|
8566015 |
Patch50: qtscriptgenerator-src-0.1.0-qmake_target.path.patch
|
|
|
26cb706 |
# needs work
|
|
|
9cf8326 |
Patch51: qtscriptgenerator-kde_phonon443.patch
|
|
|
26cb706 |
# fix arm ftbfs, kudos to mamba
|
|
|
26cb706 |
Patch52: qtscriptgenerator-0.2.0-arm-ftbfs-float.patch
|
|
|
5dd6c15 |
## debian patches
|
|
|
5dd6c15 |
Patch60: memory_alignment_fix.diff
|
|
|
a4bd19d |
## fix for -Werror=format-security
|
|
|
a4bd19d |
Patch61: qtscriptgenerator-format_security.patch
|
|
|
8566015 |
|
|
|
ad0244f |
## upstream patches
|
|
|
ad0244f |
|
|
|
34d6abd |
BuildRequires: gcc-c++
|
|
|
63a7aa1 |
# explictly BR libxslt, for xsltproc
|
|
|
63a7aa1 |
BuildRequires: libxslt
|
|
|
6738e80 |
# phonon bindings currently busted, see no_phonon patch
|
|
|
6738e80 |
#BuildRequires: pkgconfig(phonon)
|
|
|
6738e80 |
BuildRequires: pkgconfig(QtCore)
|
|
|
6738e80 |
BuildRequires: pkgconfig(QtGui)
|
|
|
6738e80 |
BuildRequires: pkgconfig(QtNetwork)
|
|
|
6738e80 |
BuildRequires: pkgconfig(QtOpenGL)
|
|
|
6738e80 |
BuildRequires: pkgconfig(QtSql)
|
|
|
6738e80 |
BuildRequires: pkgconfig(QtSvg)
|
|
|
6738e80 |
BuildRequires: pkgconfig(QtUiTools)
|
|
|
6738e80 |
BuildRequires: pkgconfig(QtWebKit)
|
|
|
6738e80 |
BuildRequires: pkgconfig(QtXml)
|
|
|
6738e80 |
BuildRequires: pkgconfig(QtXmlPatterns)
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
# not strictly required, but the expectation would be for the
|
|
|
63a7aa1 |
# bindings to be present
|
|
|
63a7aa1 |
Requires: qtscriptbindings = %{version}-%{release}
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
%description
|
|
|
63a7aa1 |
Qt Script Generator is a tool to generate Qt bindings for Qt Script.
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
%package -n qtscriptbindings
|
|
|
63a7aa1 |
Summary: Qt bindings for Qt Script
|
|
|
fa9f7e1 |
Provides: qtscript-qt = %{version}-%{release}
|
|
|
daae300 |
%{?_qt4:Requires: qt4%{?_isa} >= %{_qt4_version}}
|
|
|
63a7aa1 |
%description -n qtscriptbindings
|
|
|
63a7aa1 |
Bindings providing access to substantial portions of the Qt API
|
|
|
63a7aa1 |
from within Qt Script.
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
%prep
|
|
|
63a7aa1 |
%setup -q -n %{name}-src-%{version}
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
%patch1 -p0 -b .gcc44
|
|
|
9cf8326 |
%patch2 -p1 -b .no_phonon
|
|
|
483d767 |
|
|
|
8566015 |
%patch50 -p1 -b .qmake_target.path
|
|
|
8566015 |
%patch51 -p1 -b .kde_phonon
|
|
|
26cb706 |
# I *think* we can do this unconditionally, but I'd like to
|
|
|
26cb706 |
# investigate more in-depth first
|
|
|
26cb706 |
%ifarch %{arm}
|
|
|
26cb706 |
%patch52 -p1 -b .arm_ftbfs_float
|
|
|
26cb706 |
%endif
|
|
|
5dd6c15 |
|
|
|
5dd6c15 |
%patch60 -p1 -b .memory_alignment
|
|
|
a4bd19d |
%patch61 -p1 -b .format_security
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
%build
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
# workaround buildsys bogosity, see also:
|
|
|
63a7aa1 |
# http://code.google.com/p/qtscriptgenerator/issues/detail?id=38
|
|
|
63a7aa1 |
export INCLUDE=%{_qt4_headerdir}
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
pushd generator
|
|
Rex Dieter |
c72546b |
%{qmake_qt4}
|
|
|
34d6abd |
%make_build
|
|
|
63a7aa1 |
./generator
|
|
|
63a7aa1 |
popd
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
pushd qtbindings
|
|
Rex Dieter |
c72546b |
%{qmake_qt4}
|
|
|
34d6abd |
%make_build
|
|
|
63a7aa1 |
popd
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
pushd tools/qsexec/src
|
|
Rex Dieter |
c72546b |
%{qmake_qt4}
|
|
|
34d6abd |
%make_build
|
|
|
63a7aa1 |
popd
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
%install
|
|
|
63a7aa1 |
mkdir -p %{buildroot}%{_qt4_plugindir}/script/
|
|
|
63a7aa1 |
# install doesn't do symlinks
|
|
|
63a7aa1 |
cp -a plugins/script/libqtscript* \
|
|
|
63a7aa1 |
%{buildroot}%{_qt4_plugindir}/script/
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
cp -a tools/qsexec/README.TXT README.qsexec
|
|
|
63a7aa1 |
install -D -p -m755 tools/qsexec/qsexec %{buildroot}%{_bindir}/qsexec
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
install -D -p -m755 generator/generator %{buildroot}%{_qt4_bindir}/generator
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
%files
|
|
|
63a7aa1 |
%{_qt4_bindir}/generator
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
%files -n qtscriptbindings
|
|
|
483d767 |
%doc README
|
|
|
63a7aa1 |
%doc README.qsexec
|
|
|
63a7aa1 |
%doc doc/
|
|
|
63a7aa1 |
%doc examples/
|
|
|
34d6abd |
%license LICENSE.LGPL LGPL_EXCEPTION.txt
|
|
|
63a7aa1 |
%{_bindir}/qsexec
|
|
|
6738e80 |
%{_qt4_plugindir}/script/libqtscript_core.so*
|
|
|
6738e80 |
%{_qt4_plugindir}/script/libqtscript_gui.so*
|
|
|
6738e80 |
%{_qt4_plugindir}/script/libqtscript_network.so*
|
|
|
6738e80 |
%{_qt4_plugindir}/script/libqtscript_opengl.so*
|
|
|
6738e80 |
#{_qt4_plugindir}/script/libqtscript_phonon.so*
|
|
|
6738e80 |
%{_qt4_plugindir}/script/libqtscript_sql.so*
|
|
|
6738e80 |
%{_qt4_plugindir}/script/libqtscript_svg.so*
|
|
|
6738e80 |
%{_qt4_plugindir}/script/libqtscript_uitools.so*
|
|
|
6738e80 |
%{_qt4_plugindir}/script/libqtscript_webkit.so*
|
|
|
6738e80 |
%{_qt4_plugindir}/script/libqtscript_xml.so*
|
|
|
6738e80 |
%{_qt4_plugindir}/script/libqtscript_xmlpatterns.so*
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
%changelog
|
|
|
d2aeb1c |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-23
|
|
|
d2aeb1c |
- Second attempt - Rebuilt for
|
|
|
d2aeb1c |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
d2aeb1c |
|
|
|
0e54f45 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-22
|
|
|
0e54f45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
0e54f45 |
|
|
|
eb85b2d |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-21
|
|
|
eb85b2d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
eb85b2d |
|
|
|
ad59851 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-20
|
|
|
ad59851 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
ad59851 |
|
|
|
b16913a |
* Mon Apr 22 2019 Rex Dieter <rdieter@fedoraproject.org> - 0.2.0-19
|
|
|
b16913a |
- rebuild
|
|
|
b16913a |
|
|
|
2a51c9a |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-18
|
|
|
2a51c9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
2a51c9a |
|
|
|
2f551b2 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-17
|
|
|
2f551b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
2f551b2 |
|
|
|
a4bd19d |
* Fri Jun 01 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.2.0-16
|
|
|
34d6abd |
- BR: gcc-c++, use %%license %%make_build
|
|
|
a4bd19d |
- qtscriptgenerator: FTBFS in F28 (#1556303)
|
|
|
34d6abd |
|
|
|
28dba89 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-15
|
|
|
28dba89 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
28dba89 |
|
|
|
a9e6724 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-14
|
|
|
a9e6724 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
a9e6724 |
|
|
|
7f68c72 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-13
|
|
|
7f68c72 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
7f68c72 |
|
|
|
8885b57 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-12
|
|
|
8885b57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
8885b57 |
|
|
Rex Dieter |
c72546b |
* Wed Feb 03 2016 Rex Dieter <rdieter@fedoraproject.org> - 0.2.0-11
|
|
Rex Dieter |
c72546b |
- use %%qmake_qt4 macro to ensure proper build flags
|
|
Rex Dieter |
c72546b |
|
|
|
7d267e5 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-10
|
|
|
7d267e5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7d267e5 |
|
|
|
d23bd79 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.2.0-9
|
|
|
d23bd79 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
d23bd79 |
|
|
|
bda0d48 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-8
|
|
|
bda0d48 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
bda0d48 |
|
|
|
d525e04 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-7
|
|
|
d525e04 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
d525e04 |
|
|
|
852e97f |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-6
|
|
|
852e97f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
852e97f |
|
|
|
7fa67db |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-5
|
|
|
7fa67db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7fa67db |
|
|
|
381dbd3 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
|
|
|
381dbd3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
381dbd3 |
|
|
|
6738e80 |
* Thu May 03 2012 Rex Dieter <rdieter@fedoraproject.org> 0.2.0-3
|
|
|
6738e80 |
- pkgconfig-style deps
|
|
|
6738e80 |
|
|
|
26cb706 |
* Thu May 03 2012 Rex Dieter <rdieter@fedoraproject.org> 0.2.0-2
|
|
|
26cb706 |
- arm_ftbfs_float patch (from mamba)
|
|
|
26cb706 |
|
|
|
483d767 |
* Tue May 01 2012 Rex Dieter <rdieter@fedoraproject.org> 0.2.0-1
|
|
|
483d767 |
- 0.2.0
|
|
|
483d767 |
|
|
|
2b29e59 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-18
|
|
|
2b29e59 |
- Rebuilt for c++ ABI breakage
|
|
|
2b29e59 |
|
|
|
d32ff55 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-17
|
|
|
d32ff55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
d32ff55 |
|
|
|
7923e9f |
* Thu Dec 22 2011 Rex Dieter <rdieter@fedoraproject.org> 0.1.0-16
|
|
|
7923e9f |
- fix qt-4.8 build, omit failing QFileOpenEvent code
|
|
|
7923e9f |
|
|
|
daae300 |
* Wed Nov 16 2011 Rex Dieter <rdieter@fedoraproject.org> 0.1.0-15
|
|
|
daae300 |
- rebuild for qt48
|
|
|
daae300 |
|
|
|
37c9f99 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-14
|
|
|
37c9f99 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
37c9f99 |
|
|
|
9cf8326 |
* Tue Dec 21 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.0-13
|
|
|
9cf8326 |
- disable/omit phonon binding for now (#660852)
|
|
|
9cf8326 |
|
|
|
f59e287 |
* Sat May 08 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.0-12
|
|
|
f59e287 |
- BR: qt4-webkit-devel
|
|
|
f59e287 |
|
|
|
5dd6c15 |
* Mon Mar 01 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.1.0-11
|
|
|
5dd6c15 |
- borrow memory_alignment_fix.diff from debian (should help arm/sparc)
|
|
|
5dd6c15 |
|
|
|
206e7be |
* Wed Nov 18 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.1.0-10
|
|
|
206e7be |
- rebuild (qt-4.6.0-rc1, fc13+)
|
|
|
206e7be |
|
|
|
8566015 |
* Mon Oct 19 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.1.0-9
|
|
|
8566015 |
- fix build (for qt-4.6.0/phonon-isms)
|
|
|
8566015 |
|
|
|
a0b42d7 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-8
|
|
|
a0b42d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
a0b42d7 |
|
|
|
ad0244f |
* Tue Jun 09 2009 Rex Dieter <rdieter@fedoraproject.org> 0.1.0-7
|
|
|
ad0244f |
- upstream sun_issue27 patch
|
|
|
ad0244f |
|
|
|
fa9f7e1 |
* Fri Apr 10 2009 Rex Dieter <rdieter@fedoraproject.org> 0.1.0-6
|
|
|
fa9f7e1 |
- qtscriptbindings: Provides: qtscript-qt ...
|
|
|
fa9f7e1 |
|
|
|
63a7aa1 |
* Tue Mar 24 2009 Rex Dieter <rdieter@fedoraproject.org> 0.1.0-5
|
|
|
63a7aa1 |
- qtscriptgenerator/qtscriptbindings pkgs
|
|
|
63a7aa1 |
- qtscriptbindings: include docs, examples
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
* Mon Mar 23 2009 Rex Dieter <rdieter@fedoraproject.org> 0.1.0-4
|
|
|
63a7aa1 |
- include qsexec
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
* Mon Mar 23 2009 Rex Dieter <rdieter@fedoraproject.org> 0.1.0-3
|
|
|
63a7aa1 |
- BR: phonon-devel
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
* Fri Mar 20 2009 Rex Dieter <rdieter@fedoraproject.org> 0.1.0-2
|
|
|
63a7aa1 |
- qt-4.5.0-7 fixed wrt phonon, drop no_phonon patch
|
|
|
63a7aa1 |
|
|
|
63a7aa1 |
* Fri Mar 06 2009 Rex Dieter <rdieter@fedoraproject.org> 0.1.0-1
|
|
|
63a7aa1 |
- first try
|
|
|
63a7aa1 |
|