]> git.pld-linux.org Git - packages/DirectFB.git/blob - DirectFB.spec
- updated %%files.
[packages/DirectFB.git] / DirectFB.spec
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/
11 BuildRequires:  libpng >= 1.0.10
12 Buildrequires:  zlib >= 1.1.3
13 BuildRequires:  libjpeg 
14 BuildRequires:  freetype >= 2.0.2
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
24 %package devel
25 Group:          X11
26 Group(pl):      X11
27 Summary:        DirectFB - development package.
28 Summary(pl):    DirectFB - pliki naglowkowe.
29
30 %description devel
31 DirectFB header files.
32
33 %description -l pl devel
34 Pliki naglowkowe dla DirectFB.
35
36 %package doc
37 Group:          X11
38 Group(pl):      X11
39 Summary:        DirectFB - documentation.
40 Summary(pl):    DirectFB - dokumantacja.
41
42 %description doc
43 DirectFB documentation
44
45 %description -l pl doc
46 Dokumentacja dla systemu DirectFB
47
48 %prep
49 %setup -q
50
51 #%patch
52
53 %build
54 %configure --prefix=%{_prefix} \
55         --disable-maintainer-mode \
56         --enable-static \
57         --enable-shared \
58         --disable-fast-install \
59         --disable-debug \
60         --enable-mmx 
61 %{__make} RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 %{__make} DESTDIR=$RPM_BUILD_ROOT install
66
67 %post
68 %postun
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
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
82
83 %files devel
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
90 %files doc
91 %doc docs/html/*
92 %dir %{_datadir}/directfb/examples/
This page took 0.03471 seconds and 4 git commands to generate.