2005-10-02 14:08:22 +00:00
|
|
|
%define tarball xf86-video-dummy
|
|
|
|
# All packages should own all dirs they lead up to, for saner
|
|
|
|
# rpm packaging, in particular if the leading dirs are not owned by
|
|
|
|
# the "filesystem" package.
|
|
|
|
%define moduledir %(pkg-config xorg-server --variable=moduledir )
|
|
|
|
# define driverdir to the appropriate type for this driver class
|
2005-11-04 23:13:20 +00:00
|
|
|
%define driverdir %{moduledir}/drivers
|
2005-10-02 14:08:22 +00:00
|
|
|
|
|
|
|
%define cvsdate xxxxxxx
|
|
|
|
|
|
|
|
Summary: Xorg X11 dummy video driver
|
|
|
|
Name: xorg-x11-drv-dummy
|
2005-11-04 23:13:20 +00:00
|
|
|
Version: 0.1.0.1
|
|
|
|
Release: 1
|
2005-10-02 14:08:22 +00:00
|
|
|
URL: http://www.x.org
|
|
|
|
# FIXME: If using a CVS version, uncomment the second Source0 line and use
|
|
|
|
# it instead.
|
|
|
|
Source0: http://xorg.freedesktop.org/X11R7.0-RC0/driver/%{tarball}-%{version}.tar.bz2
|
|
|
|
#Source0: http://xorg.freedesktop.org/X11R7.0-RC0/driver/%{tarball}-%{version}-%{cvsdate}.tar.bz2
|
|
|
|
License: MIT/X11
|
|
|
|
Group: User Interface/X Hardware Support
|
2005-10-03 22:29:57 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2005-10-02 14:08:22 +00:00
|
|
|
|
2005-10-03 22:29:57 +00:00
|
|
|
ExclusiveArch: %{ix86} x86_64 ia64 ppc alpha sparc sparc64
|
2005-10-02 14:08:22 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
# FIXME: This should be using makeinstall macro instead. Please test
|
|
|
|
# makeinstall with this driver, and if it works, check it into CVS. If
|
|
|
|
# it fails, fix it in upstream sources and file a patch upstream.
|
|
|
|
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.
|
2005-11-04 23:13:20 +00:00
|
|
|
find $RPM_BUILD_ROOT -regex ".*.la$" | xargs rm -f --
|
2005-10-02 14:08:22 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%dir %{moduledir}
|
|
|
|
%dir %{driverdir}
|
2005-10-03 22:29:57 +00:00
|
|
|
%{driverdir}/dummy_drv.so
|
2005-10-02 14:08:22 +00:00
|
|
|
# NOTE: Uncomment when multimedia drivers are avail
|
|
|
|
#%dir %{moduledir}/multimedia
|
|
|
|
#%{moduledir}/multimedia/*.so
|
|
|
|
# NOTE: Uncomment these if someone ever writes manpages for this driver
|
|
|
|
#%dir %{_mandir}
|
2005-11-04 23:13:20 +00:00
|
|
|
#%dir %{_mandir}/man4x
|
|
|
|
#%{_mandir}/man4x/*.4x*
|
2005-10-02 14:08:22 +00:00
|
|
|
|
|
|
|
%changelog
|
2005-11-04 23:13:20 +00:00
|
|
|
* Fri Nov 4 2005 Mike A. Harris <mharris@redhat.com> 0.1.0.1-1
|
|
|
|
- Updated xorg-x11-drv-dummy to version 0.1.0.1 from X11R7 RC1
|
|
|
|
- Fix *.la file removal.
|
2005-10-03 22:29:57 +00:00
|
|
|
* Mon Oct 3 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
|
|
|
|
- Update BuildRoot to use Fedora Packaging Guidelines.
|
|
|
|
- Deglob file manifest.
|
|
|
|
- Add alpha/sparc/sparc64 to "ExclusiveArch"
|
|
|
|
|
2005-10-02 14:08:22 +00:00
|
|
|
* Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 0.1.0-0
|
|
|
|
- Initial spec file for dummy video driver generated automatically
|
|
|
|
by my xorg-driverspecgen script.
|