]> git.pld-linux.org Git - packages/mlt.git/blame - mlt.spec
- up to 0.9.0
[packages/mlt.git] / mlt.spec
CommitLineData
c9252e01 1#
2# TODO:
35add24e
JK
3# - bconds
4# - more bindings
5#
93907884 6Summary: MLT - open source multimedia framework
081d87dc 7Summary(pl.UTF-8): MLT - szkielet multimedialny o otwartych źródłach
c9252e01 8Name: mlt
6c4a5b87 9Version: 0.9.0
e25197c9 10Release: 1
c9252e01 11License: GPL
12Group: X11/Applications/Multimedia
6abdca79 13Source0: http://downloads.sourceforge.net/mlt/%{name}-%{version}.tar.gz
6c4a5b87 14# Source0-md5: 1cd2d73f3ffe77a43980e99aaa4ea06c
35add24e 15URL: http://www.mltframework.org/
aa81c921 16BuildRequires: QtGui-devel
17BuildRequires: QtSvg-devel
18BuildRequires: QtXml-devel
c9252e01 19BuildRequires: SDL-devel
35add24e 20BuildRequires: ffmpeg-devel
c0bc2cd5 21BuildRequires: gtk+2-devel
aa81c921 22#BuildRequires: ladspa-devel
23#BuildRequires: lame-libs-devel
c9252e01 24BuildRequires: libdv-devel >= 0.102
aa81c921 25#BuildRequires: libmad-devel
d0f1d2d2 26BuildRequires: libquicktime-devel
c9252e01 27BuildRequires: libsamplerate-devel
93907884 28BuildRequires: libvorbis-devel >= 1:1.0.1
c9252e01 29BuildRequires: libxml2-devel >= 2.5
c0bc2cd5 30BuildRequires: pkgconfig
aa81c921 31BuildRequires: python-devel
35add24e 32BuildRequires: rpm-pythonprov
c9252e01 33BuildRequires: sox-devel
35add24e 34BuildRequires: swig-python
aa81c921 35BuildRequires: which
35add24e 36Obsoletes: mlt++ < %{version}
c9252e01 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
40MLT is an open source multimedia framework, designed and developed for
41television broadcasting. It provides a toolkit for broadcasters, video
42editors, media players, transcoders, web streamers and many more types
43of applications. The functionality of the system is provided via an
f7739979 44assortment of ready to use tools, XML authoring components, and an
c9252e01 45extendible plug-in based API.
46
b43d87b7
JR
47%description -l pl.UTF-8
48MLT to szkielet multimedialny o otwartych źródłach zaprojektowany i
49rozwijany do nadawania telewizji. Udostępnia zestaw narzędzi dla
50nadawców, edytory obrazu, odtwarzacze mediów, transkodery, narzędzia
51do udostępniania strumieni przez WWW i wiele innych rodzajów
52aplikacji. Funkcjonalność systemu jest zapewniona poprzez asortyment
53gotowych do użycia narzędzi, komponentów do tworzenia XML-a i
93907884 54rozszerzalne API oparte na wtyczkach.
c9252e01 55
35add24e
JK
56%package -n python-mlt
57Summary: MLT Python bindings
58Summary(pl.UTF-8): Wiązania MLT dla Pythona
59Group: Development/Languages/Python
60Requires: %{name} = %{version}-%{release}
61
62%description -n python-mlt
63Python bindings for MLT - open source multimedia framework.
64
c9252e01 65%package devel
f7739979 66Summary: Header files for MLT
081d87dc 67Summary(pl.UTF-8): Pliki nagłówkowe dla MLT
f7739979 68Group: Development/Libraries
14ff330a 69Requires: %{name} = %{version}-%{release}
35add24e 70Obsoletes: mlt++-devel < %{version}
c9252e01 71
72%description devel
f7739979 73This package contains header files for MLT.
c9252e01 74
b43d87b7
JR
75%description devel -l pl.UTF-8
76Ten pakiet zawiera pliki nagłówkowe dla MLT.
c9252e01 77
78%prep
79%setup -q
80
81%build
82%configure \
c0bc2cd5 83 --enable-gpl \
fa5535e7 84%ifarch %{x8664}
85 --disable-motion-est \
86%else
dd5c0547 87 --enable-motion-est \
fa5535e7 88%endif
c0bc2cd5 89 --disable-debug \
90%ifarch i586 i686 %{x8664}
91 --disable-mmx \
92%else
93 --enable-mmx \
94%endif
35add24e
JK
95 --disable-sse2 \
96 --avformat-swscale \
6abdca79 97 --qimage-includedir=%{_includedir}/qt4 \
35add24e
JK
98 --qimage-libdir=%{_libdir} \
99 --swig-languages=python
aa81c921 100
c0bc2cd5 101%{__make} \
102 CC="%{__cc}"
c9252e01 103
104%install
105rm -rf $RPM_BUILD_ROOT
35add24e 106install -d $RPM_BUILD_ROOT%{py_sitedir}
c9252e01 107
108%{__make} install \
109 DESTDIR=$RPM_BUILD_ROOT
110
35add24e
JK
111install src/swig/python/{*.py,*.so} $RPM_BUILD_ROOT%{py_sitedir}
112
113%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
114%py_comp $RPM_BUILD_ROOT%{py_sitedir}
115%py_postclean
116
c9252e01 117%clean
118rm -rf $RPM_BUILD_ROOT
119
120%post -p /sbin/ldconfig
121%postun -p /sbin/ldconfig
122
123%files
124%defattr(644,root,root,755)
125%doc ChangeLog README
126%attr(755,root,root) %{_bindir}/*
aa81c921 127%attr(755,root,root) %ghost %{_libdir}/*.so.?
35add24e
JK
128%attr(755,root,root) %{_libdir}/*.so.*.*
129%dir %{_libdir}/%{name}
130%attr(755,root,root) %{_libdir}/%{name}/*
c9252e01 131%{_datadir}/mlt*
132
1393323f 133%files -n python-mlt
aa81c921 134%defattr(644,root,root,755)
35add24e
JK
135%{py_sitedir}/*.py[co]
136%attr(755,root,root) %{py_sitedir}/*.so
137
c9252e01 138%files devel
33bec256 139%defattr(644,root,root,755)
140%{_pkgconfigdir}/*.pc
c9252e01 141%{_includedir}/mlt*
35add24e 142%{_libdir}/*.so
This page took 0.147775 seconds and 4 git commands to generate.