Пакет qtscriptgenerator: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | %define qt4_ver %{get_version libqt4-devel} Name: qtscriptgenerator Version: 0.2.0 Release: alt3.qa1 Group: Development/KDE and QT Summary: Qt bindings for Qt Script License: GPLv2 Url: http://code.google.com/p/qtscriptgenerator/ Requires: qtscriptbindings = %{version}-%{release} Source: %name-src-%version.tar.gz # MDK Patch2: qtscriptgenerator-src-0.1.0-fix-build.patch Patch3: qtscriptgenerator-src-0.1.0-fix-strings.patch # RH Patch50: qtscriptgenerator-0.1.0-gcc44.patch Patch51: memory_alignment_fix.diff Patch52: qtscriptgenerator-kde_phonon443.patch Patch53: qtscriptgenerator-src-0.1.0-qmake_target.path.patch Patch54: qtscriptgenerator-0.2.0-arm-ftbfs-float.patch BuildRequires(pre): libqt4-devel kde-common-devel BuildRequires: gcc-c++ phonon-devel xsltproc %description The Qt Script Generator is a tool that generates Qt bindings for Qt Script. 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. %package -n qtscriptbindings Summary: Qt bindings for Qt Script Group: System/Libraries Provides: qtscript-qt = %version-%release %description -n qtscriptbindings Bindings providing access to substantial portions of the Qt API from within Qt Script. %prep %setup -q -n %name-src-%version %patch2 -p0 %patch3 -p1 %patch50 -p0 %patch51 -p1 %patch52 -p1 %patch53 -p1 %ifarch %arm %patch54 -p1 %endif pushd generator %qmake_qt4 popd pushd qtbindings %qmake_qt4 popd pushd tools/qsexec/src %qmake_qt4 popd %build export QTDIR="" INCLUDE=%_includedir/qt4 pushd generator %make ./generator popd pushd qtbindings %make_build popd pushd tools/qsexec/src %make_build popd %install mkdir -p %buildroot/%_qt4dir/plugins/script/ cp -a plugins/script/libqtscript* \ %buildroot/%_qt4dir/plugins/script/ install -D -p -m0755 tools/qsexec/qsexec %buildroot/%_bindir/qsexec install -D -p -m0755 generator/generator %buildroot/%_qt4dir/bin/generator cp -a tools/qsexec/README.TXT README.qsexec %files %_qt4dir/bin/generator %files -n qtscriptbindings %doc README README.qsexec %doc doc/ %doc examples/ %_bindir/qsexec %_qt4dir/plugins/script/libqtscript* %changelog * Mon Apr 11 2016 Gleb F-Malinovskiy (qa) <qa_glebfm@altlinux.org> 0.2.0-alt3.qa1 - Rebuilt for gcc5 C++11 ABI. * Tue Oct 07 2014 Sergey V Turchin <zerg@altlinux.org> 0.2.0-alt3 - apply patch for arm only for arm - cleanup specfile * Tue Apr 23 2013 Sergey V Turchin <zerg@altlinux.org> 0.2.0-alt2 - fixed build on arm * Tue Jul 24 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.0-alt1 - new version * Tue Jan 24 2012 Sergey V Turchin <zerg@altlinux.org> 0.1.0-alt3 - fix to build with qt-4.8 * Wed Mar 02 2011 Sergey V Turchin <zerg@altlinux.org> 0.1.0-alt2 - rebuilt * Fri Jun 05 2009 Sergey V Turchin <zerg@altlinux.org> 0.1.0-alt0.M50.1 - built for M50 * Wed Apr 15 2009 Sergey V Turchin <zerg@altlinux.org> 0.1.0-alt1 - initial specfile |