From 7fe60435bce6595a9c58a9bfd8244d74b5320e96 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 15 Jan 2013 08:46:13 +0100 Subject: Import DirectFB141_2k11R3_beta5 --- Source/DirectFB/directfb.spec | 118 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100755 Source/DirectFB/directfb.spec (limited to 'Source/DirectFB/directfb.spec') diff --git a/Source/DirectFB/directfb.spec b/Source/DirectFB/directfb.spec new file mode 100755 index 0000000..1865a2f --- /dev/null +++ b/Source/DirectFB/directfb.spec @@ -0,0 +1,118 @@ +%define name directfb +%define version 1.4.0 +%define oname DirectFB +%define libname lib%name + +Summary: Hardware graphics acceleration library +Name: %name +Version: %version +Release: 1 +License: LGPL +Group: System/Libraries +Source0: http://www.directfb.org/download/%{name}/%{oname}-%{version}.tar.gz +URL: http://www.directfb.org/ +BuildRequires: libpng-devel >= 1.2.0 +BuildRequires: zlib-devel >= 1.1.3 +BuildRequires: libjpeg-devel >= 6b +BuildRequires: freetype2-devel >= 2.0.2 +BuildRoot: %{_tmppath}/%{name}-%{version} + +%description +%oname - A hardware-accelerated graphics library on top of the Linux frame buffer device. + +%package -n %libname +Summary: Shared library part of %oname +Group: System/Libraries + +%description -n %libname +%oname - A hardware-accelerated graphics library on top of the Linux frame buffer device. + +%oname is a thin library that provides developers with hardware graphics +acceleration, input device handling and abstraction, an integrated windowing +system with support for translucent windows and multiple display layers on top +of the Linux frame buffer device. It is a complete hardware abstraction layer +with software fallbacks for every graphics operation that is not supported by +the underlying hardware. + +%package -n %libname-devel +Group: Development/C +Summary: Header files for compiling %oname applications +Requires: %{libname} = %{version}-%release +Provides: lib%name-devel = %version-%release +Provides: %oname-devel = %version-%release + +%description -n %libname-devel +%oname header files needed for building applications based on %oname. + +%package doc +Summary: %oname documentation +Group: Development/Other + +%description doc +%oname documentation in html format. + +%prep +%setup -q -n %oname-%version + +%build +%configure \ + --enable-fbdev \ + --disable-maintainer-mode \ + --enable-shared \ + --disable-fast-install \ + --disable-debug \ + --program-transform-name="" # is this hack needed? + +%make + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall_std + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -n %libname -p /sbin/ldconfig +%postun -n %libname -p /sbin/ldconfig + +%files -n %libname +%defattr(644,root,root,755) +%doc README* AUTHORS ChangeLog NEWS TODO +%attr(755,root,root) %{_libdir}/lib*.so.* +%{_libdir}/directfb-%version +%{_datadir}/directfb-%version +%{_mandir}/man5/*directfbrc.5* + +%files -n %libname-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/*directfb-config +%attr(755,root,root) %{_bindir}/*directfb-csource +%attr(755,root,root) %{_bindir}/*dfbg +%{_includedir}/directfb +%{_includedir}/directfb-internal +%{_mandir}/man1/*directfb-csource.1* +%{_mandir}/man1/*dfbg.1* +%{_libdir}/pkgconfig/* +%{_libdir}/*.la +%{_libdir}/*.so + +%files doc +%defattr(644,root,root,755) +%doc docs/html/* + +%changelog +* Mon Jan 13 2003 Sven Neumann 0.9.16 +- removed reference to avifile +- added rules for dfbg and its man-page + +%changelog +* Sun Oct 27 2002 Sven Neumann 0.9.14 +- added this file as directfb.spec.in to the DirectFB source tree +- moved directfbrc manpage to the main package + +* Fri Aug 23 2002 Götz Waschk 0.9.13-1mdk +- add directfb-csource and man page +- 0.9.13 + +* Thu Jul 11 2002 Götz Waschk 0.9.12-1mdk +- initial package based on PLD effort -- cgit