- Update BuildRoot to use Fedora Packaging Guidelines.

- Deglob file manifest.
- Limit "ExclusiveArch" to x86, x86_64, ia64
This commit is contained in:
mharris 2005-10-04 22:09:11 +00:00
parent 70e6321ecd
commit 628830bfdd

View File

@ -11,29 +11,17 @@
Summary: Xorg X11 vmware video driver
Name: xorg-x11-drv-vmware
Version: 10.10.2
Release: 0
Release: 1
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
#Source0: %{tarball}-%{version}-%{cvsdate}.tar.bz2
License: MIT/X11
Group: User Interface/X Hardware Support
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# FIXME: If you can see this comment, then the ExclusiveArch entry below
# is set to the spec file template default. Please examine the monolithic
# xorg-x11 package for each architecture for this driver, to determine which
# architectures it should be built or not built on, and update the list
# below. When doing this, take "sparc, sparc64, alpha" also into
# consideration if you know a given driver was built for those arches in
# the past. That makes it easier for the community Alphacore/AuroraLinux
# projects to rebuild our rpm packages. If you're not sure if a given
# driver should be on any of those arches however, just leave it out of
# the list, and the community can let us know which drivers they are
# missing. Remove this comment once the ExclusiveArch line is updated and
# considered reliable/correct.
ExclusiveArch: %{ix86} x86_64 ia64 ppc
ExclusiveArch: %{ix86} x86_64 ia64
BuildRequires: pkgconfig
BuildRequires: xorg-x11-server-sdk
@ -67,14 +55,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%dir %{moduledir}
%dir %{driverdir}
# FIXME: A glob is used here in the specfile template to make it easy to
# generate spec files automatically. When everything is in CVS, if you're
# updating the spec file, please change the glob to a list of explicit
# filenames, so that rpm tracks individual files, and we know when a new
# one gets added. Explicitly naming files also helps avoid random
# unexpected .so files (or others) from getting included in a shipping
# product. Ditto for the manpages.
%{driverdir}/*.so
%{driverdir}/vmware_drv.so
# NOTE: Uncomment when multimedia drivers are avail
#%dir %{moduledir}/multimedia
#%{moduledir}/multimedia/*.so
@ -83,6 +64,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man4/*.4*
%changelog
* Tue Oct 4 2005 Mike A. Harris <mharris@redhat.com> 10.10.2-1
- Update BuildRoot to use Fedora Packaging Guidelines.
- Deglob file manifest.
- Limit "ExclusiveArch" to x86, x86_64, ia64
* Fri Sep 2 2005 Mike A. Harris <mharris@redhat.com> 10.10.2-0
- Initial spec file for vmware video driver generated automatically
by my xorg-driverspecgen script.