Browse Source

mlt-6.2.0-3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10587 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 7 years ago
parent
commit
74ec7e0933
4 changed files with 1038 additions and 0 deletions
  1. 171 0
      f/frei0r-plugins/frei0r-plugins-vl.spec
  2. 178 0
      g/gavl/gavl-vl.spec
  3. 187 0
      l/ladspa/ladspa-vl.spec
  4. 502 0
      m/mlt/mlt-vl.spec

+ 171 - 0
f/frei0r-plugins/frei0r-plugins-vl.spec

@@ -0,0 +1,171 @@
+Name:           frei0r-plugins
+Version:        1.5
+Release:        3%{?_dist_release}
+Summary:        Frei0r - a minimalist plugin API for video effects
+
+Group:          System Environment/Libraries
+License:        GPLv2+
+URL:            https://frei0r.dyne.org/
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Source0:        https://github.com/ddennedy/frei0r/archive/v%{version}/frei0r-plugins-%{version}.tar.gz
+
+Buildrequires:  libtool
+
+BuildRequires:  gavl-devel >= 0.2.3
+BuildRequires:  opencv-devel >= 1.0.0
+BuildRequires:  cairo-devel >= 1.0.0
+     
+
+%description
+It is a minimalist plugin API for video sources and filters. The behavior of
+the effects can be controlled from the host by simple parameters. The intent is
+to solve the recurring re-implementation or adaptation issue of standard effect
+
+%package	opencv
+Summary:	Frei0r plugins using OpenCV
+Group:		System Environment/License
+Requires:	%{name} = %{version}-%{release}
+
+%description opencv
+Frei0r plugins that use the OpenCV computer vision framework.
+
+%package -n     frei0r-devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description -n frei0r-devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q -n frei0r-%{version}
+
+
+%build
+mkdir -p m4
+autoreconf -i
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+
+#Remove installed doc
+rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
+
+
+%files
+%doc AUTHORS README TODO
+%license COPYING
+%dir %{_libdir}/frei0r-1
+%exclude %{_libdir}/frei0r-1/facebl0r.so
+%exclude %{_libdir}/frei0r-1/facedetect.so
+%{_libdir}/frei0r-1/*.so
+
+%files opencv
+%{_libdir}/frei0r-1/facebl0r.so
+%{_libdir}/frei0r-1/facedetect.so
+
+%files -n frei0r-devel
+%{_includedir}/frei0r.h
+%{_libdir}/pkgconfig/frei0r.pc
+
+%changelog
+* Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.5-3
+- initial build for Vine Linux.
+
+* Tue May 10 2016 Sérgio Basto <sergio@serjux.com> - 1.5-2
+- Rebuild (opencv)
+
+* Wed May 04 2016 Sérgio Basto <sergio@serjux.com> - 1.5-1
+- New upstream release
+- Spec modernization
+
+* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.4-4
+- Rebuilt for GCC 5 C++11 ABI change
+
+* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Wed Nov 13 2013 Nicolas Chauvet <kwizart@gmail.com> - 1.4-1
+- Update to 1.4
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Wed Jul 17 2013 Matthias Clasen <mclasen@redhat.com> 1.3-11
+- Fix source url
+
+* Mon May 06 2013 Adam Jackson <ajax@redhat.com> 1.3-10
+- Move OpenCV plugins to a subpackage
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Sat Nov 10 2012 Nicolas Chauvet <kwizart@gmail.com> - 1.3-8
+- Rebuilt for opencv built without nonfree/gpu modules
+- Improve description
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Tue Jul 10 2012 Nicolas Chauvet <kwizart@gmail.com> - 1.3-6
+- Rebuilt for OpenCV 2.4.2
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Oct 10 2011 Nicolas Chauvet <kwizart@gmail.com> - 1.3-4
+- Fix unowned directory - rhbz#744889
+
+* Sun Aug 21 2011 Nicolas Chauvet <kwizart@gmail.com> - 1.3-3
+- Rebuild for OpenCV 2.3.1
+
+* Fri May 27 2011 Nicolas Chauvet <kwizart@gmail.com> - 1.3-1
+- Update to 1.3
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Thu Jan 06 2011 Nicolas Chauvet <kwizart@gmail.com> - 1.2.1-2
+- Rebuild for OpenCV 2.2
+
+* Fri Nov 26 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.2.1-1
+- Update to 1.2.1
+
+* Sat Jun 26 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.1.22-5
+- Rebuilt for opencv
+
+* Sat Feb 27 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.22-4
+- Rebuild for opencv SO version change
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.22-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Fri May 22 2009 kwizart < kwizart at gmail.com > - 1.1.22-2
+- Rebuild for opencv
+
+* Tue Mar 24 2009 kwizart < kwizart at gmail.com > - 1.1.22-1
+- Update to 1.1.22
+- Prevent timestamp change when installing
+
+* Tue Jul 22 2008 kwizart < kwizart at gmail.com > - 1.1.21-2
+- Add gcc43 patches
+
+* Sat Jun  7 2008 kwizart < kwizart at gmail.com > - 1.1.21-1
+- Initial spec file for Fedora.
+

+ 178 - 0
g/gavl/gavl-vl.spec

@@ -0,0 +1,178 @@
+%bcond_with system_libgdither
+
+Name:           gavl
+Version:        1.4.0
+Release:        9%{?_dist_release}
+Summary:        A library for handling uncompressed audio and video data
+
+Group:          System Environment/Libraries
+License:        GPLv3+
+URL:            http://gmerlin.sourceforge.net/
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Source0:        http://downloads.sourceforge.net/gmerlin/gavl-%{version}.tar.gz
+Patch1:         gavl-1.1.1-system_libgdither.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  libtool
+
+BuildRequires:  doxygen
+
+BuildRequires:  libpng-devel >= 1.0.8
+%if %{with system_libgdither}
+BuildRequires:  libgdither-devel
+%endif
+# Gavl use an internal tweaked libsamplerate version
+# ufortunately the libsamplerate doesn't want a patch 
+# that will break ABI
+#BuildRequires: libsamplerate-devel
+
+
+
+%description
+Gavl is a library for handling and converting uncompressed audio and
+video data. It provides datatypes for audio/video formats and standardized
+structures to store the data. It supports converting between all formats.
+Some conversion functions are available in multiple versions (MMX...),
+which are selected by compile time configuration, CPU autodetection and
+user options.
+
+
+%package        devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       pkgconfig
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+%if %{with system_libgdither}
+%patch1 -p1 -b .gdither
+%endif
+
+#Disable buildtime cpu detection
+sed -i -i 's/LQT_TRY_CFLAGS/dnl LQT_TRY_CFLAGS/g' configure.ac
+sed -i -i 's/LQT_OPT_CFLAGS/dnl LQT_OPT_CFLAGS/g' configure.ac
+
+#Regenerate build tool
+sh autogen.sh
+
+
+
+%build
+%configure \
+  --disable-static \
+  --disable-cpu-clip \
+  --enable-libgdither
+
+
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+# Prevent timestamps build difference
+touch -r include/gavl/gavl.h $RPM_BUILD_ROOT%{_includedir}/gavl/gavl_version.h
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README TODO
+%exclude %{_docdir}/gavl/apiref
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc %{_docdir}/gavl/apiref/
+%{_includedir}/gavl/
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/gavl.pc
+
+
+%changelog
+* Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.0-9
+- initial build for Vine Linux.
+
+* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Mon Oct 07 2013 Nicolas Chauvet <kwizart@gmail.com> - 1.4.0-4
+- Fix apiref bundled as %%doc in main - rhbz#1014820
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Sat Sep 08 2012 Nicolas Chauvet <kwizart@gmail.com> - 1.4.0-1
+- Update to 1.4.0
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Sat Mar 26 2011 Nicolas Chauvet <kwizart@gmail.com> - 1.2.0-1
+- update to 1.2.0
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sat May 01 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.2-1
+- Update to 1.1.2
+
+* Tue Oct 27 2009 kwizart < kwizart at gmail.com > - 1.1.1-1
+- Update to 1.1.1
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Mar 24 2009 kwizart < kwizart at gmail.com > - 1.1.0-1
+- Update to 1.1.0
+- Disable buildtime CPU detection.
+
+* Tue Jul 29 2008 kwizart < kwizart at gmail.com > - 1.0.1-1
+- Update to 1.0.1
+
+* Tue Jul 22 2008 kwizart < kwizart at gmail.com > - 1.0.0-2
+- Add --enable-libgdither for system libgdither
+- Add --enable-debug to disable LQT_OPT_CFLAGS
+- Add -DHAVE_GAVLCONFIG_H to include gavlconfig.h when needed
+
+* Mon May 19 2008 kwizart < kwizart at gmail.com > - 1.0.0-1
+- Update to 1.0.0 api stable
+
+* Mon May 19 2008 kwizart < kwizart at gmail.com > - 0.2.7-4
+- Initial package for Fedora

+ 187 - 0
l/ladspa/ladspa-vl.spec

@@ -0,0 +1,187 @@
+Name:           ladspa
+Version:        1.13
+Release:        17%{?_dist_release}
+
+Summary:        Linux Audio Developer's Simple Plug-in API, examples and tools
+
+Group:          System Environment/Libraries
+License:        LGPLv2+
+URL:            http://www.ladspa.org/
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Source:         http://www.ladspa.org/download/%{name}_sdk_%{version}.tgz
+Patch1:         ladspa-1.13-plugindir.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  perl
+BuildRequires:  gcc-c++
+
+%description
+There is a large number of synthesis packages in use or development on
+the Linux platform at this time. The Linux Audio Developer's Simple
+Plugin API (LADSPA) attempts to give programmers the ability to write
+simple `plugin' audio processors in C/C++ and link them dynamically
+against a range of host applications.
+
+This package contains the example plug-ins and tools from the LADSPA SDK.
+
+%package        devel
+Summary:        Linux Audio Developer's Simple Plug-in API
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description    devel
+ladspa-devel contains the ladspa.h header file.
+
+Definitive technical documentation on LADSPA plug-ins for both the host
+and plug-in is contained within copious comments within the ladspa.h
+header file.
+
+
+%prep
+%setup -q -n ladspa_sdk
+%patch1 -p0 -b .plugindir
+# respect RPM_OPT_FLAGS
+perl -pi -e 's/^(CFLAGS.*)-O3(.*)/$1\$\(RPM_OPT_FLAGS\)$2 -DPLUGINDIR=\$\(PLUGINDIR\)/' src/makefile
+# avoid X.org dependency
+perl -pi -e 's/-mkdirhier/-mkdir -p/' src/makefile
+
+# fix links to the header file in the docs
+cd doc
+perl -pi -e "s!HREF=\"ladspa.h.txt\"!href=\"file:///usr/include/ladspa.h\"!" *.html
+
+
+%build
+cd src
+PLUGINDIR=\\\"%{_libdir}/ladspa\\\" make targets %{?_smp_mflags} LD="ld --build-id"
+
+#make test
+#make check
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd src
+make install \
+  INSTALL_PLUGINS_DIR=$RPM_BUILD_ROOT%{_libdir}/ladspa \
+  INSTALL_INCLUDE_DIR=$RPM_BUILD_ROOT%{_includedir} \
+  INSTALL_BINARY_DIR=$RPM_BUILD_ROOT%{_bindir}
+
+## this is where plugins will install their rdf
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/ladspa/rdf
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%license doc/COPYING
+%dir %{_libdir}/ladspa
+%{_libdir}/ladspa/*.so
+%{_bindir}/analyseplugin
+%{_bindir}/applyplugin
+%{_bindir}/listplugins
+%{_datadir}/ladspa
+
+%files devel
+%defattr(-,root,root,-)
+%doc doc/*.html
+%{_includedir}/ladspa.h
+
+
+%changelog
+* Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.13-17
+- initial build for Vine Linux.
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-16
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-15
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.13-14
+- Rebuilt for GCC 5 C++11 ABI change
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Sun Mar 22 2009 Robert Scheck <robert@fedoraproject.org> - 1.13-5
+- Really added the plugindir patch now (thanks to Karsten Hopp)
+- Avoid the make errors because of mkdirhier better than until now
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sun Nov 23 2008 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.13-2
+- updated summary
+- not rebuilt yet
+
+* Fri Sep  5 2008 Michael Schwendt <mschwendt@fedoraproject.org> - 1.13-1
+- link with build-id to fix rawhide build
+- upgrade to 1.13 (GCC4 build-fix and string fixes) (#449542)
+- add -plugindir patch so listplugin and friends will work by default
+  (Anthony Green #324741)
+
+* Tue Aug  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.12-10
+- fix license tag
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org>
+- 1.12-9
+- Autorebuild for GCC 4.3
+
+* Mon Apr 23 2007 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.12-8
+- own the datadir.  Fixes #231706.
+
+* Sat Sep 16 2006 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.12-7
+- include gcc 4.1 patch from Mandriva
+
+* Sun Mar 05 2006 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.12-6
+- rebuilt for FE5
+
+* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.12-5
+- rebuild on all arches
+
+* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+- rebuilt
+
+* Sun Sep 07 2003 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0:1.12-0.fdr.3: readded epoch, fixed group
+
+* Fri Sep 05 2003 Thomas Vander Stichele <thomas at apestaart dot org>
+- 1.12-0.fdr.2: fixed RPM_OPT_FLAGS respect
+
+* Thu May 29 2003 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0:1.12-0.fdr.1: initial RPM release

+ 502 - 0
m/mlt/mlt-vl.spec

@@ -0,0 +1,502 @@
+%bcond_without ruby
+%bcond_with php
+
+Summary:        Toolkit for broadcasters, video editors, media players, transcoders
+Name:           mlt
+Version:        6.2.0
+Release:        3%{?_dist_release}
+
+# mlt/src/win32/fnmatch.{c,h} are BSD-licensed.
+License:        GPLv3 and LGPLv2+ and BSD
+URL:            http://www.mltframework.org/twiki/bin/view/MLT/
+Group:          System Environment/Libraries
+
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+Source0:        https://github.com/mltframework/mlt/archive/v%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires:  frei0r-devel
+BuildRequires:  opencv-devel
+BuildRequires:  qt5-qtsvg-devel
+BuildRequires:  qt5-qt3d-devel
+BuildRequires:  SDL-devel
+BuildRequires:  SDL_image-devel
+BuildRequires:  gtk2-devel
+BuildRequires:  jack-audio-connection-kit-devel
+BuildRequires:  libogg-devel
+#Deprecated dv, kino, and vorbis modules are not built.
+#https://github.com/mltframework/mlt/commit/9d082192a4d79157e963fd7f491da0f8abab683f
+#BuildRequires:  libdv-devel
+#BuildRequires:  libvorbis-devel
+BuildRequires:  libsamplerate-devel
+BuildRequires:  ladspa-devel
+BuildRequires:  libxml2-devel
+BuildRequires:  sox
+BuildRequires:  sox-devel
+BuildRequires:  swig
+BuildRequires:  python-devel
+BuildRequires:  freetype2-devel
+BuildRequires:  libexif-devel
+BuildRequires:  fftw3-devel
+BuildRequires:  pulseaudio-libs-devel
+BuildRequires:  alsa-lib-devel
+
+
+%if %{with ruby}
+BuildRequires:  ruby-devel ruby
+%else
+Obsoletes: mlt-ruby < 0.8.8-5
+%endif
+
+%if %{with php}
+BuildRequires: php-devel
+%endif
+Requires:  opencv-core
+
+%if %{with php}
+%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$
+%endif
+
+
+%description
+MLT is an open source multimedia framework, designed and developed for 
+television broadcasting.
+
+It provides a toolkit for broadcasters, video editors,media players, 
+transcoders, web streamers and many more types of applications. The 
+functionality of the system is provided via an assortment of ready to use 
+tools, xml authoring components, and an extendible plug-in based API.
+
+
+%package devel
+Summary:        Libraries, includes to develop applications with %{name}
+License:        LGPLv2+
+Group:          Development/Libraries
+Requires:       pkgconfig
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%package python
+Requires: python
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Summary: Python package to work with MLT
+
+%package ruby
+Requires: %{name}%{_isa} = %{version}-%{release}
+Summary: Ruby package to work with MLT
+
+%package php
+Requires: php(zend-abi) = %{php_zend_api}
+Requires: php(api) = %{php_core_api}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Summary: PHP package to work with MLT
+
+%description devel
+The %{name}-devel package contains the header files and static libraries for
+building applications which use %{name}.
+
+%description python
+This module allows to work with MLT using python. 
+
+%description ruby
+This module allows to work with MLT using ruby.
+
+%description php
+This module allows to work with MLT using PHP. 
+
+
+%prep
+%setup -q
+
+chmod 644 src/modules/qt/kdenlivetitle_wrapper.cpp
+chmod 644 src/modules/kdenlive/filter_freeze.c
+chmod -x demo/demo
+
+# Don't overoptimize (breaks debugging)
+sed -i -e '/fomit-frame-pointer/d' configure
+sed -i -e '/ffast-math/d' configure
+
+
+%build
+#export STRIP=/bin/true
+%configure \
+        --enable-gpl                            \
+        --enable-gpl3                            \
+        --enable-motion-est                     \
+%ifnarch %{ix86} x86_64
+        --disable-mmx                           \
+        --disable-sse                           \
+        --disable-xine                          \
+%endif
+        --rename-melt=%{name}-melt              \
+        --swig-languages="python %{?with_php: php}%{?with_ruby: ruby}"
+
+make %{?_smp_mflags}
+
+
+%install
+make DESTDIR=%{buildroot} install
+
+# manually do what 'make install' skips
+install -D -pm 0644 src/swig/python/mlt.py %{buildroot}%{python_sitelib}/mlt.py
+install -D -pm 0755 src/swig/python/_mlt.so %{buildroot}%{python_sitearch}/_mlt.so
+
+%if %{with ruby}
+install -D -pm 0755 src/swig/ruby/play.rb %{buildroot}%{ruby_vendorlibdir}/play.rb
+install -D -pm 0755 src/swig/ruby/thumbs.rb %{buildroot}%{ruby_vendorlibdir}/thumbs.rb
+install -D -pm 0755 src/swig/ruby/mlt.so %{buildroot}%{ruby_vendorarchdir}/mlt.so
+%endif
+
+%if %{with php}
+install -D -pm 0755 src/swig/php/mlt.so %{buildroot}%{php_extdir}/mlt.so
+install -d %{buildroot}%{_sysconfdir}/php.d
+cat > %{buildroot}%{_sysconfdir}/php.d/mlt.ini << 'EOF'
+; Enable mlt extension module
+extension=mlt.so
+EOF
+%endif
+
+mv src/modules/motion_est/README README.motion_est
+
+
+%check
+# verify pkg-config version sanity
+export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
+test "$(pkg-config --modversion mlt-framework)" = "%{version}"
+test "$(pkg-config --modversion mlt++)" = "%{version}"
+
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%files
+%doc AUTHORS ChangeLog NEWS README*
+%license COPYING GPL
+%{_bindir}/mlt-melt
+%{_libdir}/mlt/
+%{_libdir}/libmlt++.so.*
+%{_libdir}/libmlt.so.*
+%{_datadir}/mlt/
+
+%files python
+%{python_sitelib}/mlt.py*
+%{python_sitearch}/_mlt.so
+
+%if %{with ruby}
+%files ruby
+%{ruby_vendorlibdir}/play.rb
+%{ruby_vendorlibdir}/thumbs.rb
+%{ruby_vendorarchdir}/mlt.so
+%endif
+
+%if %{with php}
+%files php
+%config(noreplace) %{_sysconfdir}/php.d/mlt.ini
+%{php_extdir}/mlt.so
+%endif
+
+%files devel
+%doc docs/* demo/
+%{_libdir}/pkgconfig/mlt-framework.pc
+%{_libdir}/pkgconfig/mlt++.pc
+%{_libdir}/libmlt.so
+%{_libdir}/libmlt++.so
+%{_includedir}/mlt/
+%{_includedir}/mlt++/
+
+
+%changelog
+* Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 6.2.0-3
+- initial build for Vine Linux.
+
+* Thu Jun 30 2016 Sérgio Basto <sergio@serjux.com> - 6.2.0-2
+- Disable the php extension, for now, the PHP 7 landed in rawhide
+
+* Wed May 25 2016 Sérgio Basto <sergio@serjux.com> - 6.2.0-1
+- Initial MLT spec on Fedora. 
+
+* Tue Mar 29 2016 Sérgio Basto <sergio@serjux.com> - 6.0.0-3
+- Use upstream patch to compile Ruby bindings
+
+* Sun Feb 21 2016 Sérgio Basto <sergio@serjux.com> - 6.0.0-2
+- Add license tag. 
+- More spec modernizations and rpmlint fixes.
+- Configure conditional build for Ruby.
+- Remove old BuilRequires that aren't needed anymore. 
+- Remove old config options (avformat-swscale and qimage-libdir) that no longer
+  exist in configure.
+- Fix Ruby build.
+
+* Fri Feb 19 2016 Sérgio Basto <sergio@serjux.com> - 6.0.0-1
+- Update 6.0.0 (This is a bugfix and minor enhancement release. Note that our
+  release versioning scheme has changed. We were approaching 1.0 but decided to
+  synchronize release version with the C library ABI version, which is currently
+  at v6)
+- Switch to qt5 to fix rfbz #3810 and copy some BRs from Debian package.
+
+* Wed Nov 18 2015 Sérgio Basto <sergio@serjux.com> - 0.9.8-1
+- Update MLT to 0.9.8
+
+* Mon May 11 2015 Sérgio Basto <sergio@serjux.com> - 0.9.6-2
+- Workaround #3523
+
+* Thu May 07 2015 Sérgio Basto <sergio@serjux.com> - 0.9.6-1
+- Update mlt to 0.9.6 .
+- Added BuildRequires of libexif-devel .
+
+* Thu May 07 2015 Sérgio Basto <sergio@serjux.com> - 0.9.2-4
+- Added BuildRequires of opencv-devel, rfbz #3523 .
+
+* Mon Oct 20 2014 Sérgio Basto <sergio@serjux.com> - 0.9.2-3
+- Rebuilt for FFmpeg 2.4.3
+
+* Fri Sep 26 2014 Nicolas Chauvet <kwizart@gmail.com> - 0.9.2-2
+- Rebuilt for FFmpeg 2.4.x
+
+* Mon Sep 15 2014 Sérgio Basto <sergio@serjux.com> - 0.9.2-1
+- New upstream release.
+
+* Thu Aug 07 2014 Sérgio Basto <sergio@serjux.com> - 0.9.0-6
+- Rebuilt for ffmpeg-2.3
+
+* Sat Jul 26 2014 Sérgio Basto <sergio@serjux.com> - 0.9.0-5
+- Rebuild for new php, need by mlt-php
+
+* Sun Mar 30 2014 Sérgio Basto <sergio@serjux.com> - 0.9.0-4
+- Rebuilt for ffmpeg-2.2 and fix for freetype2 changes.
+
+* Wed Dec 04 2013 Sérgio Basto <sergio@serjux.com> - 0.9.0-3
+- Update License tag .
+
+* Wed Nov 20 2013 Sérgio Basto <sergio@serjux.com> - 0.9.0-2
+- Enable gplv3 as asked in rfbz #3040
+- Fix a changelog date.
+- Fix Ruby warning with rpmbuild "Use RbConfig instead of obsolete and deprecated Config". 
+- Remove obsolete tag %%clean and rm -rf 
+
+* Mon Oct 07 2013 Sérgio Basto <sergio@serjux.com> - 0.9.0-1
+- Update to 0.9.0
+
+* Wed Oct 02 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.8.8-7
+- Rebuilt
+
+* Thu Aug 15 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.8.8-6
+- Rebuilt for FFmpeg 2.0.x
+
+* Mon Jun 10 2013 Rex Dieter <rdieter@fedoraproject.org> 0.8.8-5
+- mlt-ruby FTBFS, omit until fixed (#2816)
+
+* Sun May 26 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.8.8-4
+- Rebuilt for x264/FFmpeg
+
+* Sun Apr 28 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.8.8-3
+- https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Fri Feb 1  2013 Ryan Rix <ry@n.rix.si> - 0.8.8-1
+- Fix ABI requirement to Ruby 1.9
+
+* Fri Feb 1  2013 Ryan Rix <ry@n.rix.si> - 0.8.8-1
+- Update to 0.8.8
+
+* Wed Jan 30 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.8.6-2
+- Rebuilt for ffmpeg
+
+* Sun Dec 30 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.8.6-1
+- Update to 0.8.6
+
+* Sat Nov 24 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.8.0-3
+- Rebuilt for FFmpeg 1.0
+
+* Tue Jun 26 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.8.0-2
+- Rebuilt for FFmpeg
+
+* Tue Jun 19 2012 Richard Shaw <hobbes1069@gmail.com> - 0.8.0-1
+- Update to latest upstream release.
+
+* Thu Jun 14 2012 Remi Collet <remi@fedoraproject.org> 0.7.8-3
+- fix filter
+
+* Thu Jun 14 2012 Remi Collet <remi@fedoraproject.org> 0.7.8-2
+- update PHP requirement for PHP Guildelines
+- add php extension configuration file
+- filter php private shared so
+
+* Tue May 08 2012 Rex Dieter <rdieter@fedoraproject.org> 0.7.8-1
+- 0.7.8
+
+* Tue May 08 2012 Rex Dieter <rdieter@fedoraproject.org> 0.7.6-8
+- rebuild (sox)
+
+* Fri Mar 02 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.7.6-7
+- Rebuilt for c++ ABI breakage
+
+* Tue Feb 28 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.7.6-6
+- Rebuilt for x264/FFmpeg
+
+* Fri Jan 27 2012 Ryan Rix <ry@n.rix.si> 0.7.6-5
+- Include patch to fix building on gcc47 (upstreaming)
+
+* Wed Jan 25 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.7.6-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Thu Dec 29 2011 Ryan Rix <ry@n.rix.si> 0.7.6-3
+- s/%%[?_isa}/%%{?_isa}
+
+* Tue Nov 15 2011 Rex Dieter <rdieter@fedoraproject.org> 0.7.6-2
+- rebuild
+
+* Fri Nov 11 2011 Rex Dieter <rdieter@fedoraproject.org> 0.7.6-1
+- 0.7.6
+- track files/sonames closer
+- tighten subpkg deps via %%{?_isa}
+- drop dup'd %%doc items
+
+* Mon Sep 26 2011 Nicolas Chauvet <kwizart@gmail.com> - 0.7.4-2
+- Rebuilt for ffmpeg-0.8
+
+* Thu Jul 21 2011 Ryan Rix <ry@n.rix.si> - 0.7.4-1
+- New upstream
+
+* Sun Apr 10 2011 Ryan Rix <ry@n.rix.si> - 0.7.0-2
+- Add SDL_image-devel BR per Kdenlive wiki page
+
+* Thu Apr 7 2011 Ryan Rix <ry@n.rix.si> - 0.7.0-1
+- New upstream
+
+* Tue Dec 21 2010 Ryan Rix <ry@n.rix.si> - 0.5.4-2
+- Fix build, needed a patch from mlt's git repo.
+
+* Sat Nov 20 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.5.4-1.1
+- rebuilt - was missing in repo
+
+* Wed Apr 21 2010 Ryan Rix <ry@n.rix.si> - 0.5.4-1
+- New upstream version to fix reported crashes against Kdenlive
+
+* Fri Feb 19 2010 Zarko Pintar <zarko.pintar@gmail.com> - 0.5.0-2
+- disabled xine module for PPC arch.
+
+* Thu Feb 18 2010 Zarko Pintar <zarko.pintar@gmail.com> - 0.5.0-1
+- new version
+
+* Wed Dec 09 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.10-1
+- new version
+- added subpackage for ruby
+
+* Wed Oct 07 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.6-1
+- new version
+- added subpackages for: python, PHP
+
+* Mon Sep 07 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.4-1
+- new version
+- renamed melt binary to mlt-melt
+
+* Wed May 20 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.2-1
+- new version
+- removed obsolete patches
+
+* Wed May 20 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.0-3
+- added linker and license patches
+- set license of MLT devel subpackage to LGPLv2+ 
+
+* Wed May 20 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.0-2
+- some PPC clearing
+
+* Mon May 18 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.4.0-1
+- update to 0.4.0
+
+* Wed May 13 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.9-2
+- spec cleaning
+
+* Mon May 11 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.9-1
+- new release
+- MLT++  is now a part of this package
+
+* Fri May  8 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.8-3
+- unused-direct-shlib-dependency fix
+
+* Fri Apr 17 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.8-2
+- spec clearing
+- added patches for resolving broken lqt-config, lib64 and execstack
+
+* Wed Apr 15 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.8-1
+- New release
+
+* Thu Apr  9 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.6-3
+- Enabled MMX support (not for PPC & PPC64)
+- include demo files
+- some spec cosmetics
+
+* Thu Mar 12 2009 Zarko Pintar <zarko.pintar@gmail.com> - 0.3.6-2
+- Change URL address
+- devel Requires: pkgconfig
+
+* Fri Feb 20 2009 Levente Farkas <lfarkas@lfarkas.org> - 0.3.6-1
+- Update to 0.3.6
+
+* Wed Nov  5 2008 Arkady L. Shane <ashejn@yandex-team.ru> - 0.3.1-0.1.svn1180
+- update to upstream r1180
+- add --avformat-swscale configure option
+
+* Tue Nov  4 2008 Arkady L. Shane <ashejn@yandex-team.ru> - 0.3.0-5
+- rebuilt with proper qt4 paths
+
+* Mon Oct 13 2008 jeff <moe@blagblagblag.org> - 0.3.0-4
+- Build without fomit-frame-pointer ffmath
+- Add BuildRequires: prelink
+- clear-execstack libmltgtk2.so
+- Don't strip binaries
+- Group: Development/Libraries
+- Prefix albino, humperdink, and miracle binaries with mlt-
+
+* Sun Oct  5 2008 jeff <moe@blagblagblag.org> - 0.3.0-3
+- License: GPLv2+ and LGPLv2+
+- Group: Development/Tools
+- ExcludeArch: x86_64 s390 s390x ppc ppc64
+- %%defattr(-,root,root)
+- %%doc docs/
+- %%{_libdir}/%%{name} to main package
+
+
+* Sun Aug 24 2008 jeff <moe@blagblagblag.org> - 0.3.0-2
+- Change BuildRoot:
+- Full source URL
+- ExcludeArch: x86_64
+- -devel Requires: pkgconfig, Requires: %%{name} = %%{version}-%%{release}
+
+* Sun Aug 24 2008 jeff <moe@blagblagblag.org> - 0.3.0-1
+- Update to 0.3.0
+- --enable-gpl
+- mlt-filehandler.patch
+
+* Tue Jul  8 2008 jeff <moe@blagblagblag.org> - 0.2.5-0.svn1155.0blag.f10
+- Build for blaghead
+
+* Mon Jul  7 2008 jeff <moe@blagblagblag.org> - 0.2.5-0.svn1155.0blag.f9
+- Update to svn r1155
+- Remove sox-st.h.patch
+- Add configure --disable-sox as it breaks build
+
+* Sun Nov 11 2007 jeff <moe@blagblagblag.org> - 0.2.4-0blag.f7
+- Update to 0.2.4
+- Clean up spec
+
+* Sat Jun 23 2007 jeff <moe@blagblagblag.org> - 0.2.3-0blag.f7
+- Update to 0.2.3
+
+* Sat Dec 30 2006 jeff <moe@blagblagblag.org> - 0.2.2-0blag.fc6
+- Rebuild for 60k
+- Remove --disable-sox
+- Add mlt-0.2.2-sox-st.h.patch
+
+* Sat Oct 21 2006 jeff <moe@blagblagblag.org> - 0.2.2-0blag.fc5
+- Update to 0.2.2
+
+* Sat Oct 21 2006 jeff <moe@blagblagblag.org> - 0.2.1-0blag.fc5
+- BLAG'd
+- Removed "olib" from path, name, etc.
+- Add changelog
+- Update summary/description
+