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