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