- Update to git snapshot for pciaccess conversion. (#428613)
This commit is contained in:
parent
ac1feaa453
commit
288a83725a
@ -1 +1 @@
|
|||||||
xf86-video-vmware-10.15.2.tar.bz2
|
xf86-video-vmware-20080122.tar.bz2
|
||||||
|
17
make-git-snapshot.sh
Executable file
17
make-git-snapshot.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
DIRNAME=xf86-video-vmware-$( date +%Y%m%d )
|
||||||
|
|
||||||
|
rm -rf $DIRNAME
|
||||||
|
git clone git://git.freedesktop.org/git/xorg/driver/xf86-video-vmware $DIRNAME
|
||||||
|
cd $DIRNAME
|
||||||
|
if [ -z "$1" ]; then
|
||||||
|
git log | head -1
|
||||||
|
else
|
||||||
|
git checkout $1
|
||||||
|
fi
|
||||||
|
git log | head -1 | awk '{ print $2 }' > ../commitid
|
||||||
|
git repack -a -d
|
||||||
|
cd ..
|
||||||
|
tar jcf $DIRNAME.tar.bz2 $DIRNAME
|
||||||
|
rm -rf $DIRNAME
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
99322cbcc9081ad44e9cba63e3df8f7e xf86-video-vmware-10.15.2.tar.bz2
|
ceb3ffd7e95a9d8f4d990173c1362c65 xf86-video-vmware-20080122.tar.bz2
|
||||||
|
@ -1,33 +1,42 @@
|
|||||||
%define tarball xf86-video-vmware
|
%define tarball xf86-video-vmware
|
||||||
%define moduledir %(pkg-config xorg-server --variable=moduledir )
|
%define moduledir %(pkg-config xorg-server --variable=moduledir )
|
||||||
%define driverdir %{moduledir}/drivers
|
%define driverdir %{moduledir}/drivers
|
||||||
|
%define gitdate 20080122
|
||||||
|
|
||||||
Summary: Xorg X11 vmware video driver
|
Summary: Xorg X11 vmware video driver
|
||||||
Name: xorg-x11-drv-vmware
|
Name: xorg-x11-drv-vmware
|
||||||
Version: 10.15.2
|
Version: 10.15.2
|
||||||
Release: 1%{?dist}
|
Release: 99.1%{?dist}
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: User Interface/X Hardware Support
|
Group: User Interface/X Hardware Support
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
|
#Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
|
||||||
Source1: vmware.xinf
|
Source0: xf86-video-vmware-%{gitdate}.tar.bz2
|
||||||
|
Source1: vmware.xinf
|
||||||
|
Source2: make-git-snapshot.sh
|
||||||
|
|
||||||
ExclusiveArch: %{ix86} x86_64 ia64
|
ExclusiveArch: %{ix86} x86_64 ia64
|
||||||
|
|
||||||
BuildRequires: xorg-x11-server-sdk >= 1.3.0.0-6
|
%if 0%{?gitdate}
|
||||||
|
BuildRequires: autoconf automake libtool
|
||||||
|
%endif
|
||||||
|
BuildRequires: xorg-x11-server-sdk >= 1.4.99.1
|
||||||
|
|
||||||
Requires: hwdata
|
Requires: hwdata
|
||||||
Requires: xorg-x11-server-Xorg >= 1.3.0.0-6
|
Requires: xorg-x11-server-Xorg >= 1.4.99.1
|
||||||
|
|
||||||
%description
|
%description
|
||||||
X.Org X11 vmware video driver.
|
X.Org X11 vmware video driver.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{tarball}-%{version}
|
%setup -q -n %{tarball}-%{gitdate}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?gitdate}
|
||||||
|
autoreconf -v --install || exit 1
|
||||||
|
%endif
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make
|
make
|
||||||
|
|
||||||
@ -53,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man4/vmware.4*
|
%{_mandir}/man4/vmware.4*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 22 2008 Adam Jackson <ajax@redhat.com> 10.15.2-99.1
|
||||||
|
- Update to git snapshot for pciaccess conversion. (#428613)
|
||||||
|
|
||||||
* Thu Oct 11 2007 Adam Jackson <ajax@redhat.com> 10.15.2-1
|
* Thu Oct 11 2007 Adam Jackson <ajax@redhat.com> 10.15.2-1
|
||||||
- xf86-video-vmware 10.15.2
|
- xf86-video-vmware 10.15.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user