]> git.pld-linux.org Git - packages/DirectFB.git/blob - DirectFB.spec
cb49a16bf523697e71756efa42a0ac4e6b550ae1
[packages/DirectFB.git] / DirectFB.spec
1 Summary:        DirectFB - Hardware graphics acceleration
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 Group(pt_BR):   Bibliotecas
13 Group(ru):      âÉÂÌÉÏÔÅËÉ
14 Group(uk):      â¦Â̦ÏÔÅËÉ
15 Source0:        http://www.directfb.org/download/%{name}/%{name}-%{version}.tar.gz
16 URL:            http://www.directfb.org/
17 BuildRequires:  libpng-devel >= 1.0.10
18 BuildRequires:  zlib-devel >= 1.1.3
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  freetype-devel >= 2.0.2
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 DirectFB hardware graphics acceleration - libraries.
27
28 %description -l pl
29 Wspomaganie grafiki DirectFB - biblioteki.
30
31 %package devel
32 Summary:        DirectFB - development package
33 Summary(pl):    DirectFB - pliki nag³ówkowe
34 Group:          Development/Libraries
35 Group(de):      Entwicklung/Libraries
36 Group(es):      Desarrollo/Bibliotecas
37 Group(fr):      Development/Librairies
38 Group(pl):      Programowanie/Biblioteki
39 Group(pt_BR):   Desenvolvimento/Bibliotecas
40 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
41 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
42 Requires:       %{name} = %{version}
43
44 %description devel
45 DirectFB header files.
46
47 %description -l pl devel
48 Pliki nag³ówkowe dla DirectFB.
49
50 %package doc
51 Summary:        DirectFB - documentation
52 Summary(pl):    DirectFB - dokumantacja
53 Group:          Development/Libraries
54 Group(de):      Entwicklung/Libraries
55 Group(es):      Desarrollo/Bibliotecas
56 Group(fr):      Development/Librairies
57 Group(pl):      Programowanie/Biblioteki
58 Group(pt_BR):   Desenvolvimento/Bibliotecas
59 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
60 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
61
62 %description doc
63 DirectFB documentation and examples.
64
65 %description -l pl doc
66 Dokumentacja dla systemu DirectFB wraz z przyk³adami.
67
68 %prep
69 %setup -q
70
71 %build
72 aclocal
73 autoconf
74 automake -a -c
75 %configure --prefix=%{_prefix} \
76         --disable-maintainer-mode \
77         --enable-shared \
78         --disable-fast-install \
79         --disable-debug \
80         --disable-avifile \
81         --enable-mmx 
82
83 %{__make} RPM_OPT_FLAGS="%{rpmcflags}"
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87 %{__make} DESTDIR=$RPM_BUILD_ROOT install
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %post devel -p /sbin/ldconfig
96 %postun devel -p /sbin/ldconfig
97
98 %files
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_bindir}/*
101 %attr(755,root,root) %{_libdir}/directfb/*/*.so
102 %attr(755,root,root) %{_libdir}/*.so
103 %{_pkgconfigdir}/directfb.pc
104 %dir %{_datadir}/directfb
105 %dir %{_datadir}/directfb/fonts
106 %{_datadir}/directfb/cursor.dat
107
108 %files devel
109 %defattr(644,root,root,755)
110 %{_includedir}/directfb.h
111 %{_libdir}/directfb/*/*.la
112 %{_libdir}/*.la
113 %{_libdir}/lib*.so.*
114
115 %files doc
116 %defattr(644,root,root,755)
117 %doc docs/html/*
118 %dir %{_datadir}/directfb/examples
This page took 0.10717 seconds and 3 git commands to generate.