[521] | 1 | %define oname DirectFB |
---|
[8835] | 2 | %define libver 1.7-4 |
---|
[521] | 3 | |
---|
| 4 | Summary: Hardware graphics acceleration library |
---|
| 5 | Name: directfb |
---|
[8835] | 6 | Version: 1.7.4 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
[521] | 8 | License: GPL |
---|
| 9 | Group: System Environment/Libraries |
---|
[8835] | 10 | Source0: http://www.directfb.org/downloads/Core/%{name}-1.7/%{oname}-%{version}.tar.gz |
---|
[521] | 11 | URL: http://www.directfb.org/ |
---|
| 12 | BuildRequires: libpng-devel >= 1.2.0 |
---|
| 13 | BuildRequires: zlib-devel >= 1.1.3 |
---|
[2409] | 14 | BuildRequires: libjpeg-turbo-devel |
---|
[8835] | 15 | BuildRequires: libtiff-devel |
---|
| 16 | BuildRequires: libwebp-devel |
---|
| 17 | BuildRequires: jasper-devel |
---|
[521] | 18 | BuildRequires: freetype2-devel >= 2.0.2 |
---|
[2409] | 19 | BuildRequires: libX11-devel |
---|
[8835] | 20 | BuildRequires: libdrm-devel |
---|
| 21 | BuildRequires: mesa-libEGL-devel |
---|
| 22 | BuildRequires: mesa-libGLES-devel |
---|
| 23 | BuildRequires: mesa-libgbm-devel |
---|
| 24 | BuildRequires: eudev-libudev-devel |
---|
| 25 | BuildRequires: libvdpau-devel |
---|
[2409] | 26 | BuildRequires: libvncserver-devel |
---|
| 27 | BuildRequires: sysfsutils-devel |
---|
[521] | 28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 29 | |
---|
| 30 | Vendor: Project Vine |
---|
| 31 | Distribution: Vine Linux |
---|
| 32 | |
---|
| 33 | %description |
---|
| 34 | DirectFB hardware graphics acceleration - libraries. |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %package -n lib%{name} |
---|
| 38 | Summary: Shared library part of %oname |
---|
| 39 | Group: System Environment/Libraries |
---|
| 40 | |
---|
| 41 | %description -n lib%{name} |
---|
| 42 | DirectFB hardware graphics acceleration - libraries. |
---|
| 43 | |
---|
| 44 | This package contains the %oname shared library and interface modules. |
---|
| 45 | It's required for running apps based on %oname. |
---|
| 46 | |
---|
| 47 | #' |
---|
| 48 | %package -n lib%{name}-devel |
---|
| 49 | Group: Development/Libraries |
---|
| 50 | Summary: Header files for compiling DirectFB applications |
---|
| 51 | Requires: lib%{name} = %{version}-%{release} |
---|
| 52 | Provides: %{oname}-devel = %{version}-%{release} |
---|
| 53 | |
---|
| 54 | %description -n lib%{name}-devel |
---|
| 55 | DirectFB header files for building applications based on %oname. |
---|
| 56 | |
---|
| 57 | %package doc |
---|
| 58 | Summary: DirectFB - documentation |
---|
| 59 | Group: Applications/Documentation |
---|
| 60 | |
---|
| 61 | %description doc |
---|
| 62 | DirectFB documentation and examples. |
---|
| 63 | |
---|
| 64 | %prep |
---|
| 65 | %setup -q -n %{oname}-%{version} |
---|
| 66 | |
---|
| 67 | %build |
---|
| 68 | %configure \ |
---|
[8835] | 69 | --enable-fbdev \ |
---|
| 70 | --disable-maintainer-mode \ |
---|
[521] | 71 | --enable-shared \ |
---|
[8835] | 72 | --with-gfxdrivers=all |
---|
[521] | 73 | |
---|
| 74 | make |
---|
| 75 | |
---|
| 76 | %install |
---|
| 77 | rm -rf $RPM_BUILD_ROOT |
---|
| 78 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 79 | |
---|
| 80 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 81 | |
---|
| 82 | # we don't ship dfbg ATM |
---|
| 83 | rm -f $RPM_BUILD_ROOT%{_bindir}/dfbg |
---|
| 84 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dfbg.1 |
---|
| 85 | |
---|
| 86 | %clean |
---|
| 87 | rm -rf $RPM_BUILD_ROOT |
---|
| 88 | |
---|
| 89 | %post -n lib%{name} -p /sbin/ldconfig |
---|
| 90 | |
---|
| 91 | %postun -n lib%{name} -p /sbin/ldconfig |
---|
| 92 | |
---|
| 93 | |
---|
| 94 | %files -n lib%{name} |
---|
[3940] | 95 | %defattr(-,root,root,-) |
---|
[521] | 96 | %doc README* AUTHORS ChangeLog NEWS TODO |
---|
| 97 | %{_bindir}/dfbdump |
---|
[8835] | 98 | %{_bindir}/dfbdumpinput |
---|
[521] | 99 | %{_bindir}/dfbfx |
---|
| 100 | %{_bindir}/dfbinfo |
---|
| 101 | %{_bindir}/dfbinput |
---|
[2043] | 102 | %{_bindir}/dfbinspector |
---|
| 103 | %{_bindir}/dfbmaster |
---|
[521] | 104 | %{_bindir}/dfblayer |
---|
[8835] | 105 | %{_bindir}/dfbplay |
---|
[521] | 106 | %{_bindir}/dfbscreen |
---|
[8835] | 107 | %{_bindir}/dfbshow |
---|
| 108 | %{_bindir}/dfbswitch |
---|
[521] | 109 | %{_bindir}/dfbpenmount |
---|
| 110 | %{_bindir}/mkdfiff |
---|
| 111 | %{_bindir}/mkdgiff |
---|
[2409] | 112 | %{_bindir}/mkdgifft |
---|
[8835] | 113 | %{_bindir}/pxa3xx_dump |
---|
[521] | 114 | %{_libdir}/lib*.so.* |
---|
| 115 | %dir %{_libdir}/directfb-%{libver} |
---|
| 116 | %dir %{_libdir}/directfb-%{libver}/gfxdrivers |
---|
| 117 | %dir %{_libdir}/directfb-%{libver}/inputdrivers |
---|
| 118 | %dir %{_libdir}/directfb-%{libver}/interfaces |
---|
| 119 | %dir %{_libdir}/directfb-%{libver}/systems |
---|
| 120 | %dir %{_libdir}/directfb-%{libver}/wm |
---|
| 121 | %{_libdir}/directfb-%{libver}/gfxdrivers/*.so |
---|
| 122 | %{_libdir}/directfb-%{libver}/inputdrivers/*.so |
---|
| 123 | %{_libdir}/directfb-%{libver}/interfaces/*/*.so |
---|
| 124 | %{_libdir}/directfb-%{libver}/systems/*.so |
---|
| 125 | %{_libdir}/directfb-%{libver}/wm/*.so |
---|
| 126 | %{_datadir}/directfb-%{version} |
---|
| 127 | %{_mandir}/man5/directfbrc.5* |
---|
| 128 | |
---|
| 129 | %files -n lib%{name}-devel |
---|
[3940] | 130 | %defattr(-,root,root,-) |
---|
[521] | 131 | %{_bindir}/directfb-config |
---|
| 132 | %{_bindir}/directfb-csource |
---|
| 133 | %{_includedir}/* |
---|
| 134 | %{_libdir}/pkgconfig/*.pc |
---|
| 135 | %{_libdir}/*.so |
---|
| 136 | %{_mandir}/man1/directfb-csource.1* |
---|
| 137 | |
---|
| 138 | %files doc |
---|
[3940] | 139 | %defattr(-,root,root,-) |
---|
[521] | 140 | %doc docs/html/* |
---|
| 141 | |
---|
| 142 | %changelog |
---|
[8835] | 143 | * Tue Jul 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1 |
---|
| 144 | - update to 1.7.4 |
---|
| 145 | - remove Patch0 (DirectFB-1.1.1_ppc.patch) |
---|
| 146 | - add BuildRequires: libwebp-devel, jasper-devel, libdrm-devel, mesa-libEGL-devel, mesa-libGLES-devel, mesa-libgbm-devel, eudev-libudev-devel, libvdpau-devel |
---|
| 147 | |
---|
[3940] | 148 | * Sun May 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.11-2 |
---|
| 149 | - fix permission |
---|
| 150 | |
---|
[2409] | 151 | * Tue Dec 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.11-1 |
---|
| 152 | - new upstream release |
---|
| 153 | - change Source URL |
---|
| 154 | - add BuildRequires: libX11-devel, libvncserver-devel, sysfsutils-devel |
---|
| 155 | - change BuildRequires: libjpeg-turbo-devel instead libjpeg-devel >= 6g |
---|
| 156 | - fix %%files |
---|
| 157 | |
---|
[2043] | 158 | * Mon Oct 11 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.5-1 |
---|
| 159 | - updated DirectFB to 1.2.5 |
---|
| 160 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 161 | |
---|
[521] | 162 | * Sun May 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.1-2 |
---|
| 163 | - add Patch0 to fix ppc build problem (with newer kernels) |
---|
| 164 | |
---|
| 165 | * Fri May 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.1-1 |
---|
| 166 | - new upstream release |
---|
| 167 | |
---|
| 168 | * Mon Dec 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.16-2vl2 |
---|
| 169 | - changed doc Group to Applications/Documentation |
---|
| 170 | |
---|
| 171 | * Fri Nov 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.16-2vl1 |
---|
| 172 | - changed packages Group: |
---|
| 173 | - cleaned spec file (a little bit!) |
---|
| 174 | |
---|
| 175 | * Fri Feb 28 2003 Kazuhisa TAKEI <takei@vinelinux.org> 0.9.16-2vl0 |
---|
| 176 | - new upstream version |
---|
| 177 | - convert to Vine Linux |
---|
| 178 | |
---|
[2409] | 179 | * Fri Dec 27 2002 Gz Waschk <waschk@linux-mandrake.com> 0.9.15-2mdk |
---|
[521] | 180 | - rebuild |
---|
| 181 | |
---|
[2409] | 182 | * Wed Nov 13 2002 Gz Waschk <waschk@linux-mandrake.com> 0.9.15-1mdk |
---|
[521] | 183 | - new version |
---|
| 184 | |
---|
[2409] | 185 | * Tue Oct 29 2002 Gz Waschk <waschk@linux-mandrake.com> 0.9.14-1mdk |
---|
[521] | 186 | - fix group of doc package |
---|
| 187 | - new version |
---|
| 188 | |
---|
[2409] | 189 | * Fri Aug 23 2002 Gz Waschk <waschk@linux-mandrake.com> 0.9.13-1mdk |
---|
[521] | 190 | - add directfb-csource and man page |
---|
| 191 | - 0.9.13 |
---|
| 192 | |
---|
[2409] | 193 | * Thu Jul 11 2002 Gz Waschk <waschk@linux-mandrake.com> 0.9.12-1mdk |
---|
[521] | 194 | - initial package based on PLD effort |
---|
| 195 | |
---|