]> git.pld-linux.org Git - packages/DirectFB.git/blob - DirectFB.spec
62019a80494e5b20019a94c778039f3b5cee38e8
[packages/DirectFB.git] / DirectFB.spec
1 Summary:        DirectFB - Hardware graphics acceleration
2 Summary(pl):    DirectFB - Wspomaganie grafiki
3 Name:           DirectFB
4 Version:        0.9.9
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://www.directfb.org/download/%{name}/%{name}-%{version}.tar.gz
9 URL:            http://www.directfb.org/
10 BuildRequires:  libpng-devel >= 1.2.0
11 BuildRequires:  zlib-devel >= 1.1.3
12 BuildRequires:  libjpeg-devel >= 6b
13 BuildRequires:  freetype-devel >= 2.0.2
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 DirectFB hardware graphics acceleration - libraries.
20
21 %description -l pl
22 Wspomaganie grafiki DirectFB - biblioteki.
23
24 %package devel
25 Summary:        DirectFB - development package
26 Summary(pl):    DirectFB - pliki nag³ówkowe
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}
29
30 %description devel
31 DirectFB header files.
32
33 %description -l pl devel
34 Pliki nag³ówkowe dla DirectFB.
35
36 %package doc
37 Summary:        DirectFB - documentation
38 Summary(pl):    DirectFB - dokumantacja
39 Group:          Development/Libraries
40
41 %description doc
42 DirectFB documentation and examples.
43
44 %description -l pl doc
45 Dokumentacja dla systemu DirectFB wraz z przyk³adami.
46
47 %prep
48 %setup -q
49
50 %build
51 rm -f missing
52 libtoolize --copy --force
53 gettextize --copy --force
54 aclocal
55 autoconf
56 automake -a -c -f
57 %configure --prefix=%{_prefix} \
58         --disable-maintainer-mode \
59         --enable-shared \
60         --disable-fast-install \
61         --disable-debug \
62         --disable-avifile \
63         --enable-mmx 
64
65 %{__make} RPM_OPT_FLAGS="%{rpmcflags}"
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 %{__make} DESTDIR=$RPM_BUILD_ROOT install
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
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 %files
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) %{_libdir}/directfb
84 %attr(755,root,root) %{_libdir}/*.so
85 %{_pkgconfigdir}/*
86 %{_datadir}/directfb
87
88 %files devel
89 %defattr(644,root,root,755)
90 %{_includedir}/directfb.h
91 %{_includedir}/directfb-internal
92 %{_libdir}/directfb/*/*.la
93 %{_libdir}/*.la
94 %{_libdir}/lib*.so.*
95
96 %files doc
97 %defattr(644,root,root,755)
98 %doc docs/html/*
This page took 0.067668 seconds and 3 git commands to generate.