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