]> git.pld-linux.org Git - packages/DirectFB-extra.git/blob - DirectFB-extra.spec
- merged update to 1.0.0 from AC-branch (with mpeg3_open patch)
[packages/DirectFB-extra.git] / DirectFB-extra.spec
1 #
2 # Conditional build:
3 %bcond_without  flash   # don't build FLASH video provider
4 %bcond_without  mpg     # don't build support for MPG/MPEG3
5 #
6 Summary:        Additional providers and drivers for DirectFB
7 Summary(pl.UTF-8):      DirectFB - dodatkowe wtyczki i sterowniki do DirectFB
8 Name:           DirectFB-extra
9 Version:        1.0.0
10 Release:        1
11 License:        LGPL v2+
12 Group:          Libraries
13 Source0:        http://www.directfb.org/download/DirectFB-extra/%{name}-%{version}.tar.gz
14 # Source0-md5:  2d744ad06139640857b988d244275235
15 Patch0:         %{name}-acfix.patch
16 Patch1:         %{name}-mpeg3_open.patch
17 URL:            http://www.directfb.org/
18 BuildRequires:  DirectFB-devel >= 1:%{version}
19 BuildRequires:  FusionSound-devel >= 0.9.25
20 BuildRequires:  autoconf >= 2.52
21 BuildRequires:  automake
22 BuildRequires:  ffmpeg-devel
23 %{?with_flash:BuildRequires:    gplflash-devel >= 0.4.10-5}
24 BuildRequires:  imlib2-devel
25 %{?with_mpg:BuildRequires:      libmpeg3-devel}
26 BuildRequires:  libsvg-cairo-devel >= 0.1.6
27 BuildRequires:  libtool
28 BuildRequires:  openquicktime-devel
29 BuildRequires:  pkgconfig >= 1:0.9
30 BuildRequires:  swfdec-devel >= 0.3.0
31 BuildRequires:  xine-lib-devel >= 2:1.0-0.rc3
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %define         dfbdir          %(pkg-config --variable=moduledir directfb-internal)
35
36 %description
37 This package contains additional image/video/font providers and
38 graphics/input drivers (currently Imlib2 image provider and
39 OpenQuicktime video provider).
40
41 %description -l pl.UTF-8
42 Ten pakiet zawiera dodatkowe wtyczki dostarczające grafikę, obraz i
43 fonty oraz sterowniki grafiki i wejściowe (aktualnie: wtyczkę
44 dostarczającą grafikę poprzez Imlib2 oraz wtyczkę dostarczającą obraz
45 OpenQuicktime).
46
47 %package -n DirectFB-image-bmp
48 Summary:       BMP image provider for DirectFB
49 Summary(pl.UTF-8):   DirectFB - wtyczka dostarczająca grafikę BMP
50 Group:         Libraries
51 %requires_eq   DirectFB
52
53 %description -n DirectFB-image-bmp
54 This package contains BMP mage provider for DirectFB.
55
56 %description -n DirectFB-image-bmp -l pl.UTF-8
57 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę BMP.
58
59 %package -n DirectFB-image-imlib2
60 Summary:        Imlib2 image provider for DirectFB
61 Summary(pl.UTF-8):      DirectFB - wtyczka dostarczająca grafikę poprzez Imlib2
62 Group:          Libraries
63 %requires_eq    DirectFB
64
65 %description -n DirectFB-image-imlib2
66 This package contains image provider based on Imlib2 for DirectFB.
67
68 %description -n DirectFB-image-imlib2 -l pl.UTF-8
69 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę poprzez
70 bibliotekę Imlib2.
71
72 %package -n DirectFB-image-pnm
73 Summary:        PNM image provider for DirectFB
74 Summary(pl.UTF-8):      DirectFB - wtyczka dostarczająca grafikę PNM
75 Group:          Libraries
76 %requires_eq    DirectFB
77
78 %description -n DirectFB-image-pnm
79 This package contains PNM image provider. It supports PBM, PGM and PPM
80 formats (both ASCII and RAW).
81
82 %description -n DirectFB-image-pnm -l pl.UTF-8
83 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę PNM.
84 Obsługuje formaty PBM, PGM i PPM (zarówno ASCII, jak i binarne).
85
86 %package -n DirectFB-image-svg
87 Summary:        SVG image provider for DirectFB
88 Summary(pl.UTF-8):      DirectFB - wtyczka dostarczająca grafikę SVG
89 Group:          Libraries
90 %requires_eq    DirectFB
91
92 %description -n DirectFB-image-svg
93 This package contains SVG image provider using Cairo library.
94
95 %description -n DirectFB-image-svg -l pl.UTF-8
96 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą grafikę SVG przy
97 użyciu biblioteki Cairo.
98
99 %package -n DirectFB-video-ffmpeg
100 Summary:        FFmpeg video provider for DirectFB
101 Summary(pl.UTF-8):      DirectFB - wtyczka dostarczająca obraz FFmpeg
102 Group:          Libraries
103 %requires_eq    DirectFB
104 %requires_eq    FusionSound
105
106 %description -n DirectFB-video-ffmpeg
107 DirectFB video provider using FFmpeg codecs.
108
109 %description -n DirectFB-video-ffmpeg -l pl.UTF-8
110 Ten pakiet zawiera wtyczkę dla DirectFB dostarczajacą obraz przy
111 użyciu kodeków FFmpeg.
112
113 %package -n DirectFB-video-libmpeg3
114 Summary:        MPEG video provider for DirectFB
115 Summary(pl.UTF-8):      DirectFB - wtyczka dostarczająca obraz MPEG
116 Group:          Libraries
117 %requires_eq    DirectFB
118
119 %description -n DirectFB-video-libmpeg3
120 This package contains MPEG (MPEG-1 and MPEG-2) video provider for
121 DirectFB. It uses libmpeg3 library.
122
123 %description -n DirectFB-video-libmpeg3 -l pl.UTF-8
124 Ten pakiet zawiera wtyczkę dla DirectFB dostarczajacą obraz MPEG
125 (MPEG-1 i MPEG-2) przy użyciu biblioteki libmpeg3.
126
127 %package -n DirectFB-video-openquicktime
128 Summary:        OpenQuicktime video provider for DirectFB
129 Summary(pl.UTF-8):      DirectFB - wtyczka dostarczająca obraz OpenQuicktime
130 Group:          Libraries
131 %requires_eq    DirectFB
132
133 %description -n DirectFB-video-openquicktime
134 This package contains OpenQuicktime video provider for DirectFB. It
135 supports all RGB and YUV formats and does audio playback.
136
137 %description -n DirectFB-video-openquicktime -l pl.UTF-8
138 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz
139 OpenQuicktime. Obsługuje wszystkie formaty RGB i YUV oraz odtwarza
140 dźwięk.
141
142 %package -n DirectFB-video-swf
143 Summary:        ShockWave Flash video provider for DirectFB
144 Summary(pl.UTF-8):      DirectFB - wtyczka dostarczająca obraz ShockWave Flash
145 Group:          Libraries
146 %requires_eq    DirectFB
147
148 %description -n DirectFB-video-swf
149 This package contains SWF (ShockWave Flash) video provider for
150 DirectFB. It uses flash library.
151
152 %description -n DirectFB-video-swf -l pl.UTF-8
153 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz SWF
154 (ShockWave Flash) przy użyciu biblioteki flash.
155
156 %package -n DirectFB-video-swfdec
157 Summary:        ShockWave Flash video provider for DirectFB
158 Summary(pl.UTF-8):      DirectFB - wtyczka dostarczająca obraz ShockWave Flash
159 Group:          Libraries
160 %requires_eq    DirectFB
161
162 %description -n DirectFB-video-swfdec
163 This package contains SWF (ShockWave Flash) video provider for
164 DirectFB. It uses swfdec library.
165
166 %description -n DirectFB-video-swfdec -l pl.UTF-8
167 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz SWF
168 (ShockWave Flash) przy użyciu biblioteki swfdec.
169
170 %package -n DirectFB-video-xine
171 Summary:        XINE video provider for DirectFB
172 Summary(pl.UTF-8):      DirectFB - wtyczka dostarczająca obraz XINE
173 Group:          Libraries
174 %requires_eq    DirectFB
175 %requires_eq    xine-lib
176
177 %description -n DirectFB-video-xine
178 This package contains video provider for DirectFB which uses XINE
179 library and plugins. It handles a wide range of video formats.
180
181 %description -n DirectFB-video-xine -l pl.UTF-8
182 Ten pakiet zawiera wtyczkę dla DirectFB dostarczającą obraz przy
183 użyciu biblioteki i wtyczek XINE. Obsługuje szeroki zakres formatów
184 obrazu.
185
186 %package -n xine-ui-dfb
187 Summary:        DirectFB-based XINE UI
188 Summary(pl.UTF-8):      Interfejs użytkownika XINE oparty na DirectFB
189 Group:          Applications/Multimedia
190 %requires_eq    DirectFB
191 Requires:       xine-lib >= 2:1.0-0.rc3
192
193 %description -n xine-ui-dfb
194 DirectFB-based XINE UI. This package contains also DirectFB video
195 output plugin for XINE.
196
197 %description -n xine-ui-dfb -l pl.UTF-8
198 Interfejs użytkownika XINE oparty na DirectFB. Zawiera także wtyczkę
199 wyjścia obrazu DirectFB dla XINE.
200
201 %prep
202 %setup -q
203 %patch0 -p1
204 %patch1 -p1
205
206 %build
207 %{__libtoolize}
208 %{__aclocal}
209 %{__autoconf}
210 %{__autoheader}
211 %{__automake}
212 CPPFLAGS="-I/usr/include/libmpeg3"
213 %configure \
214         --disable-avifile \
215         %{?with_flash:--enable-flash} \
216         %{?with_mpg:--enable-libmpeg3} \
217         --enable-openquicktime \
218         --enable-svg \
219         --enable-swfdec
220
221 %{__make} \
222         MODULEDIR=%{dfbdir}
223
224 %install
225 rm -rf $RPM_BUILD_ROOT
226
227 %{__make} install \
228         DESTDIR=$RPM_BUILD_ROOT \
229         MODULEDIR=%{dfbdir}
230
231 rm -f $RPM_BUILD_ROOT%{dfbdir}/interfaces/*/*.la \
232         $RPM_BUILD_ROOT%{_libdir}/xine/plugins/*/*.la
233
234 %clean
235 rm -rf $RPM_BUILD_ROOT
236
237 %files -n DirectFB-image-bmp
238 %defattr(644,root,root,755)
239 %doc ChangeLog README
240 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_bmp.so
241
242 %files -n DirectFB-image-imlib2
243 %defattr(644,root,root,755)
244 %doc ChangeLog README
245 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_imlib2.so
246
247 %files -n DirectFB-image-pnm
248 %defattr(644,root,root,755)
249 %doc ChangeLog README
250 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_pnm.so
251
252 %files -n DirectFB-image-svg
253 %defattr(644,root,root,755)
254 %doc ChangeLog README
255 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_svg.so
256
257 %files -n DirectFB-video-ffmpeg
258 %defattr(644,root,root,755)
259 %doc ChangeLog README
260 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_ffmpeg.so
261
262 %if %{with mpg}
263 %files -n DirectFB-video-libmpeg3
264 %defattr(644,root,root,755)
265 %doc ChangeLog README
266 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_libmpeg3.so
267 %endif
268
269 %files -n DirectFB-video-openquicktime
270 %defattr(644,root,root,755)
271 %doc ChangeLog README
272 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_openquicktime.so
273
274 %if %{with flash}
275 %files -n DirectFB-video-swf
276 %defattr(644,root,root,755)
277 %doc ChangeLog README
278 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swf.so
279 %endif
280
281 %files -n DirectFB-video-swfdec
282 %defattr(644,root,root,755)
283 %doc ChangeLog README
284 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swfdec.so
285
286 %files -n DirectFB-video-xine
287 %defattr(644,root,root,755)
288 %doc ChangeLog README
289 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_xine.so
290
291 %files -n xine-ui-dfb
292 %defattr(644,root,root,755)
293 %attr(755,root,root) %{_bindir}/df_xine
294 %attr(755,root,root) %{_libdir}/xine/plugins/*/xineplug_vo_out_dfb.so
This page took 0.087387 seconds and 3 git commands to generate.