Пакет frei0r-plugins: 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 | %def_with opencv %define bname frei0r %define major_ver 1 %define minor_ver 7 Name: %bname-plugins Version: %major_ver.%minor_ver.0 Release: alt2 Summary: Frei0r - a minimalistic plugin API for video effects License: GPL-2.0+ Group: Video Url: https://frei0r.dyne.org # git https://github.com/dyne/frei0r.git Source: %name-%version.tar Patch: %name-%version-%release.patch BuildRequires: gcc-c++ BuildRequires: libgavl-devel >= 0.2.3 BuildRequires: doxygen fonts-ttf-dejavu graphviz BuildRequires: libcairo-devel >= 1.0.0 %{?_with_opencv:BuildRequires: libopencv-devel} %description It is a minimalistic plugin API for video sources and filters. The behaviour of the effects can be controlled from the host by simple parameters. The intent is to solve the recurring reimplementation or adaptation issue of standard effect %package -n frei0r-devel Summary: Development files for %name Group: Development/C Requires: %name = %version-%release %description -n frei0r-devel The %name-devel package contains libraries and header files for developing applications that use %name. %package -n frei0r-devel-doc Summary: Development documentation for %name Group: Development/Documentation BuildArch: noarch %description -n frei0r-devel-doc This package contains development documentation for %name %package facedetect Summary: Face detect plugin for %name Group: Video Requires: %name = %version-%release Requires: libopencv-utils %description facedetect Face detect plugin for %name %prep %setup %patch -p1 %build # hack for compilation with opencv4 support %add_optflags $(pkg-config --cflags opencv4) mkdir -p m4 %autoreconf %configure --disable-static # workaround cvconfig.h ln -s config.h include/cvconfig.h %make_build %install %makeinstall_std %files %dir %_libdir/%bname-%major_ver %_libdir/%bname-%major_ver/*.so %if_with opencv %exclude %_libdir/%bname-%major_ver/facebl0r.so %exclude %_libdir/%bname-%major_ver/facedetect.so %endif %files -n frei0r-devel %_includedir/frei0r.h %_pkgconfigdir/*.pc %files -n frei0r-devel-doc %_defaultdocdir/%name/* %if_with opencv %files facedetect %_libdir/%bname-%major_ver/facebl0r.so %_libdir/%bname-%major_ver/facedetect.so %endif %changelog * Tue Apr 07 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 1.7.0-alt2 - Rebuilt with opencv-4.3.0. * Fri Jan 24 2020 Alexey Shabalin <shaba@altlinux.org> 1.7.0-alt1 - 1.7.0 * Wed Oct 03 2018 Alexey Shabalin <shaba@altlinux.org> 1.6.1-alt2 - fix build with opencv >= 3.4.2 * Wed Jun 06 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.6.1-alt1.2 - NMU: rebuilt with opencv-3.4. * Thu Aug 03 2017 Michael Shigorin <mike@altlinux.org> 1.6.1-alt1.1 - BOOTSTRAP: introduce opencv knob (on by default) - minor spec cleanup * Tue Jun 20 2017 Alexey Shabalin <shaba@altlinux.ru> 1.6.1-alt1 - 1.6.1 * Thu Jul 07 2016 Alexey Shabalin <shaba@altlinux.ru> 1.5-alt1 - 1.5 * Mon Apr 11 2016 Gleb F-Malinovskiy (qa) <qa_glebfm@altlinux.org> 1.4-alt2.qa1 - Rebuilt for gcc5 C++11 ABI. * Tue Oct 08 2013 Alexey Shabalin <shaba@altlinux.ru> 1.4-alt2 - build plugins cairogradient, cairoimagegrid, cairoaffineblend, cairoblend - fixed files for facedetect package * Fri Oct 04 2013 Alexey Shabalin <shaba@altlinux.ru> 1.4-alt1 - 1.4 * Tue Oct 02 2012 Alexey Shabalin <shaba@altlinux.ru> 1.3-alt3 - rebuild with new libopencv * Mon Dec 19 2011 Alexey Shabalin <shaba@altlinux.ru> 1.3-alt2 - rebuild with new libopencv * Mon Apr 04 2011 Alexey Shabalin <shaba@altlinux.ru> 1.3-alt1 - 1.3 - rebuild with new libopencv * Thu Nov 25 2010 Alexey Shabalin <shaba@altlinux.ru> 1.2.1-alt1 - 1.2.1 - build with libopencv2 (tnx to real@) * Wed Sep 15 2010 Alexey Shabalin <shaba@altlinux.ru> 1.2-alt1 - 1.2 * Fri Dec 04 2009 Alexey Shabalin <shaba@altlinux.ru> 1.1.22-alt2.git7a5488 - split facedetect package * Mon Nov 30 2009 Alexey Shabalin <shaba@altlinux.ru> 1.1.22-alt1.git7a5488 - 1.1.22 + git 2009-11-09 - update Summary, URL, description - change Packager - add frei0r-devel package - add frei0r-devel-doc package - update buildreq * Mon Nov 10 2008 Led <led@altlinux.ru> 1.1.19-alt3 - fixed build with g++ 4.3 * Sat Mar 15 2008 Led <led@altlinux.ru> 1.1.19-alt2 - moved to %_libexecdir/%bname-%major_ver/ - fixed License * Wed May 30 2007 Led <led@altlinux.ru> 1.1.19-alt1 - initial build |