- Add stuff required to build from upstream git.
- Update to today's git snapshot.
This commit is contained in:
parent
a16c97a572
commit
2757e0d08e
@ -1 +1 @@
|
|||||||
xf86-input-wacom-0.10.4.tar.bz2
|
xf86-input-wacom-20100219.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-wacom-$( date +%Y%m%d )
|
||||||
|
|
||||||
|
rm -rf $DIRNAME
|
||||||
|
git clone git://linuxwacom.git.sourceforge.net/gitroot/linuxwacom/xf86-input-wacom $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 @@
|
|||||||
d6ded7769606ef1725067031445499f5 xf86-input-wacom-0.10.4.tar.bz2
|
f4b5657d15f09b51fc50b7cc7cb17e69 xf86-input-wacom-20100219.tar.bz2
|
||||||
|
@ -2,16 +2,23 @@
|
|||||||
%global moduledir %(pkg-config xorg-server --variable=moduledir )
|
%global moduledir %(pkg-config xorg-server --variable=moduledir )
|
||||||
%global driverdir %{moduledir}/input
|
%global driverdir %{moduledir}/input
|
||||||
|
|
||||||
|
# Disable gitdate to build from a fixed release
|
||||||
|
%global gitdate 20100219
|
||||||
|
|
||||||
Summary: Xorg X11 wacom input driver
|
Summary: Xorg X11 wacom input driver
|
||||||
Name: xorg-x11-drv-wacom
|
Name: xorg-x11-drv-wacom
|
||||||
Version: 0.10.4
|
Version: 0.10.4
|
||||||
Release: 3%{?dist}
|
Release: 4%{?gitdate:.%{gitdate}}%{?dist}
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
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: http://prdownloads.sourceforge.net/linuxwacom/xf86-input-wacom-0.10.4.tar.bz2
|
%if 0%{?gitdate}
|
||||||
|
Source0: %{tarball}-%{gitdate}.tar.bz2
|
||||||
|
%else
|
||||||
|
Source0: http://prdownloads.sourceforge.net/linuxwacom/xf86-input-wacom-%{version}.tar.bz2
|
||||||
|
%endif
|
||||||
Source1: 10-wacom.conf
|
Source1: 10-wacom.conf
|
||||||
|
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
@ -30,9 +37,13 @@ Obsoletes: linuxwacom <= 0.8.4.3
|
|||||||
X.Org X11 wacom input driver for Wacom tablets.
|
X.Org X11 wacom input driver for Wacom tablets.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{tarball}-%{version}
|
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?gitdate}
|
||||||
|
autoreconf -v --install || exit 1
|
||||||
|
%endif
|
||||||
|
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{_smp_mflags}
|
make %{_smp_mflags}
|
||||||
|
|
||||||
@ -54,7 +65,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS ChangeLog README GPL
|
%doc AUTHORS README GPL
|
||||||
|
%if !0%{?gitdate}
|
||||||
|
# ChangeLog is autogenerated by make dist, we don't run it from git builds
|
||||||
|
%doc ChangeLog
|
||||||
|
%endif
|
||||||
%{driverdir}/wacom_drv.so
|
%{driverdir}/wacom_drv.so
|
||||||
%{_mandir}/man4/wacom.4*
|
%{_mandir}/man4/wacom.4*
|
||||||
%{_sysconfdir}/xorg.conf.d/10-wacom.conf
|
%{_sysconfdir}/xorg.conf.d/10-wacom.conf
|
||||||
@ -77,6 +92,10 @@ X.Org X11 wacom input driver development files.
|
|||||||
%{_includedir}/xorg/wacom-properties.h
|
%{_includedir}/xorg/wacom-properties.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 19 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-4.20100219
|
||||||
|
- Add stuff required to build from upstream git.
|
||||||
|
- Update to today's git snapshot.
|
||||||
|
|
||||||
* Wed Feb 17 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-3
|
* Wed Feb 17 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.4-3
|
||||||
- Add 10-wacom.conf, the fdi file doesn't work anymore.
|
- Add 10-wacom.conf, the fdi file doesn't work anymore.
|
||||||
- Drop hal requires.
|
- Drop hal requires.
|
||||||
|
Loading…
Reference in New Issue
Block a user