From 47c666b05358e7488d5316233645c4428bd05b24 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 04:06:35 +0100 Subject: [PATCH] automatic version update by autodist [release 1.6.3-1mamba;Wed Jan 23 2013] --- README.md | 5 ++ libdirectfb.spec | 208 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 213 insertions(+) create mode 100644 libdirectfb.spec diff --git a/README.md b/README.md index 92ecd30..2e6814f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # libdirectfb +DirectFB is a thin library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system with support for translucent windows and multiple display layers on top of the Linux Framebuffer Device. + +It is a complete hardware abstraction layer with software fallbacks for every graphics operation that is not supported by the underlying hardware. +DirectFB adds graphical power to embedded systems and sets a new standard for graphics under Linux. + diff --git a/libdirectfb.spec b/libdirectfb.spec new file mode 100644 index 0000000..e586e4c --- /dev/null +++ b/libdirectfb.spec @@ -0,0 +1,208 @@ +%define majver %(echo %version | cut -d. -f 1-2) +%define patchver %(echo %version | cut -d. -f 3) +Name: libdirectfb +Version: 1.6.3 +Release: 1mamba +Summary: Graphics abstraction library for the Linux Framebuffer Device +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.directfb.org/ +Source: http://www.directfb.org/downloads/Core/DirectFB-%{majver}/DirectFB-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libfreetype-devel +BuildRequires: libGL-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: libsysfs-devel +BuildRequires: libvncserver-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +# configure warnings: +#*** libvncserver-config not found -- building without VNC support. See http://libvncserver.sourceforge.net +#checking dbox/fp.h usability... no +#checking dbox/fp.h presence... no +#checking for dbox/fp.h... no +#configure: WARNING: *** DBox2 Remote input driver will not be built. +#checking for dbox/fp.h... (cached) no +#configure: WARNING: *** DreamBox Remote input driver will not be built. +#checking linux/h3600_ts.h usability... no +#checking linux/h3600_ts.h presence... no +#checking for linux/h3600_ts.h... no +#configure: WARNING: *** H3600 Touchscreen driver will not be built. +#checking for TSLIB... no +#configure: WARNING: *** no tslib -- tslib driver will not be built. + +%description +DirectFB is a thin library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system with support for translucent windows and multiple display layers on top of the Linux Framebuffer Device. + +It is a complete hardware abstraction layer with software fallbacks for every graphics operation that is not supported by the underlying hardware. +DirectFB adds graphical power to embedded systems and sets a new standard for graphics under Linux. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{version}-%{release} + +%description devel +DirectFB is a thin library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system with support for translucent windows and multiple display layers on top of the Linux Framebuffer Device. + +It is a complete hardware abstraction layer with software fallbacks for every graphics operation that is not supported by the underlying hardware. +DirectFB adds graphical power to embedded systems and sets a new standard for graphics under Linux. + +This package contains static libraries and header files need for development. + +%package -n directfb-tools +Group: System/Tools +Summary: Tools provided with the DirectFB library +Requires: %{name} = %{version}-%{release} + +%description -n directfb-tools +DirectFB is a thin library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system with support for translucent windows and multiple display layers on top of the Linux Framebuffer Device. + +It is a complete hardware abstraction layer with software fallbacks for every graphics operation that is not supported by the underlying hardware. +DirectFB adds graphical power to embedded systems and sets a new standard for graphics under Linux. + +This package contains the tools that are provided with the library distribution. + +%prep +%setup -q -n DirectFB-%{version} + +%build +#CFLAGS="%{optflags} -I/usr/src/linux-$(uname -r)/include" +%configure \ + --enable-zlib \ +%ifarch arm + --with-gfxdrivers=gl,pxa3xx +%endif + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -n directfb-tools +%defattr(-,root,root) +%{_bindir}/dfbfx +%{_bindir}/dfbg +%{_bindir}/dfbinput +%{_bindir}/dfbdump +%{_bindir}/dfbdumpinput +%{_bindir}/dfbinfo +%{_bindir}/dfbinspector +%{_bindir}/dfbmaster +%{_bindir}/dfblayer +%{_bindir}/dfbpenmount +%{_bindir}/dfbscreen +%{_bindir}/mkdfiff +%{_bindir}/mkdgiff +%{_bindir}/mkdgifft +%{_bindir}/pxa3xx_dump +%{_mandir}/man1/dfbg.1* +%{_mandir}/man1/directfb-csource.1* +%{_mandir}/man5/directfbrc.5* + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%dir %{_libdir}/directfb-%{majver}-*/ +%dir %{_libdir}/directfb-%{majver}-*/gfxdrivers +%{_libdir}/directfb-%{majver}-*/gfxdrivers/lib*.so +%{_libdir}/directfb-%{majver}-*/gfxdrivers/lib*.la +%dir %{_libdir}/directfb-%{majver}-*/inputdrivers +%{_libdir}/directfb-%{majver}-*/inputdrivers/lib*.so +%{_libdir}/directfb-%{majver}-*/inputdrivers/lib*.la +%dir %{_libdir}/directfb-%{majver}-*/interfaces +%dir %{_libdir}/directfb-%{majver}-*/interfaces/ICoreResourceManager +%{_libdir}/directfb-%{majver}-*/interfaces/ICoreResourceManager/libicoreresourcemanager_test.la +%{_libdir}/directfb-%{majver}-*/interfaces/ICoreResourceManager/libicoreresourcemanager_test.so +%dir %{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBFont +%{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBFont/lib*.so +%{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBFont/lib*.la +%dir %{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBImageProvider +%{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBImageProvider/lib*.so +%{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBImageProvider/lib*.la +%dir %{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBVideoProvider +%{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBVideoProvider/lib*.so +%{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBVideoProvider/lib*.la +%dir %{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBWindows +%{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBWindows/libidirectfbwindows_default.la +%{_libdir}/directfb-%{majver}-*/interfaces/IDirectFBWindows/libidirectfbwindows_default.so +%dir %{_libdir}/directfb-%{majver}-*/interfaces/IWater +%{_libdir}/directfb-%{majver}-*/interfaces/IWater/libiwater_default.la +%{_libdir}/directfb-%{majver}-*/interfaces/IWater/libiwater_default.so +%dir %{_libdir}/directfb-%{majver}-*/systems +%{_libdir}/directfb-%{majver}-*/systems/lib*.so +%{_libdir}/directfb-%{majver}-*/systems/lib*.la +%dir %{_libdir}/directfb-%{majver}-*/wm +%{_libdir}/directfb-%{majver}-*/wm/lib*.so +%{_libdir}/directfb-%{majver}-*/wm/lib*.la +%dir %{_datadir}/directfb-%{version} +%{_datadir}/directfb-%{version}/cursor.dat +%{_datadir}/directfb-%{version}/decker.dgiff +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_bindir}/directfb-config +%{_bindir}/directfb-csource +%dir %{_includedir}/directfb-internal +%{_includedir}/directfb-internal/* +%dir %{_includedir}/directfb +%{_includedir}/directfb/* +%{_libdir}/libdirectfb.so +%{_libdir}/libdirect.so +%{_libdir}/libfusion.so +%{_libdir}/libdirectfb.la +%{_libdir}/libdirect.la +%{_libdir}/libfusion.la +%{_libdir}/pkgconfig/*.pc +%doc ChangeLog NEWS README TODO + +%changelog +* Wed Jan 23 2013 Automatic Build System 1.6.3-1mamba +- automatic version update by autodist + +* Sun Dec 02 2012 Automatic Build System 1.6.2-1mamba +- automatic version update by autodist + +* Sat Sep 08 2012 Silvan Calarco 1.4.17-2mamba +- move man page directfbrc.5 from libdirectfb to directfb-tools (also fixes conflict with libdirectfb5) + +* Mon Sep 03 2012 Silvan Calarco 1.4.17-1mamba +- update to 1.4.17 + +* Fri Jul 22 2011 Automatic Build System 1.4.13-1mamba +- automatic update to 3.0.3.0 by autodist + +* Mon Nov 15 2010 Silvan Calarco 1.4.11-1mamba +- update to 1.4.11 + +* Fri Aug 20 2010 Silvan Calarco 1.4.5-1mamba +- update to 1.4.5 + +* Wed Feb 25 2009 Silvan Calarco 1.2.5-1mamba +- update to 1.2.5 + +* Sat Jul 26 2008 Silvan Calarco 1.1.1-1mamba +- update to 1.1.1 + +* Fri Dec 16 2005 Stefano Cotta Ramusino 0.9.24-1qilnx +- update to version 0.9.24 by autospec + +* Mon Sep 05 2005 Massimo Pintore 0.9.22-1qilnx +- package created by autospec