Package shiboken: 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 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | Name: shiboken Version: 1.2.2 Release: alt4.git20140422 Summary: Generates bindings for C++ libraries using CPython source code License: GPLv2, LGPLv2.1 Group: Development/KDE and QT Url: http://www.pyside.org/ # git://gitorious.org/pyside/shiboken.git Source: %name-%version.tar BuildPreReq: cmake libqt4-devel gcc-c++ libgeneratorrunner-devel BuildPreReq: phonon-devel generatorrunner qt4-designer xml-utils BuildPreReq: python-module-sphinx-devel xsltproc BuildPreReq: libxml2-devel libxslt-devel libqt4-assistant-devel BuildRequires: python-devel Requires: lib%name = %EVR %description Shiboken is a plugin (front-end) for Generator Runner. It generates bindings for C++ libraries using CPython source code. %package -n lib%name Summary: Shared libraries of Shiboken Group: System/Libraries %description -n lib%name Shiboken is a plugin (front-end) for Generator Runner. It generates bindings for C++ libraries using CPython source code. This package contains shared libraries of Shiboken. %package -n lib%name-devel Summary: Development files of Shiboken Group: Development/C++ Requires: lib%name = %EVR %description -n lib%name-devel Shiboken is a plugin (front-end) for Generator Runner. It generates bindings for C++ libraries using CPython source code. This package contains development files of Shiboken. %package -n python-module-%name Summary: Python module of Shiboken Group: Development/Python Requires: lib%name = %EVR %description -n python-module-%name Shiboken is a plugin (front-end) for Generator Runner. It generates bindings for C++ libraries using CPython source code. This package contains python module of Shiboken. %prep %setup %prepare_sphinx . ln -s ../objects.inv doc %build export PATH=$PATH:%_qt4dir/bin FLAGS="$(pkg-config phonon --cflags)" %add_optflags $FLAGS mkdir BUILD pushd BUILD cmake \ -DCMAKE_INSTALL_PREFIX:PATH=%prefix \ %if "%_lib" == "lib64" -DLIB_SUFFIX:STRING=64 \ %endif -DCMAKE_STRIP:FILEPATH="/bin/echo" \ -DENABLE_GCC_OPTIMIZATION:BOOL=ON \ -DENABLE_VERSION_SUFFIX:BOOL=OFF \ -DCMAKE_C_FLAGS:STRING="%optflags" \ -DCMAKE_CXX_FLAGS:STRING="%optflags" \ -DQT_PHONON_INCLUDE_DIR:PATH="%_includedir/kde4" \ -DUSE_PYTHON3:BOOL=OFF \ .. %make_build VERBOSE=1 pushd doc %make doc popd popd %install %makeinstall_std -C BUILD %files %doc COPYING* AUTHORS %doc BUILD/doc/html %_bindir/* %_man1dir/* %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_includedir/* %_libdir/*.so %_libdir/cmake %_pkgconfigdir/* %files -n python-module-%name %python_sitelibdir/* %changelog * Fri Jul 27 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.2.2-alt4.git20140422 - Updated build dependencies. * Fri Apr 06 2018 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.2.2-alt3.git20140422 - fix packaging on 64bit arches other than x86_64 * Mon Jul 17 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 1.2.2-alt2.git20140422 - Fixed build with gcc6 * Fri Apr 08 2016 Gleb F-Malinovskiy (qa) <qa_glebfm@altlinux.org> 1.2.2-alt1.git20140422.qa1 - Rebuilt for gcc5 C++11 ABI. * Tue May 27 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.2-alt1.git20140422 - Version 1.2.2 * Fri Nov 08 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.1-alt1.git20131015 - Version 1.2.1 * Mon Jun 17 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.2-alt1.git20130527 - New snapshot * Tue Sep 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.2-alt1 - Version 1.1.2 * Fri May 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.1-alt1 - Version 1.1.1 * Tue Jan 17 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.0-alt1 - Version 1.1.0 * Wed Dec 07 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.10-alt3 - Rebuilt with disabled version suffix of generatorrunner * Tue Dec 06 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.10-alt2 - Disabled library version suffix * Mon Dec 05 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.10-alt1 - Initial build for Sisyphus |