]> git.pld-linux.org Git - packages/DirectFB.git/blob - DirectFB.spec
- removed all Group fields translations (oure rpm now can handle translating
[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 Source0:        http://www.directfb.org/download/%{name}/%{name}-%{version}.tar.gz
9 URL:            http://www.directfb.org/
10 BuildRequires:  libpng-devel >= 1.0.10
11 BuildRequires:  zlib-devel >= 1.1.3
12 BuildRequires:  libjpeg-devel
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 aclocal
52 autoconf
53 automake -a -c
54 %configure --prefix=%{_prefix} \
55         --disable-maintainer-mode \
56         --enable-shared \
57         --disable-fast-install \
58         --disable-debug \
59         --disable-avifile \
60         --enable-mmx 
61
62 %{__make} RPM_OPT_FLAGS="%{rpmcflags}"
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 %{__make} DESTDIR=$RPM_BUILD_ROOT install
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %post devel -p /sbin/ldconfig
75 %postun devel -p /sbin/ldconfig
76
77 %files
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_bindir}/*
80 %attr(755,root,root) %{_libdir}/directfb/*/*.so
81 %attr(755,root,root) %{_libdir}/*.so
82 %{_pkgconfigdir}/directfb.pc
83 %dir %{_datadir}/directfb
84 %dir %{_datadir}/directfb/fonts
85 %{_datadir}/directfb/cursor.dat
86
87 %files devel
88 %defattr(644,root,root,755)
89 %{_includedir}/directfb.h
90 %{_libdir}/directfb/*/*.la
91 %{_libdir}/*.la
92 %{_libdir}/lib*.so.*
93
94 %files doc
95 %defattr(644,root,root,755)
96 %doc docs/html/*
97 %dir %{_datadir}/directfb/examples
This page took 0.091745 seconds and 3 git commands to generate.