packages: mlt/mlt.spec - Version: 0.5.2 - use swscale for avformat (otherwi...
jajcus
jajcus at pld-linux.org
Sat Mar 13 15:40:29 CET 2010
Author: jajcus Date: Sat Mar 13 14:40:29 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- Version: 0.5.2
- use swscale for avformat (otherwise it won't even compile)
- sse2 disabled (won't compile with enabled)
- python bindings added
---- Files affected:
packages/mlt:
mlt.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: packages/mlt/mlt.spec
diff -u packages/mlt/mlt.spec:1.20 packages/mlt/mlt.spec:1.21
--- packages/mlt/mlt.spec:1.20 Thu Dec 27 22:12:44 2007
+++ packages/mlt/mlt.spec Sat Mar 13 15:40:23 2010
@@ -1,24 +1,22 @@
# $Revision$, $Date$
#
# TODO:
-# - bconds
-# - currently avformat support is broken, the hell knows why
-# - seems to link/auto-require installed older version of lib instead of own new
-# - still fails to work with kdenlive:
-# Failed to load plugin: /usr/share/mlt/modules/libmltavformat.so: undefined symbol: img_convert
+# - bconds
+# - more bindings
+#
Summary: MLT - open source multimedia framework
Summary(pl.UTF-8): MLT - szkielet multimedialny o otwartych źródłach
Name: mlt
-Version: 0.2.4
-Release: 2
+Version: 0.5.2
+Release: 1
License: GPL
Group: X11/Applications/Multimedia
Source0: http://dl.sourceforge.net/mlt/%{name}-%{version}.tar.gz
-# Source0-md5: 6606d8be848a10efef929e2b6de3cf61
-URL: http://www.dennedy.org/mlt/twiki/bin/view/MLT/WebHome
+# Source0-md5: 8d556b11710fc24801e06b893ac5d61b
+URL: http://www.mltframework.org/
Patch1: mlt-linuxppc.patch
BuildRequires: SDL-devel
-#BuildRequires: ffmpeg-devel
+BuildRequires: ffmpeg-devel
BuildRequires: gtk+2-devel
BuildRequires: ladspa-devel
BuildRequires: lame-libs-devel
@@ -29,9 +27,12 @@
BuildRequires: libvorbis-devel >= 1:1.0.1
BuildRequires: libxml2-devel >= 2.5
BuildRequires: pkgconfig
+BuildRequires: rpm-pythonprov
BuildRequires: qt-devel
BuildRequires: sox-devel
BuildRequires: which
+BuildRequires: swig-python
+Obsoletes: mlt++ < %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -51,11 +52,21 @@
gotowych do użycia narzędzi, komponentów do tworzenia XML-a i
rozszerzalne API oparte na wtyczkach.
+%package -n python-mlt
+Summary: MLT Python bindings
+Summary(pl.UTF-8): Wiązania MLT dla Pythona
+Group: Development/Languages/Python
+Requires: %{name} = %{version}-%{release}
+
+%description -n python-mlt
+Python bindings for MLT - open source multimedia framework.
+
%package devel
Summary: Header files for MLT
Summary(pl.UTF-8): Pliki nagłówkowe dla MLT
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Obsoletes: mlt++-devel < %{version}
%description devel
This package contains header files for MLT.
@@ -84,18 +95,28 @@
%else
--enable-mmx \
%endif
+ --disable-sse2 \
+ --avformat-swscale \
--qimage-includedir=%{_includedir}/qt \
- --qimage-libdir=%{_libdir}
+ --qimage-libdir=%{_libdir} \
+ --swig-languages=python
%{__make} \
CC="%{__cc}"
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{py_sitedir}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+install src/swig/python/{*.py,*.so} $RPM_BUILD_ROOT%{py_sitedir}
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -106,13 +127,21 @@
%defattr(644,root,root,755)
%doc ChangeLog README
%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/*.so*
+%ghost %attr(755,root,root) %{_libdir}/*.so.?
+%attr(755,root,root) %{_libdir}/*.so.*.*
+%dir %{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/%{name}/*
%{_datadir}/mlt*
+%files -n python-%{name}
+%{py_sitedir}/*.py[co]
+%attr(755,root,root) %{py_sitedir}/*.so
+
%files devel
%defattr(644,root,root,755)
%{_pkgconfigdir}/*.pc
%{_includedir}/mlt*
+%{_libdir}/*.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -120,6 +149,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2010/03/13 14:40:23 jajcus
+- Version: 0.5.2
+- use swscale for avformat (otherwise it won't even compile)
+- sse2 disabled (won't compile with enabled)
+- python bindings added
+
Revision 1.20 2007/12/27 21:12:44 glen
- rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mlt/mlt.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list