]> git.pld-linux.org Git - packages/DirectFB-extra.git/blob - DirectFB-extra.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/DirectFB-extra.git] / DirectFB-extra.spec
1 #
2 # Conditional build:
3 # _without_flash        - don't build FLASH video provider
4 #
5 Summary:        Additional providers and drivers for DirectFB
6 Summary(pl):    DirectFB - dodatkowe wtyczki i sterowniki do DirectFB
7 Name:           DirectFB-extra
8 Version:        0.9.16
9 Release:        1
10 License:        LGPL v2+
11 Group:          Libraries
12 Source0:        http://www.directfb.org/download/DirectFB-extra/%{name}-%{version}.tar.gz
13 Patch0:         %{name}-acfix.patch
14 URL:            http://www.directfb.org/
15 BuildRequires:  DirectFB-devel >= %{version}
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 %{!?_without_flash:BuildRequires:       flash-devel >= 0.4.10-5}
19 BuildRequires:  imlib2-devel
20 BuildRequires:  libtool
21 BuildRequires:  openquicktime-devel
22 BuildRequires:  pkgconfig >= 0.5
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         dfbdir          %(pkg-config --variable=moduledir directfb-internal)
26
27 %description
28 This package contains additional image/video/font providers and
29 graphics/input drivers (currently Imlib2 image provider and
30 OpenQuicktime video provider).
31
32 %description -l pl
33 Ten pakiet zawiera dodatkowe wtyczki dostarczaj±ce grafikê, obraz i
34 fonty oraz sterowniki grafiki i wej¶ciowe (aktualnie: wtyczkê
35 dostarczaj±c± grafikê poprzez Imlib2 oraz wtyczkê dostarczaj±c± obraz
36 OpenQuicktime).
37
38 %package -n DirectFB-image-imlib2
39 Summary:        Imlib2 image provider for DirectFB
40 Summary(pl):    DirectFB - wtyczka dostarczaj±ca grafikê poprzez Imlib2
41 Group:          Libraries
42 %requires_eq    DirectFB
43
44 %description -n DirectFB-image-imlib2
45 This package contains image provider based on Imlib2 for DirectFB.
46
47 %description -n DirectFB-image-imlib2 -l pl
48 Ten pakiet zawiera wtyczkê dla DirectFB dostarczaj±c± grafikê poprzez
49 bibliotekê Imlib2.
50
51 %package -n DirectFB-video-openquicktime
52 Summary:        OpenQuicktime video provider for DirectFB
53 Summary(pl):    DirectFB - wtyczka dostarczaj±ca obraz OpenQuicktime
54 Group:          Libraries
55 %requires_eq    DirectFB
56
57 %description -n DirectFB-video-openquicktime
58 This package contains OpenQuicktime video provider for DirectFB.
59
60 %description -n DirectFB-video-openquicktime -l pl
61 Ten pakiet zawiera wtyczkê dla DirectFB dostarczaj±c± obraz
62 OpenQuicktime.
63
64 %package -n DirectFB-video-swf
65 Summary:        ShockWave Flash video provider for DirectFB
66 Summary(pl):    DirectFB - wtyczka dostarczaj±ca obraz ShockWave Flash
67 Group:          Libraries
68 %requires_eq    DirectFB
69
70 %description -n DirectFB-video-swf
71 This package contains SWF (ShockWave Flash) video provider for
72 DirectFB. It uses flash library.
73
74 %description -n DirectFB-video-swf -l pl
75 Ten pakiet zawiera wtyczkê dla DirectFB dostarczaj±c± obraz SWF
76 (ShockWave Flash) przy u¿yciu biblioteki flash.
77
78 %prep
79 %setup -q
80 %patch -p1
81
82 %build
83 %{__libtoolize}
84 %{__aclocal}
85 %{__autoconf}
86 %{__autoheader}
87 %{__automake}
88 # paths for libflash
89 CPPFLAGS="-I/usr/X11R6/include"
90 LDFLAGS="%{rpmldflags} -L/usr/X11R6/lib"
91 %configure \
92         --disable-avifile \
93         %{?_without_flash:--disable-flash}
94
95 %{__make} MODULEDIR=%{dfbdir}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99
100 %{__make} install \
101         DESTDIR=$RPM_BUILD_ROOT \
102         MODULEDIR=%{dfbdir}
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %files -n DirectFB-image-imlib2
108 %defattr(644,root,root,755)
109 %doc AUTHORS ChangeLog README
110 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_imlib2.so
111 %{dfbdir}/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_imlib2.la
112
113 %files -n DirectFB-video-openquicktime
114 %defattr(644,root,root,755)
115 %doc AUTHORS ChangeLog README
116 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_openquicktime.so
117 %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_openquicktime.la
118
119 %if 0%{!?_without_flash:1}
120 %files -n DirectFB-video-swf
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swf.so
123 %{dfbdir}/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_swf.la
124 %endif
This page took 0.073883 seconds and 3 git commands to generate.