123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- %define oname DirectFB
- %define libver 1.7-4
- Summary: Hardware graphics acceleration library
- Name: directfb
- Version: 1.7.4
- Release: 2%{?_dist_release}
- License: GPL
- Group: System Environment/Libraries
- Source0: http://www.directfb.org/downloads/Core/%{name}-1.7/%{oname}-%{version}.tar.gz
- URL: http://www.directfb.org/
- BuildRequires: libpng-devel >= 1.2.0
- BuildRequires: zlib-devel >= 1.1.3
- BuildRequires: libjpeg-turbo-devel
- BuildRequires: libtiff-devel
- BuildRequires: libwebp-devel
- BuildRequires: jasper-devel
- BuildRequires: freetype2-devel >= 2.0.2
- BuildRequires: libX11-devel
- BuildRequires: libdrm-devel
- BuildRequires: mesa-libEGL-devel
- BuildRequires: mesa-libGLES-devel
- BuildRequires: mesa-libgbm-devel
- BuildRequires: eudev-libudev-devel
- BuildRequires: libvdpau-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}
- %build
- %configure \
- --enable-fbdev \
- --disable-maintainer-mode \
- --enable-shared \
- --with-gfxdrivers=all
- 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(-,root,root,-)
- %doc README* AUTHORS ChangeLog NEWS TODO
- %{_bindir}/dfbdump
- %{_bindir}/dfbdumpinput
- %{_bindir}/dfbfx
- %{_bindir}/dfbinfo
- %{_bindir}/dfbinput
- %{_bindir}/dfbinspector
- %{_bindir}/dfbmaster
- %{_bindir}/dfblayer
- %{_bindir}/dfbplay
- %{_bindir}/dfbscreen
- %{_bindir}/dfbshow
- %{_bindir}/dfbswitch
- %{_bindir}/dfbpenmount
- %{_bindir}/mkdfiff
- %{_bindir}/mkdgiff
- %{_bindir}/mkdgifft
- %{_bindir}/pxa3xx_dump
- %{_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
- %{_datadir}/directfb-%{version}
- %{_mandir}/man5/directfbrc.5*
- %files -n lib%{name}-devel
- %defattr(-,root,root,-)
- %{_bindir}/directfb-config
- %{_bindir}/directfb-csource
- %{_includedir}/*
- %{_libdir}/pkgconfig/*.pc
- %{_libdir}/*.so
- %{_mandir}/man1/directfb-csource.1*
- %files doc
- %defattr(-,root,root,-)
- %doc docs/html/*
- %changelog
- * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-2
- - rebuild with gcc-5.4.0
- * Tue Jul 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1
- - update to 1.7.4
- - remove Patch0 (DirectFB-1.1.1_ppc.patch)
- - add BuildRequires: libwebp-devel, jasper-devel, libdrm-devel, mesa-libEGL-devel, mesa-libGLES-devel, mesa-libgbm-devel, eudev-libudev-devel, libvdpau-devel
- * Sun May 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.11-2
- - fix permission
- * 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
|