Пакет apiextractor: 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 | Name: apiextractor Version: 0.10.11 Release: alt2.git20130522 Summary: Development of bindings of Qt-based libraries for high level languages License: GPLv2 Group: Development/KDE and QT Url: http://www.pyside.org/ # git://gitorious.org/pyside/apiextractor.git Source: %name-%version.tar BuildPreReq: cmake ctest libqt4-devel phonon-devel BuildPreReq: gcc-c++ libxslt-devel libxml2-devel xml-utils BuildPreReq: python-module-sphinx-devel xsltproc qt4-designer BuildPreReq: libqt4-assistant-devel xml-utils %description The API Extractor library is used by the binding generator to parse headers of a given library and merge this data with information provided by typesystem (XML) files, resulting in a representation of how the API should be exported to the chosen target language. The generation of source code for the bindings is performed by specific generators using the API Extractor library. The API Extractor is based on QtScriptGenerator codebase. %package -n lib%name Summary: Development of bindings of Qt-based libraries for high level languages Group: System/Libraries %description -n lib%name The API Extractor library is used by the binding generator to parse headers of a given library and merge this data with information provided by typesystem (XML) files, resulting in a representation of how the API should be exported to the chosen target language. The generation of source code for the bindings is performed by specific generators using the API Extractor library. The API Extractor is based on QtScriptGenerator codebase. This package contains shared libraries of the API Extractor. %package -n lib%name-devel Summary: Development files of the API Extractor Group: Development/C++ Requires: lib%name = %version-%release %description -n lib%name-devel The API Extractor library is used by the binding generator to parse headers of a given library and merge this data with information provided by typesystem (XML) files, resulting in a representation of how the API should be exported to the chosen target language. The generation of source code for the bindings is performed by specific generators using the API Extractor library. The API Extractor is based on QtScriptGenerator codebase. This package contains development files of the API Extractor. %package -n lib%name-devel-doc Summary: Documentation for the API Extractor Group: Development/Documentation BuildArch: noarch %description -n lib%name-devel-doc The API Extractor library is used by the binding generator to parse headers of a given library and merge this data with information provided by typesystem (XML) files, resulting in a representation of how the API should be exported to the chosen target language. The generation of source code for the bindings is performed by specific generators using the API Extractor library. The API Extractor is based on QtScriptGenerator codebase. This package contains development documentation for the API Extractor. %prep %setup %prepare_sphinx . ln -s ../objects.inv doc %build export PATH=$PATH:%_qt4dir/bin FLAGS="$(pkg-config phonon --cflags)" %add_optflags $FLAGS 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" \ . %make_build VERBOSE=1 pushd doc %make doc popd %install %makeinstall_std %files -n lib%name %doc AUTHORS COPYING %_libdir/*.so.* %files -n lib%name-devel %_includedir/* %_libdir/*.so %_pkgconfigdir/* %_libdir/cmake %files -n lib%name-devel-doc %doc doc/html/* %changelog * Mon Apr 09 2018 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.10.11-alt2.git20130522 - fix packaging on 64bit arches other than x86_64 * Mon Jun 17 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.10.11-alt1.git20130522 - New snapshot * Fri May 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.10.11-alt1.git20120104 - Version 0.10.11 * Tue Jan 17 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.10.10-alt1 - Version 0.10.10 * Wed Dec 07 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.10.9-alt2 - Disabled version suffix * Mon Dec 05 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.10.9-alt1 - Initial build for Sisyphus |