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