evdev 2.0 git snapshot
This commit is contained in:
parent
8991cd9a37
commit
41829b1239
@ -1 +1 @@
|
||||
xf86-input-evdev-1.2.0.tar.bz2
|
||||
xf86-input-evdev-20080308.tar.bz2
|
||||
|
17
make-git-snapshot.sh
Executable file
17
make-git-snapshot.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
DIRNAME=xf86-input-evdev-$( date +%Y%m%d )
|
||||
|
||||
rm -rf $DIRNAME
|
||||
git clone git://git.freedesktop.org/git/xorg/driver/xf86-input-evdev $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 @@
|
||||
0c7c41d3f1637bb559e80c2ad708f05d xf86-input-evdev-1.2.0.tar.bz2
|
||||
0a667c800d57c5d79aff9568e29399a9 xf86-input-evdev-20080308.tar.bz2
|
||||
|
@ -4,19 +4,24 @@
|
||||
%define moduledir %(pkg-config xorg-server --variable=moduledir )
|
||||
%define driverdir %{moduledir}/input
|
||||
|
||||
%define gitdate 20080308
|
||||
|
||||
Summary: Xorg X11 evdev input driver
|
||||
Name: xorg-x11-drv-evdev
|
||||
Version: 1.2.0
|
||||
Release: 2%{?dist}
|
||||
Version: 1.99.1
|
||||
Release: 0.1%{?dist}
|
||||
URL: http://www.x.org
|
||||
License: MIT
|
||||
Group: User Interface/X Hardware Support
|
||||
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
|
||||
Source0: %{tarball}-%{gitdate}.tar.bz2
|
||||
Source1: make-git-snapshot.sh
|
||||
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: xorg-x11-server-sdk >= 1.3.0.0-6
|
||||
|
||||
Requires: xorg-x11-server-Xorg >= 1.3.0.0-6
|
||||
@ -25,9 +30,10 @@ Requires: xorg-x11-server-Xorg >= 1.3.0.0-6
|
||||
X.Org X11 evdev input driver.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{tarball}-%{version}
|
||||
%setup -q -n %{tarball}-%{gitdate}
|
||||
|
||||
%build
|
||||
autoreconf -v --install || exit 1
|
||||
%configure --disable-static
|
||||
make
|
||||
|
||||
@ -49,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man4/evdev.4*
|
||||
|
||||
%changelog
|
||||
* Fri Mar 07 2008 Adam Jackson <ajax@redhat.com> 1.99.1-0.1
|
||||
- evdev 2.0 git snapshot
|
||||
|
||||
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.0-2
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user