]>
Commit | Line | Data |
---|---|---|
b97730cd | 1 | Summary: DirectFB - Hardware graphics accelration. |
2 | Summary(pl): DirectFB - Wspomaganie grafiki | |
3 | Name: DirectFB | |
b10b1d6d | 4 | Version: 0.9.2 |
5 | Release: 1 | |
303025bb | 6 | License: GPL |
79f40cba | 7 | Group: System/Graphics |
8 | Group(pl): System/Grafika | |
9 | Source0: http://www.directfb.org/download/%{name}/%{name}-%{version}.tar.gz | |
10 | URL: htt://www.directfb.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 | ||
b97730cd | 18 | %description |
19 | ||
20 | %description -l pl | |
21 | ||
340488a1 | 22 | %package devel |
79f40cba | 23 | Group: System/Development |
24 | Group(pl): System/Programowanie | |
340488a1 | 25 | Summary: DirectFB - development package. |
26 | Summary(pl): DirectFB - pliki naglowkowe. | |
055ea81c | 27 | |
340488a1 | 28 | %description devel |
055ea81c | 29 | DirectFB header files. |
30 | ||
340488a1 | 31 | %description -l pl devel |
055ea81c | 32 | Pliki naglowkowe dla DirectFB. |
340488a1 | 33 | |
34 | %package doc | |
79f40cba | 35 | Group: System/Documentation |
36 | Group(pl): System/Dokumantacja | |
340488a1 | 37 | Summary: DirectFB - documentation. |
38 | Summary(pl): DirectFB - dokumantacja. | |
055ea81c | 39 | |
340488a1 | 40 | %description doc |
79f40cba | 41 | DirectFB documentation and examples |
055ea81c | 42 | |
340488a1 | 43 | %description -l pl doc |
79f40cba | 44 | Dokumentacja dla systemu DirectFB wraz z przykladami |
340488a1 | 45 | |
b97730cd | 46 | %prep |
47 | %setup -q | |
48 | ||
49 | #%patch | |
50 | ||
51 | %build | |
055ea81c | 52 | %configure --prefix=%{_prefix} \ |
53 | --disable-maintainer-mode \ | |
055ea81c | 54 | --enable-shared \ |
55 | --disable-fast-install \ | |
56 | --disable-debug \ | |
57 | --enable-mmx | |
303025bb JB |
58 | |
59 | %{__make} RPM_OPT_FLAGS="%{rpmcflags}" | |
b97730cd | 60 | |
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
055ea81c | 63 | %{__make} DESTDIR=$RPM_BUILD_ROOT install |
b97730cd | 64 | |
e96caaca | 65 | %post -p /sbin/ldconfig |
66 | %postun -p /sbin/ldconfig | |
67 | ||
68 | %post devel -p /sbin/ldconfig | |
69 | %postun devel -p /sbin/ldconfig | |
b97730cd | 70 | |
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %files | |
303025bb | 75 | %defattr(644,root,root,755) |
e96caaca | 76 | %attr(755,root,root) %{_bindir}/* |
303025bb JB |
77 | %attr(755,root,root) %{_libdir}/directfb/*/*.so |
78 | %attr(755,root,root) %{_libdir}/*.so | |
79 | %{_pkgconfigdir}/directfb.pc | |
80 | %dir %{_datadir}/directfb | |
055ea81c | 81 | %dir %{_datadir}/directfb/fonts |
303025bb | 82 | %{_datadir}/directfb/cursor.dat |
340488a1 | 83 | |
84 | %files devel | |
303025bb JB |
85 | %defattr(644,root,root,755) |
86 | %{_includedir}/directfb.h | |
303025bb JB |
87 | %{_libdir}/directfb/*/*.la |
88 | %{_libdir}/*.la | |
e96caaca | 89 | %{_libdir}/lib*.so.* |
055ea81c | 90 | |
340488a1 | 91 | %files doc |
303025bb | 92 | %defattr(644,root,root,755) |
055ea81c | 93 | %doc docs/html/* |
303025bb | 94 | %dir %{_datadir}/directfb/examples |