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