]>
Commit | Line | Data |
---|---|---|
b97730cd | 1 | Summary: DirectFB - Hardware graphics accelration. |
2 | Summary(pl): DirectFB - Wspomaganie grafiki | |
3 | Name: DirectFB | |
4 | Version: 0.9.0 | |
5 | Release: 1 | |
6 | Copyright: GPL | |
7 | Group: X11 | |
8 | Group(pl): X11 | |
9 | Source: http://directfb.org/download/%{name}-%{version}.tar.gz | |
10 | URL: htt://directfs.org/ | |
055ea81c | 11 | BuildRequires: libpng >= 1.0.10 |
12 | Buildrequires: zlib >= 1.1.3 | |
13 | BuildRequires: libjpeg | |
14 | BuildRequires: freetype >= 2.0.2 | |
b97730cd | 15 | #Requires: |
16 | Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define _prefix /usr | |
19 | ||
20 | %description | |
21 | ||
22 | %description -l pl | |
23 | ||
340488a1 | 24 | %package devel |
25 | Group: X11 | |
26 | Group(pl): X11 | |
27 | Summary: DirectFB - development package. | |
28 | Summary(pl): DirectFB - pliki naglowkowe. | |
055ea81c | 29 | |
340488a1 | 30 | %description devel |
055ea81c | 31 | DirectFB header files. |
32 | ||
340488a1 | 33 | %description -l pl devel |
055ea81c | 34 | Pliki naglowkowe dla DirectFB. |
340488a1 | 35 | |
36 | %package doc | |
37 | Group: X11 | |
38 | Group(pl): X11 | |
39 | Summary: DirectFB - documentation. | |
40 | Summary(pl): DirectFB - dokumantacja. | |
055ea81c | 41 | |
340488a1 | 42 | %description doc |
055ea81c | 43 | DirectFB documentation |
44 | ||
340488a1 | 45 | %description -l pl doc |
055ea81c | 46 | Dokumentacja dla systemu DirectFB |
340488a1 | 47 | |
b97730cd | 48 | %prep |
49 | %setup -q | |
50 | ||
51 | #%patch | |
52 | ||
53 | %build | |
055ea81c | 54 | %configure --prefix=%{_prefix} \ |
55 | --disable-maintainer-mode \ | |
56 | --enable-static \ | |
57 | --enable-shared \ | |
58 | --disable-fast-install \ | |
59 | --disable-debug \ | |
60 | --enable-mmx | |
b97730cd | 61 | %{__make} RPM_OPT_FLAGS="$RPM_OPT_FLAGS" |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
055ea81c | 65 | %{__make} DESTDIR=$RPM_BUILD_ROOT install |
b97730cd | 66 | |
67 | %post | |
68 | %postun | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %files | |
055ea81c | 74 | %defattr(755,root,root,755) |
75 | %attr(755,root,root) %{_bindir}/df_* | |
76 | %attr(755,root,root) %{_bindir}/directfb-config | |
77 | %attr(644,root,root) %{_libdir}/directfb/*/*.so | |
78 | %attr(644,root,root) %{_libdir}/pkgconfig/directfb.pc | |
79 | %attr(644,root,root) %{_libdir}/*.so | |
80 | %dir %{_datadir}/directfb/fonts | |
81 | %attr(644,root,root) %{_datadir}/directfb/cursor.dat | |
340488a1 | 82 | |
83 | %files devel | |
055ea81c | 84 | %attr(644,root,root) %{_includedir}/directfb.h |
85 | %attr(644,root,root) %{_libdir}/directfb/*/*.a | |
86 | %attr(644,root,root) %{_libdir}/directfb/*/*.la | |
87 | %attr(644,root,root) %{_libdir}/*.la | |
88 | %attr(644,root,root) %{_libdir}/*.a | |
89 | ||
340488a1 | 90 | %files doc |
055ea81c | 91 | %doc docs/html/* |
92 | %dir %{_datadir}/directfb/examples/ |