michael@17: # vim: set sw=4 ts=4 et: michael@17: michael@17: %define soname 4 michael@17: %define soname_pp 3 michael@17: michael@17: %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} michael@17: %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} michael@17: michael@17: Name: mlt michael@18: Version: 20110908 michael@18: Release: git.msvb.1 michael@17: License: GNU General Public License version 2 or later (GPLv2 or later) michael@18: Vendor: Europalab Software michael@18: Packager: Michael Schloh von Bennewitz michael@17: Summary: Multimedia framework for television broadcasting michael@17: Group: Productivity/Multimedia/Sound/Editors and Convertors michael@17: URL: http://www.mltframework.org/twiki/bin/view/MLT/WebHome michael@17: # http://prdownloads.sourceforge.net/mlt/mlt-%{version}.tar.gz michael@17: Source: mlt-%{version}.tar.bz2 michael@17: Source90: %{name}-rpmlintrc michael@18: #Patch1: mlt-qt_backport.patch michael@17: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot michael@17: BuildRequires: gcc-c++ michael@17: BuildRequires: libffmpeg-devel libamrnb-devel ffmpeg michael@17: BuildRequires: frei0r-plugins michael@17: BuildRequires: gamin-devel michael@17: BuildRequires: gtk2-devel michael@17: %if 0%{?suse_version} < 1130 michael@17: BuildRequires: gdk-pixbuf-devel michael@17: %endif michael@17: BuildRequires: ImageMagick michael@17: BuildRequires: ladspa-devel michael@17: BuildRequires: ladspa michael@17: BuildRequires: libdv-devel michael@17: BuildRequires: libgsm-devel michael@17: BuildRequires: libjack-devel michael@17: BuildRequires: libkde4-devel michael@17: BuildRequires: libmad-devel michael@17: BuildRequires: libquicktime-devel michael@17: BuildRequires: libsamplerate-devel michael@17: BuildRequires: libvorbis-devel michael@17: BuildRequires: libxml2-devel >= 2.5 michael@17: BuildRequires: pango-devel michael@17: BuildRequires: qt-devel michael@17: BuildRequires: pkgconfig michael@17: BuildRequires: SDL-devel >= 1.2 michael@17: BuildRequires: sox-devel >= 14.3.0 michael@17: BuildRequires: sox >= 14.3.0 michael@17: BuildRequires: xorg-x11-devel michael@17: Requires: ladspa michael@17: BuildRequires: python-devel michael@17: BuildRequires: swig michael@17: %py_requires michael@17: michael@17: # pmbs ... michael@17: #BuildRequires: libwavpack-devel libsndfile-devel libxine1 michael@17: michael@17: %if %suse_version > 1101 michael@17: BuildRequires: libdb-4_5-devel michael@17: %endif michael@17: michael@17: %description michael@17: MLT is an open source multimedia framework, designed and developed michael@17: for television broadcasting. It provides a toolkit for broadcasters, michael@17: video editors, media players, transcoders, web streamers and many michael@17: more types of applications. michael@17: michael@17: The functionality of the system is provided via an assortment of michael@17: ready to use tools, xml authoring components, and an extendible michael@17: plug-in based API. michael@17: michael@17: %package devel michael@17: Summary: MLT Video Editor development files michael@17: Group: Development/Libraries/C and C++ michael@17: Requires: %{name} = %{version} michael@17: Requires: frei0r-plugins michael@17: Requires: gtk2-devel michael@17: %if 0%{?suse_version} < 1130 michael@17: Requires: gdk-pixbuf-devel michael@17: %endif michael@17: Requires: ladspa-devel michael@17: Requires: ladspa michael@17: Requires: libdv-devel michael@17: Requires: libffmpeg-devel michael@17: Requires: libgsm-devel michael@17: Requires: libjack-devel michael@17: Requires: libkde4-devel michael@17: Requires: libmad-devel michael@17: Requires: libmlt%{soname} = %{version} michael@17: Requires: libquicktime-devel michael@17: Requires: libsamplerate-devel michael@17: Requires: libvorbis-devel michael@17: Requires: libxml2-devel >= 2.5 michael@17: Requires: pango-devel michael@17: Requires: qt-devel michael@17: Requires: SDL-devel >= 1.2 michael@17: Requires: sox-devel >= 14.3.0 michael@17: Requires: sox >= 14.3.0 michael@17: Requires: xorg-x11-devel michael@17: michael@17: %description devel michael@17: MLT is an open source multimedia framework, designed and developed michael@17: for television broadcasting. It provides a toolkit for broadcasters, michael@17: video editors, media players, transcoders, web streamers and many michael@17: more types of applications. michael@17: michael@17: The functionality of the system is provided via an assortment of michael@17: ready to use tools, xml authoring components, and an extendible michael@17: plug-in based API. michael@17: michael@17: Headers and link/static libraries for package MLT. michael@17: michael@17: %package -n mlt++-devel michael@17: Summary: MLT Video Editor development files michael@17: Group: Development/Libraries/C and C++ michael@17: Requires: %{name}-devel = %{version} michael@17: Requires: libmlt++%{soname_pp} = %{version} michael@17: michael@17: %description -n mlt++-devel michael@17: MLT is an open source multimedia framework, designed and developed michael@17: for television broadcasting. It provides a toolkit for broadcasters, michael@17: video editors, media players, transcoders, web streamers and many michael@17: more types of applications. michael@17: michael@17: The functionality of the system is provided via an assortment of michael@17: ready to use tools, xml authoring components, and an extendible michael@17: plug-in based API. michael@17: michael@17: Headers and link/static libraries for package MLT++. michael@17: michael@17: %package -n libmlt%{soname} michael@17: Summary: MLT Video Editor shared library michael@17: Group: System/Libraries michael@17: michael@17: %description -n libmlt%{soname} michael@17: MLT is an open source multimedia framework, designed and developed michael@17: for television broadcasting. It provides a toolkit for broadcasters, michael@17: video editors, media players, transcoders, web streamers and many michael@17: more types of applications. michael@17: michael@17: The functionality of the system is provided via an assortment of michael@17: ready to use tools, xml authoring components, and an extendible michael@17: plug-in based API. michael@17: michael@17: Shared library for package MLT. michael@17: michael@17: %package -n libmlt++%{soname_pp} michael@17: Summary: MLT Video Editor shared library michael@17: Group: System/Libraries michael@17: michael@17: %description -n libmlt++%{soname_pp} michael@17: MLT is an open source multimedia framework, designed and developed michael@17: for television broadcasting. It provides a toolkit for broadcasters, michael@17: video editors, media players, transcoders, web streamers and many michael@17: more types of applications. michael@17: michael@17: The functionality of the system is provided via an assortment of michael@17: ready to use tools, xml authoring components, and an extendible michael@17: plug-in based API. michael@17: michael@17: Shared library for package MLT. michael@17: michael@17: %package -n python-mlt michael@17: Summary: MLT Video Editor python bindings michael@17: Group: Development/Languages/Python michael@17: Requires: %{name} = %{version} michael@17: %if %suse_version >= 1110 michael@17: Requires: python-base >= %{py_ver} michael@17: %else michael@17: Requires: python >= %{py_ver} michael@17: %endif michael@17: michael@17: %description -n python-mlt michael@17: MLT is an open source multimedia framework, designed and developed michael@17: for television broadcasting. It provides a toolkit for broadcasters, michael@17: video editors, media players, transcoders, web streamers and many michael@17: more types of applications. michael@17: michael@17: The functionality of the system is provided via an assortment of michael@17: ready to use tools, xml authoring components, and an extendible michael@17: plug-in based API. michael@17: michael@17: Python bindings for package MLT. michael@17: michael@17: %prep michael@17: %setup -q -n %{name}-%{version} michael@17: %if %suse_version < 1100 michael@18: #%patch1 michael@17: %endif michael@17: michael@17: %build michael@17: %suse_update_libdir src/modules/qimage/configure michael@17: michael@17: export KDEDIR=%{_prefix} michael@17: %configure \ michael@17: %ifarch %ix86 michael@17: --disable-sse2 \ michael@17: --disable-mmx \ michael@17: %else michael@17: --enable-sse2 \ michael@17: --enable-mmx \ michael@17: %endif michael@17: --enable-gpl \ michael@17: --enable-avformat \ michael@17: --avformat-shared="%{_libdir}" \ michael@17: --avformat-swscale \ michael@17: --avformat-vdpau \ michael@17: --enable-core \ michael@17: --enable-dgraft \ michael@17: --enable-dv \ michael@17: --enable-effectv \ michael@17: --enable-feeds \ michael@17: --enable-frei0r \ michael@17: --enable-gtk2 \ michael@17: --enable-jackrack \ michael@17: --enable-kdenlive \ michael@17: --enable-kino \ michael@17: --enable-lumas \ michael@17: --enable-linsys \ michael@17: --enable-melt \ michael@17: %ifarch ppc michael@17: --disable-motion_est \ michael@17: %else michael@17: %ifnarch x86_64 michael@17: --enable-motion-est \ michael@17: %else michael@17: --disable-motion_est \ michael@17: %endif michael@17: %endif michael@17: --enable-normalize \ michael@17: --enable-oldfilm \ michael@17: --enable-plus \ michael@17: --enable-qimage \ michael@17: --enable-resample \ michael@17: --enable-sdl \ michael@17: --enable-sox \ michael@17: --enable-vmfx \ michael@17: --enable-vorbis \ michael@17: %ifarch ppc michael@17: --disable-xine \ michael@17: %else michael@17: --enable-xine \ michael@17: %endif michael@17: --enable-xml \ michael@17: --enable-shared \ michael@17: --luma-compress \ michael@17: --qimage-libdir=%{_libdir} \ michael@17: --qimage-includedir=%{_includedir} \ michael@17: --swig-languages=python michael@17: michael@17: # luma/PAL/* gets not filled, if .executed is present michael@17: %__rm -rf src/modules/lumas/.executed michael@17: michael@17: %__make %{?_smp_flags} michael@17: michael@17: %install michael@17: %makeinstall michael@17: michael@17: # make install is missing this .. DIY :) michael@17: %__install -dm 755 %{buildroot}%{python_sitearch} michael@17: %__install -m 644 src/swig/python/_mlt.so \ michael@17: %{buildroot}%{python_sitearch} michael@17: %__install -dm 755 %{buildroot}%{python_sitelib} michael@17: %__install -m 644 src/swig/python/mlt.py \ michael@17: %{buildroot}%{python_sitelib} michael@17: michael@17: %clean michael@17: %{?buildroot:%__rm -rf "%{buildroot}"} michael@17: michael@17: %post -n libmlt%{soname} -p /sbin/ldconfig michael@17: %postun -n libmlt%{soname} -p /sbin/ldconfig michael@17: michael@17: %post -n libmlt++%{soname_pp} -p /sbin/ldconfig michael@17: %postun -n libmlt++%{soname_pp} -p /sbin/ldconfig michael@17: michael@17: %files michael@17: %defattr(-, root, root) michael@17: %doc ChangeLog COPYING README michael@17: %doc docs/*.txt michael@17: %{_bindir}/melt michael@17: %dir %{_libdir}/mlt michael@17: %{_libdir}/mlt/libmltavformat.so michael@17: %{_libdir}/mlt/libmltcore.so michael@17: %{_libdir}/mlt/libmltdgraft.so michael@17: %{_libdir}/mlt/libmltdv.so michael@17: %{_libdir}/mlt/libmlteffectv.so michael@17: %{_libdir}/mlt/libmltfrei0r.so michael@17: %{_libdir}/mlt/libmltgtk2.so michael@17: %{_libdir}/mlt/libmltjackrack.so michael@17: %{_libdir}/mlt/libmltkdenlive.so michael@17: %{_libdir}/mlt/libmltkino.so michael@17: %{_libdir}/mlt/libmltlinsys.so michael@17: %{_libdir}/mlt/libmltmelt.so michael@17: %{_libdir}/mlt/libmltxml.so michael@18: %{_libdir}/mlt/libmltvideostab.so michael@17: %ifnarch x86_64 michael@17: %ifnarch ppc michael@17: %{_libdir}/mlt/libmltmotion_est.so michael@17: %endif michael@17: %endif michael@17: %{_libdir}/mlt/libmltnormalize.so michael@17: %{_libdir}/mlt/libmltoldfilm.so michael@17: %{_libdir}/mlt/libmltplus.so michael@17: %{_libdir}/mlt/libmltqimage.so michael@17: %{_libdir}/mlt/libmltresample.so michael@17: %{_libdir}/mlt/libmltrotoscoping.so michael@17: %{_libdir}/mlt/libmltsdl.so michael@17: %{_libdir}/mlt/libmltsox.so michael@17: %{_libdir}/mlt/libmltvmfx.so michael@17: %{_libdir}/mlt/libmltvorbis.so michael@17: %ifnarch ppc michael@17: %{_libdir}/mlt/libmltxine.so michael@17: %endif michael@17: %{_libdir}/mlt/libmltdecklink.so michael@17: %dir %{_datadir}/mlt michael@17: %{_datadir}/mlt/metaschema.yaml michael@17: %dir %{_datadir}/mlt/avformat michael@17: %{_datadir}/mlt/avformat/* michael@17: %dir %{_datadir}/mlt/core michael@17: %{_datadir}/mlt/core/data_fx.properties michael@17: %{_datadir}/mlt/core/loader.dict michael@17: %{_datadir}/mlt/core/loader.ini michael@17: %dir %{_datadir}/mlt/feeds michael@17: %{_datadir}/mlt/feeds/* michael@17: %dir %{_datadir}/mlt/lumas michael@17: %{_datadir}/mlt/lumas/* michael@17: %dir %{_datadir}/mlt/oldfilm michael@17: %{_datadir}/mlt/oldfilm/* michael@17: %dir %{_datadir}/mlt/profiles michael@17: %{_datadir}/mlt/profiles/* michael@17: %dir %{_datadir}/mlt/rotoscoping michael@17: %{_datadir}/mlt/rotoscoping/filter_rotoscoping.yml michael@17: %dir %{_datadir}/mlt/xml michael@17: %{_datadir}/mlt/xml/mlt-xml.dtd michael@17: %dir %{_datadir}/mlt/frei0r michael@17: %{_datadir}/mlt/frei0r/blacklist.txt michael@17: %{_datadir}/mlt/frei0r/not_thread_safe.txt michael@17: %dir %{_datadir}/mlt/decklink michael@17: %{_datadir}/mlt/decklink/*.yml michael@18: %{_datadir}/mlt/core/*.yml michael@18: %{_datadir}/mlt/dv/*.yml michael@18: %{_datadir}/mlt/effectv/*.yml michael@18: %{_datadir}/mlt/gtk2/*.yml michael@18: %{_datadir}/mlt/jackrack/*.txt michael@18: %{_datadir}/mlt/jackrack/*.yml michael@18: %{_datadir}/mlt/kdenlive/*.yml michael@18: %{_datadir}/mlt/linsys/*.yml michael@18: %{_datadir}/mlt/melt/*.yml michael@18: %{_datadir}/mlt/normalize/*.yml michael@18: %{_datadir}/mlt/plus/*.yml michael@18: %{_datadir}/mlt/presets/consumer/avformat/* michael@18: %{_datadir}/mlt/qimage/*.yml michael@18: %{_datadir}/mlt/resample/*.yml michael@18: %{_datadir}/mlt/sdl/*.yml michael@18: %{_datadir}/mlt/sox/*.yml michael@18: %{_datadir}/mlt/videostab/*.yml michael@18: %{_datadir}/mlt/vmfx/*.yml michael@18: %{_datadir}/mlt/vorbis/*.yml michael@18: %{_datadir}/mlt/xml/*.yml michael@17: michael@17: %files devel michael@17: %defattr(-, root, root) michael@17: %dir %{_includedir}/mlt michael@17: %dir %{_includedir}/mlt/framework michael@17: %{_includedir}/mlt/framework/*.h michael@17: %{_libdir}/libmlt.so michael@17: %{_libdir}/pkgconfig/mlt-framework.pc michael@17: michael@17: %files -n mlt++-devel michael@17: %defattr(-, root, root) michael@17: %dir %{_includedir}/mlt++ michael@17: %{_includedir}/mlt++/* michael@17: %{_libdir}/libmlt++.so michael@17: %{_libdir}/pkgconfig/mlt++.pc michael@17: michael@17: %files -n libmlt%{soname} michael@17: %defattr(-, root, root) michael@17: %{_libdir}/libmlt.so.%{soname} michael@17: # no kidding, on purpose, go figure...: michael@17: %{_libdir}/libmlt.so.0.* michael@17: michael@17: %files -n libmlt++%{soname_pp} michael@17: %defattr(-, root, root) michael@17: %{_libdir}/libmlt++.so.%{soname_pp} michael@17: # no kidding, on purpose, go figure...: michael@17: %{_libdir}/libmlt++.so.0.* michael@17: michael@17: %files -n python-mlt michael@17: %defattr(-, root, root) michael@17: %{python_sitearch}/_mlt.so michael@17: %{python_sitelib}/mlt.py michael@17: michael@17: %changelog michael@18: * Fri Sep 9 2011 Michael Schloh von Bennewitz michael@18: - update to GIT (0.7.4 branch) michael@17: * Sun Jun 12 2011 pascal.bleser@opensuse.org michael@17: - build with SSE2 and MMX support on 64bit michael@17: - build with VDPAU support michael@17: - update to 0.7.2: michael@17: * this is a minor release to fix a few things between the 0.7.0 release and michael@17: the release of Kdenlive 0.8. I recommend Kdenlive v0.8 users to upgrade to michael@17: this version of Mlt michael@17: * some exciting additions to the Blackmagic Design DeckLink plugin michael@17: * added mlt_profile_list() michael@17: * added decklink producer (i.e. capture, live encoding) michael@17: * added keyer output for decklink consumer michael@17: * added AVOptions to the avformat service metadata michael@17: * added support for new major API versions (53) of FFmpeg michael@17: * melt: added '-query profile' option michael@17: * melt: added '-query formats', '-query audio_codecs' and '-query michael@17: video_codecs' michael@17: * Mon Apr 11 2011 reddwarf@opensuse.org michael@17: - update to 0.7.0 michael@17: * Wed Sep 29 2010 pascal.bleser@opensuse.org michael@17: - update to 0.5.10 michael@17: * Fri Jul 30 2010 toni@links2linux.de michael@17: - update to 0.5.6 michael@17: - This is a maintenance release to address some bugs that appeared michael@17: thus far in the 0.5.x series. Beyond that is a few enhancements: michael@17: * Added interpolation to the affine transition and filter. michael@17: * Added multi-track audio encoding to avformat consumer. michael@17: * Added interlaced field rendering to kdenlivetitle producer. michael@17: * Thu Mar 11 2010 toni@links2linux.de michael@17: - update to 0.5.2 michael@17: - This is a minor maintenance release, but it is interesting because michael@17: it now enables usage of libswscale as the default choice for image michael@17: scaling, image format conversion, and color space conversion. That michael@17: gives better quality and performance. In addition, there are some michael@17: improvements in the sdl_preview consumer to make it suitable for use michael@17: in OpenShot 1.1. michael@17: * Tue Mar 2 2010 toni@links2linux.de michael@17: - rebuild with --disable-sse2 michael@17: - new URL michael@17: * Tue Feb 16 2010 toni@links2linux.de michael@17: - update to 0.5.0 michael@17: - This is an enhancement release, confined mainly to the modules rather michael@17: than the framework. In particular, this adds support for VDPAU, YADIF, michael@17: and HD-SDI technologies! michael@17: * Mon Feb 1 2010 toni@links2linux.de michael@17: - update to 0.4.10 michael@17: - added libmltlinsys.so michael@17: * Tue Jan 12 2010 toni@links2linux.de michael@17: - added python-mlt sub-package michael@17: * Fri Oct 9 2009 pascal.bleser@opensuse.org michael@17: - update to 0.4.6 michael@17: * Fri Oct 2 2009 Manfred.Tremmel@iiv.de michael@17: - included debian patch mlt_0.4.4-3.diff michael@17: * Thu Sep 24 2009 Manfred.Tremmel@iiv.de michael@17: - update to 0.4.4 michael@17: * Mon May 18 2009 toni@links2linux.de michael@17: - update to 0.4.2 michael@17: - dropped libvalerie1, libmiracle1 michael@17: - added mlt++-devel, libmlt++2 sub-packages (obsoletes mlt++-*) michael@17: * Wed Apr 15 2009 toni@links2linux.de michael@17: - update to 0.3.8 michael@17: - split of libvalerie1, libmlt1, libmiracle1 michael@17: * Tue Feb 3 2009 toni@links2linux.de michael@17: - update to 0.3.6 michael@17: * Sun Feb 1 2009 toni@links2linux.de michael@17: - rebuild with new sox(-devel) packages michael@17: * Fri Jan 2 2009 toni@links2linux.de michael@17: - update to 0.3.4 michael@17: * Tue Nov 11 2008 toni@links2linux.de michael@17: - update to 0.3.2 michael@17: - openSuSE >= 11.0 use only kde4 and qt4 michael@17: * Tue Oct 28 2008 toni@links2linux.de michael@17: - rebuild with newest ffmpeg libs michael@17: * Wed Sep 24 2008 toni@links2linux.de michael@17: - mad ==> libmad-devel, sox ==> sox-devel michael@17: - we have new sox 14.1 ... so I grabbed the sox-module from svn-version michael@17: * Thu Aug 7 2008 toni@links2linux.de michael@17: - update to 0.3.0 michael@17: * Sun Jun 29 2008 toni@links2linux.de michael@17: - rebuild with new ffmpeg package michael@17: - removed the av_free_static call michael@17: - don't strip the binaries via make install michael@17: * Fri Dec 21 2007 toni@links2linux.de michael@17: - rebuild with new ffmpeg package michael@17: * Thu Dec 20 2007 Manfred.Tremmel@iiv.de michael@17: - a little change to compile it on ppc michael@17: - added a patch to make it compile with the latest ffmpeg version michael@17: * Tue Aug 7 2007 toni@links2linux.de michael@17: - update to 0.2.4 michael@17: - added some more plugin-modules (qimage, kdenlive, effecttv) michael@17: * Sat Aug 4 2007 toni@links2linux.de michael@17: - rebuild with option --avformat-swscale michael@17: * Wed Apr 25 2007 toni@links2linux.de michael@17: - update to 0.2.3 michael@17: * Tue Dec 5 2006 toni@links2linux.de michael@17: - update to 0.2.2 michael@17: - repacked as tar.bz2 michael@17: * Wed Mar 22 2006 guru@unixtech.be michael@17: - rewrote spec file michael@17: - disable mmx support on x86_64 michael@17: - new upstream version michael@17: * Sun Aug 28 2005 guru@unixtech.be michael@17: - fixed bug in requires michael@17: * Fri Aug 19 2005 guru@unixtech.be michael@17: - new package