1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mlt/mlt.spec Fri Sep 09 16:56:22 2011 +0200 1.3 @@ -0,0 +1,474 @@ 1.4 +# vim: set sw=4 ts=4 et: 1.5 + 1.6 +%define soname 4 1.7 +%define soname_pp 3 1.8 + 1.9 +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} 1.10 +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} 1.11 + 1.12 +Name: mlt 1.13 +Version: 0.7.2 1.14 +Release: 1.pm.1.8 1.15 +License: GNU General Public License version 2 or later (GPLv2 or later) 1.16 +Summary: Multimedia framework for television broadcasting 1.17 +Group: Productivity/Multimedia/Sound/Editors and Convertors 1.18 +URL: http://www.mltframework.org/twiki/bin/view/MLT/WebHome 1.19 +# http://prdownloads.sourceforge.net/mlt/mlt-%{version}.tar.gz 1.20 +Source: mlt-%{version}.tar.bz2 1.21 +Source90: %{name}-rpmlintrc 1.22 +Patch1: mlt-qt_backport.patch 1.23 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot 1.24 +BuildRequires: gcc-c++ 1.25 +BuildRequires: libffmpeg-devel libamrnb-devel ffmpeg 1.26 +BuildRequires: frei0r-plugins 1.27 +BuildRequires: gamin-devel 1.28 +BuildRequires: gtk2-devel 1.29 +%if 0%{?suse_version} < 1130 1.30 +BuildRequires: gdk-pixbuf-devel 1.31 +%endif 1.32 +BuildRequires: ImageMagick 1.33 +BuildRequires: ladspa-devel 1.34 +BuildRequires: ladspa 1.35 +BuildRequires: libdv-devel 1.36 +BuildRequires: libgsm-devel 1.37 +BuildRequires: libjack-devel 1.38 +BuildRequires: libkde4-devel 1.39 +BuildRequires: libmad-devel 1.40 +BuildRequires: libquicktime-devel 1.41 +BuildRequires: libsamplerate-devel 1.42 +BuildRequires: libvorbis-devel 1.43 +BuildRequires: libxml2-devel >= 2.5 1.44 +BuildRequires: pango-devel 1.45 +BuildRequires: qt-devel 1.46 +BuildRequires: pkgconfig 1.47 +BuildRequires: SDL-devel >= 1.2 1.48 +BuildRequires: sox-devel >= 14.3.0 1.49 +BuildRequires: sox >= 14.3.0 1.50 +BuildRequires: xorg-x11-devel 1.51 +Requires: ladspa 1.52 +BuildRequires: python-devel 1.53 +BuildRequires: swig 1.54 +%py_requires 1.55 + 1.56 +# pmbs ... 1.57 +#BuildRequires: libwavpack-devel libsndfile-devel libxine1 1.58 + 1.59 +%if %suse_version > 1101 1.60 +BuildRequires: libdb-4_5-devel 1.61 +%endif 1.62 + 1.63 +%description 1.64 +MLT is an open source multimedia framework, designed and developed 1.65 +for television broadcasting. It provides a toolkit for broadcasters, 1.66 +video editors, media players, transcoders, web streamers and many 1.67 +more types of applications. 1.68 + 1.69 +The functionality of the system is provided via an assortment of 1.70 +ready to use tools, xml authoring components, and an extendible 1.71 +plug-in based API. 1.72 + 1.73 +%package devel 1.74 +Summary: MLT Video Editor development files 1.75 +Group: Development/Libraries/C and C++ 1.76 +Requires: %{name} = %{version} 1.77 +Requires: frei0r-plugins 1.78 +Requires: gtk2-devel 1.79 +%if 0%{?suse_version} < 1130 1.80 +Requires: gdk-pixbuf-devel 1.81 +%endif 1.82 +Requires: ladspa-devel 1.83 +Requires: ladspa 1.84 +Requires: libdv-devel 1.85 +Requires: libffmpeg-devel 1.86 +Requires: libgsm-devel 1.87 +Requires: libjack-devel 1.88 +Requires: libkde4-devel 1.89 +Requires: libmad-devel 1.90 +Requires: libmlt%{soname} = %{version} 1.91 +Requires: libquicktime-devel 1.92 +Requires: libsamplerate-devel 1.93 +Requires: libvorbis-devel 1.94 +Requires: libxml2-devel >= 2.5 1.95 +Requires: pango-devel 1.96 +Requires: qt-devel 1.97 +Requires: SDL-devel >= 1.2 1.98 +Requires: sox-devel >= 14.3.0 1.99 +Requires: sox >= 14.3.0 1.100 +Requires: xorg-x11-devel 1.101 + 1.102 +%description devel 1.103 +MLT is an open source multimedia framework, designed and developed 1.104 +for television broadcasting. It provides a toolkit for broadcasters, 1.105 +video editors, media players, transcoders, web streamers and many 1.106 +more types of applications. 1.107 + 1.108 +The functionality of the system is provided via an assortment of 1.109 +ready to use tools, xml authoring components, and an extendible 1.110 +plug-in based API. 1.111 + 1.112 +Headers and link/static libraries for package MLT. 1.113 + 1.114 +%package -n mlt++-devel 1.115 +Summary: MLT Video Editor development files 1.116 +Group: Development/Libraries/C and C++ 1.117 +Requires: %{name}-devel = %{version} 1.118 +Requires: libmlt++%{soname_pp} = %{version} 1.119 + 1.120 +%description -n mlt++-devel 1.121 +MLT is an open source multimedia framework, designed and developed 1.122 +for television broadcasting. It provides a toolkit for broadcasters, 1.123 +video editors, media players, transcoders, web streamers and many 1.124 +more types of applications. 1.125 + 1.126 +The functionality of the system is provided via an assortment of 1.127 +ready to use tools, xml authoring components, and an extendible 1.128 +plug-in based API. 1.129 + 1.130 +Headers and link/static libraries for package MLT++. 1.131 + 1.132 +%package -n libmlt%{soname} 1.133 +Summary: MLT Video Editor shared library 1.134 +Group: System/Libraries 1.135 + 1.136 +%description -n libmlt%{soname} 1.137 +MLT is an open source multimedia framework, designed and developed 1.138 +for television broadcasting. It provides a toolkit for broadcasters, 1.139 +video editors, media players, transcoders, web streamers and many 1.140 +more types of applications. 1.141 + 1.142 +The functionality of the system is provided via an assortment of 1.143 +ready to use tools, xml authoring components, and an extendible 1.144 +plug-in based API. 1.145 + 1.146 +Shared library for package MLT. 1.147 + 1.148 +%package -n libmlt++%{soname_pp} 1.149 +Summary: MLT Video Editor shared library 1.150 +Group: System/Libraries 1.151 + 1.152 +%description -n libmlt++%{soname_pp} 1.153 +MLT is an open source multimedia framework, designed and developed 1.154 +for television broadcasting. It provides a toolkit for broadcasters, 1.155 +video editors, media players, transcoders, web streamers and many 1.156 +more types of applications. 1.157 + 1.158 +The functionality of the system is provided via an assortment of 1.159 +ready to use tools, xml authoring components, and an extendible 1.160 +plug-in based API. 1.161 + 1.162 +Shared library for package MLT. 1.163 + 1.164 +%package -n python-mlt 1.165 +Summary: MLT Video Editor python bindings 1.166 +Group: Development/Languages/Python 1.167 +Requires: %{name} = %{version} 1.168 +%if %suse_version >= 1110 1.169 +Requires: python-base >= %{py_ver} 1.170 +%else 1.171 +Requires: python >= %{py_ver} 1.172 +%endif 1.173 + 1.174 +%description -n python-mlt 1.175 +MLT is an open source multimedia framework, designed and developed 1.176 +for television broadcasting. It provides a toolkit for broadcasters, 1.177 +video editors, media players, transcoders, web streamers and many 1.178 +more types of applications. 1.179 + 1.180 +The functionality of the system is provided via an assortment of 1.181 +ready to use tools, xml authoring components, and an extendible 1.182 +plug-in based API. 1.183 + 1.184 +Python bindings for package MLT. 1.185 + 1.186 +%prep 1.187 +%setup -q -n %{name}-%{version} 1.188 +%if %suse_version < 1100 1.189 +%patch1 1.190 +%endif 1.191 + 1.192 +%build 1.193 +%suse_update_libdir src/modules/qimage/configure 1.194 + 1.195 +export KDEDIR=%{_prefix} 1.196 +%configure \ 1.197 +%ifarch %ix86 1.198 + --disable-sse2 \ 1.199 + --disable-mmx \ 1.200 +%else 1.201 + --enable-sse2 \ 1.202 + --enable-mmx \ 1.203 +%endif 1.204 + --enable-gpl \ 1.205 + --enable-avformat \ 1.206 + --avformat-shared="%{_libdir}" \ 1.207 + --avformat-swscale \ 1.208 + --avformat-vdpau \ 1.209 + --enable-core \ 1.210 + --enable-dgraft \ 1.211 + --enable-dv \ 1.212 + --enable-effectv \ 1.213 + --enable-feeds \ 1.214 + --enable-frei0r \ 1.215 + --enable-gtk2 \ 1.216 + --enable-jackrack \ 1.217 + --enable-kdenlive \ 1.218 + --enable-kino \ 1.219 + --enable-lumas \ 1.220 + --enable-linsys \ 1.221 + --enable-melt \ 1.222 +%ifarch ppc 1.223 + --disable-motion_est \ 1.224 +%else 1.225 +%ifnarch x86_64 1.226 + --enable-motion-est \ 1.227 +%else 1.228 + --disable-motion_est \ 1.229 +%endif 1.230 +%endif 1.231 + --enable-normalize \ 1.232 + --enable-oldfilm \ 1.233 + --enable-plus \ 1.234 + --enable-qimage \ 1.235 + --enable-resample \ 1.236 + --enable-sdl \ 1.237 + --enable-sox \ 1.238 + --enable-vmfx \ 1.239 + --enable-vorbis \ 1.240 +%ifarch ppc 1.241 + --disable-xine \ 1.242 +%else 1.243 + --enable-xine \ 1.244 +%endif 1.245 + --enable-xml \ 1.246 + --enable-shared \ 1.247 + --luma-compress \ 1.248 + --qimage-libdir=%{_libdir} \ 1.249 + --qimage-includedir=%{_includedir} \ 1.250 + --swig-languages=python 1.251 + 1.252 +# luma/PAL/* gets not filled, if .executed is present 1.253 +%__rm -rf src/modules/lumas/.executed 1.254 + 1.255 +%__make %{?_smp_flags} 1.256 + 1.257 +%install 1.258 +%makeinstall 1.259 + 1.260 +# make install is missing this .. DIY :) 1.261 +%__install -dm 755 %{buildroot}%{python_sitearch} 1.262 +%__install -m 644 src/swig/python/_mlt.so \ 1.263 + %{buildroot}%{python_sitearch} 1.264 +%__install -dm 755 %{buildroot}%{python_sitelib} 1.265 +%__install -m 644 src/swig/python/mlt.py \ 1.266 + %{buildroot}%{python_sitelib} 1.267 + 1.268 +%clean 1.269 +%{?buildroot:%__rm -rf "%{buildroot}"} 1.270 + 1.271 +%post -n libmlt%{soname} -p /sbin/ldconfig 1.272 +%postun -n libmlt%{soname} -p /sbin/ldconfig 1.273 + 1.274 +%post -n libmlt++%{soname_pp} -p /sbin/ldconfig 1.275 +%postun -n libmlt++%{soname_pp} -p /sbin/ldconfig 1.276 + 1.277 +%files 1.278 +%defattr(-, root, root) 1.279 +%doc ChangeLog COPYING README 1.280 +%doc docs/*.txt 1.281 +%{_bindir}/melt 1.282 +%dir %{_libdir}/mlt 1.283 +%{_libdir}/mlt/libmltavformat.so 1.284 +%{_libdir}/mlt/libmltcore.so 1.285 +%{_libdir}/mlt/libmltdgraft.so 1.286 +%{_libdir}/mlt/libmltdv.so 1.287 +%{_libdir}/mlt/libmlteffectv.so 1.288 +%{_libdir}/mlt/libmltfrei0r.so 1.289 +%{_libdir}/mlt/libmltgtk2.so 1.290 +%{_libdir}/mlt/libmltjackrack.so 1.291 +%{_libdir}/mlt/libmltkdenlive.so 1.292 +%{_libdir}/mlt/libmltkino.so 1.293 +%{_libdir}/mlt/libmltlinsys.so 1.294 +%{_libdir}/mlt/libmltmelt.so 1.295 +%{_libdir}/mlt/libmltxml.so 1.296 +%ifnarch x86_64 1.297 +%ifnarch ppc 1.298 +%{_libdir}/mlt/libmltmotion_est.so 1.299 +%endif 1.300 +%endif 1.301 +%{_libdir}/mlt/libmltnormalize.so 1.302 +%{_libdir}/mlt/libmltoldfilm.so 1.303 +%{_libdir}/mlt/libmltplus.so 1.304 +%{_libdir}/mlt/libmltqimage.so 1.305 +%{_libdir}/mlt/libmltresample.so 1.306 +%{_libdir}/mlt/libmltrotoscoping.so 1.307 +%{_libdir}/mlt/libmltsdl.so 1.308 +%{_libdir}/mlt/libmltsox.so 1.309 +%{_libdir}/mlt/libmltvmfx.so 1.310 +%{_libdir}/mlt/libmltvorbis.so 1.311 +%ifnarch ppc 1.312 +%{_libdir}/mlt/libmltxine.so 1.313 +%endif 1.314 +%{_libdir}/mlt/libmltdecklink.so 1.315 +%dir %{_datadir}/mlt 1.316 +%{_datadir}/mlt/metaschema.yaml 1.317 +%dir %{_datadir}/mlt/avformat 1.318 +%{_datadir}/mlt/avformat/* 1.319 +%dir %{_datadir}/mlt/core 1.320 +%{_datadir}/mlt/core/data_fx.properties 1.321 +%{_datadir}/mlt/core/loader.dict 1.322 +%{_datadir}/mlt/core/loader.ini 1.323 +%dir %{_datadir}/mlt/feeds 1.324 +%{_datadir}/mlt/feeds/* 1.325 +%dir %{_datadir}/mlt/lumas 1.326 +%{_datadir}/mlt/lumas/* 1.327 +%dir %{_datadir}/mlt/oldfilm 1.328 +%{_datadir}/mlt/oldfilm/* 1.329 +%dir %{_datadir}/mlt/profiles 1.330 +%{_datadir}/mlt/profiles/* 1.331 +%dir %{_datadir}/mlt/rotoscoping 1.332 +%{_datadir}/mlt/rotoscoping/filter_rotoscoping.yml 1.333 +%dir %{_datadir}/mlt/xml 1.334 +%{_datadir}/mlt/xml/mlt-xml.dtd 1.335 +%dir %{_datadir}/mlt/frei0r 1.336 +%{_datadir}/mlt/frei0r/blacklist.txt 1.337 +%{_datadir}/mlt/frei0r/not_thread_safe.txt 1.338 +%dir %{_datadir}/mlt/decklink 1.339 +%{_datadir}/mlt/decklink/*.yml 1.340 + 1.341 +%files devel 1.342 +%defattr(-, root, root) 1.343 +%dir %{_includedir}/mlt 1.344 +%dir %{_includedir}/mlt/framework 1.345 +%{_includedir}/mlt/framework/*.h 1.346 +%{_libdir}/libmlt.so 1.347 +%{_libdir}/pkgconfig/mlt-framework.pc 1.348 + 1.349 +%files -n mlt++-devel 1.350 +%defattr(-, root, root) 1.351 +%dir %{_includedir}/mlt++ 1.352 +%{_includedir}/mlt++/* 1.353 +%{_libdir}/libmlt++.so 1.354 +%{_libdir}/pkgconfig/mlt++.pc 1.355 + 1.356 +%files -n libmlt%{soname} 1.357 +%defattr(-, root, root) 1.358 +%{_libdir}/libmlt.so.%{soname} 1.359 +# no kidding, on purpose, go figure...: 1.360 +%{_libdir}/libmlt.so.0.* 1.361 + 1.362 +%files -n libmlt++%{soname_pp} 1.363 +%defattr(-, root, root) 1.364 +%{_libdir}/libmlt++.so.%{soname_pp} 1.365 +# no kidding, on purpose, go figure...: 1.366 +%{_libdir}/libmlt++.so.0.* 1.367 + 1.368 +%files -n python-mlt 1.369 +%defattr(-, root, root) 1.370 +%{python_sitearch}/_mlt.so 1.371 +%{python_sitelib}/mlt.py 1.372 + 1.373 +%changelog 1.374 +* Sun Jun 12 2011 pascal.bleser@opensuse.org 1.375 +- build with SSE2 and MMX support on 64bit 1.376 +- build with VDPAU support 1.377 +- update to 0.7.2: 1.378 + * this is a minor release to fix a few things between the 0.7.0 release and 1.379 + the release of Kdenlive 0.8. I recommend Kdenlive v0.8 users to upgrade to 1.380 + this version of Mlt 1.381 + * some exciting additions to the Blackmagic Design DeckLink plugin 1.382 + * added mlt_profile_list() 1.383 + * added decklink producer (i.e. capture, live encoding) 1.384 + * added keyer output for decklink consumer 1.385 + * added AVOptions to the avformat service metadata 1.386 + * added support for new major API versions (53) of FFmpeg 1.387 + * melt: added '-query profile' option 1.388 + * melt: added '-query formats', '-query audio_codecs' and '-query 1.389 + video_codecs' 1.390 +* Mon Apr 11 2011 reddwarf@opensuse.org 1.391 +- update to 0.7.0 1.392 +* Wed Sep 29 2010 pascal.bleser@opensuse.org 1.393 +- update to 0.5.10 1.394 +* Fri Jul 30 2010 toni@links2linux.de 1.395 +- update to 0.5.6 1.396 +- This is a maintenance release to address some bugs that appeared 1.397 + thus far in the 0.5.x series. Beyond that is a few enhancements: 1.398 + * Added interpolation to the affine transition and filter. 1.399 + * Added multi-track audio encoding to avformat consumer. 1.400 + * Added interlaced field rendering to kdenlivetitle producer. 1.401 +* Thu Mar 11 2010 toni@links2linux.de 1.402 +- update to 0.5.2 1.403 +- This is a minor maintenance release, but it is interesting because 1.404 + it now enables usage of libswscale as the default choice for image 1.405 + scaling, image format conversion, and color space conversion. That 1.406 + gives better quality and performance. In addition, there are some 1.407 + improvements in the sdl_preview consumer to make it suitable for use 1.408 + in OpenShot 1.1. 1.409 +* Tue Mar 2 2010 toni@links2linux.de 1.410 +- rebuild with --disable-sse2 1.411 +- new URL 1.412 +* Tue Feb 16 2010 toni@links2linux.de 1.413 +- update to 0.5.0 1.414 +- This is an enhancement release, confined mainly to the modules rather 1.415 + than the framework. In particular, this adds support for VDPAU, YADIF, 1.416 + and HD-SDI technologies! 1.417 +* Mon Feb 1 2010 toni@links2linux.de 1.418 +- update to 0.4.10 1.419 +- added libmltlinsys.so 1.420 +* Tue Jan 12 2010 toni@links2linux.de 1.421 +- added python-mlt sub-package 1.422 +* Fri Oct 9 2009 pascal.bleser@opensuse.org 1.423 +- update to 0.4.6 1.424 +* Fri Oct 2 2009 Manfred.Tremmel@iiv.de 1.425 +- included debian patch mlt_0.4.4-3.diff 1.426 +* Thu Sep 24 2009 Manfred.Tremmel@iiv.de 1.427 +- update to 0.4.4 1.428 +* Mon May 18 2009 toni@links2linux.de 1.429 +- update to 0.4.2 1.430 +- dropped libvalerie1, libmiracle1 1.431 +- added mlt++-devel, libmlt++2 sub-packages (obsoletes mlt++-*) 1.432 +* Wed Apr 15 2009 toni@links2linux.de 1.433 +- update to 0.3.8 1.434 +- split of libvalerie1, libmlt1, libmiracle1 1.435 +* Tue Feb 3 2009 toni@links2linux.de 1.436 +- update to 0.3.6 1.437 +* Sun Feb 1 2009 toni@links2linux.de 1.438 +- rebuild with new sox(-devel) packages 1.439 +* Fri Jan 2 2009 toni@links2linux.de 1.440 +- update to 0.3.4 1.441 +* Tue Nov 11 2008 toni@links2linux.de 1.442 +- update to 0.3.2 1.443 +- openSuSE >= 11.0 use only kde4 and qt4 1.444 +* Tue Oct 28 2008 toni@links2linux.de 1.445 +- rebuild with newest ffmpeg libs 1.446 +* Wed Sep 24 2008 toni@links2linux.de 1.447 +- mad ==> libmad-devel, sox ==> sox-devel 1.448 +- we have new sox 14.1 ... so I grabbed the sox-module from svn-version 1.449 +* Thu Aug 7 2008 toni@links2linux.de 1.450 +- update to 0.3.0 1.451 +* Sun Jun 29 2008 toni@links2linux.de 1.452 +- rebuild with new ffmpeg package 1.453 +- removed the av_free_static call 1.454 +- don't strip the binaries via make install 1.455 +* Fri Dec 21 2007 toni@links2linux.de 1.456 +- rebuild with new ffmpeg package 1.457 +* Thu Dec 20 2007 Manfred.Tremmel@iiv.de 1.458 +- a little change to compile it on ppc 1.459 +- added a patch to make it compile with the latest ffmpeg version 1.460 +* Tue Aug 7 2007 toni@links2linux.de 1.461 +- update to 0.2.4 1.462 +- added some more plugin-modules (qimage, kdenlive, effecttv) 1.463 +* Sat Aug 4 2007 toni@links2linux.de 1.464 +- rebuild with option --avformat-swscale 1.465 +* Wed Apr 25 2007 toni@links2linux.de 1.466 +- update to 0.2.3 1.467 +* Tue Dec 5 2006 toni@links2linux.de 1.468 +- update to 0.2.2 1.469 +- repacked as tar.bz2 1.470 +* Wed Mar 22 2006 guru@unixtech.be 1.471 +- rewrote spec file 1.472 +- disable mmx support on x86_64 1.473 +- new upstream version 1.474 +* Sun Aug 28 2005 guru@unixtech.be 1.475 +- fixed bug in requires 1.476 +* Fri Aug 19 2005 guru@unixtech.be 1.477 +- new package