%define tarball xf86-video-dummy %define moduledir %(pkg-config xorg-server --variable=moduledir ) %define driverdir %{moduledir}/drivers %define cvsdate xxxxxxx Summary: Xorg X11 dummy video driver Name: xorg-x11-drv-dummy Version: 0.1.0.5 Release: 1 URL: http://www.x.org Source0: http://xorg.freedesktop.org/X11R7.0/src/driver/%{tarball}-%{version}.tar.bz2 License: MIT/X11 Group: User Interface/X Hardware Support BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExclusiveArch: %{ix86} x86_64 ia64 ppc alpha sparc sparc64 BuildRequires: pkgconfig BuildRequires: xorg-x11-server-sdk Requires: xorg-x11-server-Xorg %description X.Org X11 dummy video driver. %prep %setup -q -n %{tarball}-%{version} %build %configure --disable-static make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # FIXME: Remove all libtool archives (*.la) from modules directory. This # should be fixed in upstream Makefile.am or whatever. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %dir %{moduledir} %dir %{driverdir} %{driverdir}/dummy_drv.so #%dir %{_mandir}/man4x #%{_mandir}/man4/dummy.4x* %changelog * Wed Jan 18 2006 Mike A. Harris 0.1.0.5-1 - Updated xorg-x11-drv-dummy to version 0.1.0.5 from X11R7.0 * Tue Dec 20 2005 Mike A. Harris 0.1.0.4-1 - Updated xorg-x11-drv-dummy to version 0.1.0.4 from X11R7 RC4 - Removed 'x' suffix from manpage dirs to match RC4 upstream. * Wed Nov 16 2005 Mike A. Harris 0.1.0.2-1 - Updated xorg-x11-drv-dummy to version 0.1.0.2 from X11R7 RC2 * Fri Nov 4 2005 Mike A. Harris 0.1.0.1-1 - Updated xorg-x11-drv-dummy to version 0.1.0.1 from X11R7 RC1 - Fix *.la file removal. * Mon Oct 3 2005 Mike A. Harris 1.0.0-1 - Update BuildRoot to use Fedora Packaging Guidelines. - Deglob file manifest. - Add alpha/sparc/sparc64 to "ExclusiveArch" * Fri Sep 2 2005 Mike A. Harris 0.1.0-0 - Initial spec file for dummy video driver generated automatically by my xorg-driverspecgen script.