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