Package slicerexecutionmodel: 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 | %define _unpackaged_files_terminate_build 1 Name: slicerexecutionmodel Version: 2.0.0 Release: alt2.git.f19d6e8 Summary: An open-source CMake-based project that provides macros and associated tools for the easy building of 3D Slicer command line interface (CLI) modules License: BSD-style Group: Development/Tools Url: https://www.slicer.org/wiki/Documentation/Nightly/Developers/SlicerExecutionModel ExcludeArch: %arm # https://github.com/Slicer/SlicerExecutionModel.git Source: %name-%version.tar Patch1: slicerexecutionmodel-alt-install.patch BuildRequires: gcc-c++ cmake BuildRequires: libitk-devel BuildRequires: jsoncpp-devel BuildRequires: parameterserializer-devel BuildRequires: libtclap-devel %description The SlicerExecutionModel is a CMake-based project providing macros and associated tools allowing to easily build Slicer CLI (Command line module). It is designed to improve the acceptance and productivity of Slicer application developers. The Execution Model provides a simple mechanism for incorporating command line programs as Slicer modules. These command line modules are self-describing, emitting an XML description of its command line arguments. Slicer uses this XML description to construct a GUI for the module. SlicerExecutionModel is documented here: https://www.slicer.org/wiki/Documentation/Nightly/Developers/SlicerExecutionModel. %package -n lib%name Summary: An open-source CMake-based project that provides macros and associated tools for the easy building of 3D Slicer command line interface (CLI) modules Group: System/Libraries %description -n lib%name The SlicerExecutionModel is a CMake-based project providing macros and associated tools allowing to easily build Slicer CLI (Command line module). It is designed to improve the acceptance and productivity of Slicer application developers. The Execution Model provides a simple mechanism for incorporating command line programs as Slicer modules. These command line modules are self-describing, emitting an XML description of its command line arguments. Slicer uses this XML description to construct a GUI for the module. SlicerExecutionModel is documented here: https://www.slicer.org/wiki/Documentation/Nightly/Developers/SlicerExecutionModel. This package contains SlicerExecutionModel shared libraries. %package devel Summary: An open-source CMake-based project that provides macros and associated tools for the easy building of 3D Slicer command line interface (CLI) modules Group: Development/C++ Requires: lib%name = %EVR Requires: parameterserializer-devel Requires: libtclap-devel %description devel The SlicerExecutionModel is a CMake-based project providing macros and associated tools allowing to easily build Slicer CLI (Command line module). It is designed to improve the acceptance and productivity of Slicer application developers. The Execution Model provides a simple mechanism for incorporating command line programs as Slicer modules. These command line modules are self-describing, emitting an XML description of its command line arguments. Slicer uses this XML description to construct a GUI for the module. SlicerExecutionModel is documented here: https://www.slicer.org/wiki/Documentation/Nightly/Developers/SlicerExecutionModel. This package contains development files for SlicerExecutionModel. %prep %setup %patch1 -p1 # ensure bundled tclap is not used rm -rf tclap %build %cmake \ -DSlicerExecutionModel_USE_UTF8:BOOL=ON \ -DSlicerExecutionModel_USE_JSONCPP:BOOL=ON \ -DSlicerExecutionModel_USE_SERIALIZER:BOOL=ON \ -DSlicerExecutionModel_INSTALL_LIB_DIR:STRING=%_lib \ -DSlicerExecutionModel_INSTALL_NO_DEVELOPMENT:BOOL=OFF \ -DGenerateCLP_USE_JSONCPP:BOOL=ON \ -DGenerateCLP_USE_SERIALIZER:BOOL=ON \ -DGenerateCLP_INSTALL_NO_DEVELOPMENT:BOOL=OFF \ -DModuleDescriptionParser_USE_SERIALIZER:BOOL=ON \ -DModuleDescriptionParser_INSTALL_NO_DEVELOPMENT:BOOL=OFF \ -DModuleDescriptionParser_LIBRARY_PROPERTIES='VERSION;0;SOVERSION;0' \ %nil %cmake_build %install %cmakeinstall_std %files -n lib%name %doc License.txt NOTICE %doc README.md %_libdir/*.so.* %files devel %_bindir/* %_includedir/* %_libdir/*.so %_libdir/cmake/* %changelog * Mon Jun 28 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 2.0.0-alt2.git.f19d6e8 - Rebuilt with system tclap. * Fri May 21 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 2.0.0-alt1.git.f19d6e8 - Initial build for ALT. |