Package libopenshot: 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 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | %def_disable snapshot %define _name openshot %define ver_major 0.3 %define api_ver 24 %def_enable python %def_enable opencv %def_disable doc #99%% tests passed, 1 tests failed out of 132 %def_disable check Name: lib%_name Version: %ver_major.2 Release: alt1.2 Summary: OpenShot Video Library Group: System/Libraries License: GPL-3.0 Url: https://launchpad.net/%name %if_disabled snapshot #Source: %url/%ver_major/%version/+download/%name-%version.tar.gz Source: https://github.com/OpenShot/%name/archive/v%version/%name-%version.tar.gz %else Vcs: https://github.com/OpenShot/libopenshot.git Source: %name-%version.tar %endif # based on http://github.com/EntityFX/libopenshot Patch2000: libopenshot-0.3.0-entityfx-e2k.patch BuildRequires(pre): rpm-macros-cmake rpm-build-python3 BuildRequires: %name-audio-devel >= 0.3.2 BuildRequires: /proc cmake gcc-c++ BuildRequires: python3(setuptools._distutils) BuildRequires: libgomp-devel libunittest-cpp-devel jsoncpp-devel BuildRequires: libalsa-devel qt5-multimedia-devel qt5-svg-devel libzeromq-cpp-devel BuildRequires: libImageMagick-devel zlib-devel BuildRequires: libavcodec-devel libavformat-devel libavutil-devel BuildRequires: libswresample-devel libswscale-devel BuildRequires: libavdevice-devel libpostproc-devel BuildRequires: libbabl-devel # https://github.com/RazrFalcon/resvg # BuildRequires: libresvg-devel %{?_enable_opencv:BuildRequires: boost-devel libopencv-devel libprotobuf-devel %_bindir/protoc} %{?_enable_python:BuildRequires: python3-devel python3-module-zmq swig} %{?_enable_check:BuildRequires: ctest ImageMagick-tools BuildRequires: catch2-devel} %description libopenshot is an open-source, cross-platform C++ library dedicated to delivering high quality video editing, animation, and playback solutions to the world. This is the same library which powers OpenShot Video Editor (version 2.0+) and it could power your next video editing application! C++, Python, and Ruby are fully supported, and other languages can be added if requested. %package devel Summary: OpenShot Video Library development package Group: Development/C++ Requires: %name = %EVR %description devel This package contains development libraries and header files that are needed to write applications that use %name. %package -n python3-module-%_name Summary: Python3 bindings for OpenShot Video Library Group: Development/Python3 Requires: %name = %EVR %description -n python3-module-%_name This package provides Python3 bindings for OpenShot Video Library. %prep %setup %ifarch %e2k %patch2000 -p1 %endif %build %add_optflags %(getconf LFS_CFLAGS) -DNDEBUG %ifarch %e2k %add_optflags -DJUCE_NO_INLINE_ASM=1 -DJUCE_USE_SIMD=0 %endif %cmake -DUSE_SYSTEM_JSONCPP:BOOL=ON \ -DMAGICKCORE_HDRI_ENABLE:BOOL=ON \ -DMAGICKCORE_QUANTUM_DEPTH=16 \ %{?_enable_python:-DENABLE_PYTHON=TRUE} \ %{?_enable_opencv:-DENABLE_OPENCV=TRUE} \ %{?_enable_check:-DENABLE_TESTS=TRUE} %nil %cmake_build %install %cmake_install %check %cmake_build -t test %files %_libdir/%name.so.* %doc AUTHORS README* %files devel %_includedir/%name/ %_libdir/%name.so %files -n python3-module-%_name %python3_sitelibdir/* %changelog * Sat Mar 16 2024 Yuri N. Sedunov <aris@altlinux.org> 0.3.2-alt1.2 - fixed BR * Thu Sep 07 2023 Yuri N. Sedunov <aris@altlinux.org> 0.3.2-alt1.1 - rebuilt against ffmpeg-6.0 libraries * Fri Apr 21 2023 Yuri N. Sedunov <aris@altlinux.org> 0.3.2-alt1 - 0.3.2 * Fri Apr 07 2023 Yuri N. Sedunov <aris@altlinux.org> 0.3.1-alt1 - 0.3.1 * Fri Dec 02 2022 Yuri N. Sedunov <aris@altlinux.org> 0.3.0-alt1 - 0.3.0 - applied fix for %%e2k (artem.solopiy@ & mike@) * Tue Sep 07 2021 Yuri N. Sedunov <aris@altlinux.org> 0.2.7-alt1 - 0.2.7 * Wed Aug 25 2021 Yuri N. Sedunov <aris@altlinux.org> 0.2.6-alt1 - 0.2.6 * Sun May 30 2021 Yuri N. Sedunov <aris@altlinux.org> 0.2.5-alt3.1 - rebuild with new cmake macros * Thu May 27 2021 Yuri N. Sedunov <aris@altlinux.org> 0.2.5-alt3 - disabled broken %check * Sat Dec 05 2020 Yuri N. Sedunov <aris@altlinux.org> 0.2.5-alt2 - fixed build with gcc10/-fno-common (upstream patch) * Mon Mar 16 2020 Yuri N. Sedunov <aris@altlinux.org> 0.2.5-alt1 - 0.2.5 * Mon Feb 10 2020 Yuri N. Sedunov <aris@altlinux.org> 0.2.4-alt1 - 0.2.4 - %%check section * Sat Mar 30 2019 Yuri N. Sedunov <aris@altlinux.org> 0.2.3-alt1 - 0.2.3 * Sun Sep 23 2018 Yuri N. Sedunov <aris@altlinux.org> 0.2.2-alt1 - 0.2.2 * Thu Sep 20 2018 Yuri N. Sedunov <aris@altlinux.org> 0.2.1-alt1 - 0.2.1 * Sat Jun 30 2018 Yuri N. Sedunov <aris@altlinux.org> 0.2.0-alt1 - 0.2.0 * Thu Jun 14 2018 Yuri N. Sedunov <aris@altlinux.org> 0.1.9-alt3 - rebuilt with ffmpeg-4.0 * Tue May 22 2018 Yuri N. Sedunov <aris@altlinux.org> 0.1.9-alt2 - rebuilt against ImageMagick-6.9.9.47 libraries * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.1.9-alt1.1 - (NMU) Rebuilt with python-3.6.4. * Mon Nov 13 2017 Yuri N. Sedunov <aris@altlinux.org> 0.1.9-alt1 - 0.1.9 * Fri Sep 08 2017 Yuri N. Sedunov <aris@altlinux.org> 0.1.8-alt1 - 0.1.8 * Fri Aug 18 2017 Yuri N. Sedunov <aris@altlinux.org> 0.1.7-alt3 - rebuilt with libImageMagick-6.9.9.7 * Sun Jun 04 2017 Yuri N. Sedunov <aris@altlinux.org> 0.1.7-alt2 - rebuilt against ffmpeg-3.3.1 libraries * Fri Jun 02 2017 Yuri N. Sedunov <aris@altlinux.org> 0.1.7-alt1 - 0.1.7 * Mon May 29 2017 Yuri N. Sedunov <aris@altlinux.org> 0.1.6-alt1 - 0.1.6 * Fri May 12 2017 Yuri N. Sedunov <aris@altlinux.org> 0.1.5-alt1 - 0.1.5 * Sat Apr 01 2017 Yuri N. Sedunov <aris@altlinux.org> 0.1.4-alt1 - 0.1.4 * Fri Jan 27 2017 Yuri N. Sedunov <aris@altlinux.org> 0.1.3-alt1 - first build for Sisyphus |