123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- %define oname DirectFB
- %define libver 1.4-5
- Summary: Hardware graphics acceleration library
- Name: directfb
- Version: 1.4.11
- Release: 1%{?_dist_release}
- License: GPL
- Group: System Environment/Libraries
- Source0: http://www.directfb.org/downloads/Core/%{name}-1.4/%{oname}-%{version}.tar.gz
- ##Patch0: %{oname}-%{version}_ppc.patch
- Patch0: %{oname}-1.1.1_ppc.patch
- URL: http://www.directfb.org/
- BuildRequires: libpng-devel >= 1.2.0
- BuildRequires: zlib-devel >= 1.1.3
- BuildRequires: libjpeg-turbo-devel
- BuildRequires: freetype2-devel >= 2.0.2
- BuildRequires: libX11-devel
- BuildRequires: libvncserver-devel
- BuildRequires: sysfsutils-devel
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- DirectFB hardware graphics acceleration - libraries.
- %package -n lib%{name}
- Summary: Shared library part of %oname
- Group: System Environment/Libraries
- %description -n lib%{name}
- DirectFB hardware graphics acceleration - libraries.
- This package contains the %oname shared library and interface modules.
- It's required for running apps based on %oname.
- #'
- %package -n lib%{name}-devel
- Group: Development/Libraries
- Summary: Header files for compiling DirectFB applications
- Requires: lib%{name} = %{version}-%{release}
- Provides: %{oname}-devel = %{version}-%{release}
- %description -n lib%{name}-devel
- DirectFB header files for building applications based on %oname.
- %package doc
- Summary: DirectFB - documentation
- Group: Applications/Documentation
- %description doc
- DirectFB documentation and examples.
- %prep
- %setup -q -n %{oname}-%{version}
- %patch0 -p1
- %build
- %configure \
- --enable-multi \
- --enable-shared \
- --with-gfxdrivers=ati128,i810,i830,mach64,nvidia,radeon,savage,sis315,vmware
- make
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
- # we don't ship dfbg ATM
- rm -f $RPM_BUILD_ROOT%{_bindir}/dfbg
- rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dfbg.1
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post -n lib%{name} -p /sbin/ldconfig
- %postun -n lib%{name} -p /sbin/ldconfig
- %files -n lib%{name}
- %defattr(644,root,root,755)
- %doc README* AUTHORS ChangeLog NEWS TODO
- %{_bindir}/dfbdump
- %{_bindir}/dfbfx
- %{_bindir}/dfbinfo
- %{_bindir}/dfbinput
- %{_bindir}/dfbinspector
- %{_bindir}/dfbmaster
- %{_bindir}/dfblayer
- %{_bindir}/dfbscreen
- %{_bindir}/dfbpenmount
- %{_bindir}/mkdfiff
- %{_bindir}/mkdgiff
- %{_bindir}/mkdgifft
- %{_libdir}/lib*.so.*
- %dir %{_libdir}/directfb-%{libver}
- %dir %{_libdir}/directfb-%{libver}/gfxdrivers
- %dir %{_libdir}/directfb-%{libver}/inputdrivers
- %dir %{_libdir}/directfb-%{libver}/interfaces
- %dir %{_libdir}/directfb-%{libver}/systems
- %dir %{_libdir}/directfb-%{libver}/wm
- %{_libdir}/directfb-%{libver}/gfxdrivers/*.so
- %{_libdir}/directfb-%{libver}/inputdrivers/*.so
- %{_libdir}/directfb-%{libver}/interfaces/*/*.so
- %{_libdir}/directfb-%{libver}/systems/*.so
- %{_libdir}/directfb-%{libver}/wm/*.so
- #{_libdir}/directfb-%{libver}/*.so
- %{_datadir}/directfb-%{version}
- %{_mandir}/man5/directfbrc.5*
- %files -n lib%{name}-devel
- %defattr(644,root,root,755)
- %{_bindir}/directfb-config
- %{_bindir}/directfb-csource
- %{_includedir}/*
- %{_libdir}/pkgconfig/*.pc
- #{_libdir}/*.la
- %{_libdir}/*.so
- %{_mandir}/man1/directfb-csource.1*
- %files doc
- %defattr(644,root,root,755)
- %doc docs/html/*
- %changelog
- * Tue Dec 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.11-1
- - new upstream release
- - change Source URL
- - add BuildRequires: libX11-devel, libvncserver-devel, sysfsutils-devel
- - change BuildRequires: libjpeg-turbo-devel instead libjpeg-devel >= 6g
- - fix %%files
- * Mon Oct 11 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.5-1
- - updated DirectFB to 1.2.5
- - rebuilt with rpm-4.8.1 for pkg-config
- * Sun May 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.1-2
- - add Patch0 to fix ppc build problem (with newer kernels)
- * Fri May 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.1-1
- - new upstream release
- * Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.16-2vl2
- - changed doc Group to Applications/Documentation
- * Fri Nov 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.16-2vl1
- - changed packages Group:
- - cleaned spec file (a little bit!)
- * Fri Feb 28 2003 Kazuhisa TAKEI <takei@vinelinux.org> 0.9.16-2vl0
- - new upstream version
- - convert to Vine Linux
- * Fri Dec 27 2002 Gz Waschk <waschk@linux-mandrake.com> 0.9.15-2mdk
- - rebuild
- * Wed Nov 13 2002 Gz Waschk <waschk@linux-mandrake.com> 0.9.15-1mdk
- - new version
- * Tue Oct 29 2002 Gz Waschk <waschk@linux-mandrake.com> 0.9.14-1mdk
- - fix group of doc package
- - new version
- * Fri Aug 23 2002 Gz Waschk <waschk@linux-mandrake.com> 0.9.13-1mdk
- - add directfb-csource and man page
- - 0.9.13
- * Thu Jul 11 2002 Gz Waschk <waschk@linux-mandrake.com> 0.9.12-1mdk
- - initial package based on PLD effort
|