]> git.pld-linux.org Git - packages/DirectFB.git/blame - DirectFB.spec
- up to 0.9.4
[packages/DirectFB.git] / DirectFB.spec
CommitLineData
b97730cd 1Summary: DirectFB - Hardware graphics accelration.
2Summary(pl): DirectFB - Wspomaganie grafiki
3Name: DirectFB
fa14e7e8 4Version: 0.9.4
b10b1d6d 5Release: 1
303025bb 6License: GPL
79f40cba 7Group: System/Graphics
8Group(pl): System/Grafika
9Source0: http://www.directfb.org/download/%{name}/%{name}-%{version}.tar.gz
10URL: htt://www.directfb.org/
fa14e7e8 11BuildRequires: libpng-devel >= 1.0.10
12BuildRequires: zlib-devel >= 1.1.3
13BuildRequires: libjpeg-devel
14BuildRequires: freetype-devel >= 2.0.2
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
b97730cd 16
b97730cd 17%description
18
19%description -l pl
20
340488a1 21%package devel
79f40cba 22Group: System/Development
23Group(pl): System/Programowanie
340488a1 24Summary: DirectFB - development package.
25Summary(pl): DirectFB - pliki naglowkowe.
055ea81c 26
340488a1 27%description devel
055ea81c 28DirectFB header files.
29
340488a1 30%description -l pl devel
055ea81c 31Pliki naglowkowe dla DirectFB.
340488a1 32
33%package doc
79f40cba 34Group: System/Documentation
35Group(pl): System/Dokumantacja
340488a1 36Summary: DirectFB - documentation.
37Summary(pl): DirectFB - dokumantacja.
055ea81c 38
340488a1 39%description doc
79f40cba 40DirectFB documentation and examples
055ea81c 41
340488a1 42%description -l pl doc
79f40cba 43Dokumentacja dla systemu DirectFB wraz z przykladami
340488a1 44
b97730cd 45%prep
46%setup -q
47
b97730cd 48%build
fa14e7e8 49aclocal
50autoconf
51automake -a -c
055ea81c 52%configure --prefix=%{_prefix} \
53 --disable-maintainer-mode \
055ea81c 54 --enable-shared \
55 --disable-fast-install \
56 --disable-debug \
fa14e7e8 57 --disable-avifile \
055ea81c 58 --enable-mmx
303025bb
JB
59
60%{__make} RPM_OPT_FLAGS="%{rpmcflags}"
b97730cd 61
62%install
63rm -rf $RPM_BUILD_ROOT
055ea81c 64%{__make} DESTDIR=$RPM_BUILD_ROOT install
b97730cd 65
e96caaca 66%post -p /sbin/ldconfig
67%postun -p /sbin/ldconfig
68
69%post devel -p /sbin/ldconfig
70%postun devel -p /sbin/ldconfig
b97730cd 71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
303025bb 76%defattr(644,root,root,755)
e96caaca 77%attr(755,root,root) %{_bindir}/*
303025bb
JB
78%attr(755,root,root) %{_libdir}/directfb/*/*.so
79%attr(755,root,root) %{_libdir}/*.so
80%{_pkgconfigdir}/directfb.pc
81%dir %{_datadir}/directfb
055ea81c 82%dir %{_datadir}/directfb/fonts
303025bb 83%{_datadir}/directfb/cursor.dat
340488a1 84
85%files devel
303025bb
JB
86%defattr(644,root,root,755)
87%{_includedir}/directfb.h
303025bb
JB
88%{_libdir}/directfb/*/*.la
89%{_libdir}/*.la
e96caaca 90%{_libdir}/lib*.so.*
055ea81c 91
340488a1 92%files doc
303025bb 93%defattr(644,root,root,755)
055ea81c 94%doc docs/html/*
303025bb 95%dir %{_datadir}/directfb/examples
This page took 0.038354 seconds and 4 git commands to generate.