Blame SPECS/xorg-x11-drv-vmmouse.spec

56fd25
%global tarball xf86-input-vmmouse
56fd25
%global moduledir %(pkg-config xorg-server --variable=moduledir )
56fd25
%global driverdir %{moduledir}/input
56fd25
56fd25
#global gitdate 20101209
56fd25
%global gitversion 07232feb6
56fd25
56fd25
Summary:    Xorg X11 vmmouse input driver
56fd25
Name:	    xorg-x11-drv-vmmouse
56fd25
Version:    13.1.0
56fd25
Release:    1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}.1
56fd25
URL:	    http://www.x.org
56fd25
License:    MIT
56fd25
Group:	    User Interface/X Hardware Support
56fd25
56fd25
%if 0%{?gitdate}
56fd25
Source0:    %{tarball}-%{gitdate}.tar.bz2
56fd25
Source1:    make-git-snapshot.sh
56fd25
Source2:    commitid
56fd25
%else
56fd25
Source0:    ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
56fd25
%endif
56fd25
56fd25
# Yes, this is not the same as vmware.  Yes, this is intentional.
56fd25
ExclusiveArch: %{ix86} x86_64
56fd25
56fd25
BuildRequires: xorg-x11-server-devel >= 1.10.99.902
56fd25
BuildRequires: automake autoconf libtool
56fd25
BuildRequires: libudev-devel
56fd25
56fd25
Requires: Xorg %(xserver-sdk-abi-requires ansic)
56fd25
Requires: Xorg %(xserver-sdk-abi-requires xinput)
56fd25
56fd25
%description 
56fd25
X.Org X11 vmmouse input driver.
56fd25
56fd25
%prep
56fd25
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
56fd25
56fd25
%build
56fd25
autoreconf -v --install --force || exit 1
56fd25
%configure --disable-static \
56fd25
           --disable-silent-rules \
56fd25
           --with-xorg-conf-dir='%{_datadir}/X11/xorg.conf.d' \
56fd25
           --with-udev-rules-dir='%{_prefix}/lib/udev/rules.d'
56fd25
make %{?_smp_mflags}
56fd25
56fd25
%install
56fd25
rm -rf $RPM_BUILD_ROOT
56fd25
make install DESTDIR=$RPM_BUILD_ROOT
56fd25
56fd25
# FIXME: Remove all libtool archives (*.la) from modules directory.  This
56fd25
# should be fixed in upstream Makefile.am or whatever.
56fd25
find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
56fd25
56fd25
# Don't need HAL no more
56fd25
rm -rf $RPM_BUILD_ROOT/%{_libdir}/hal/hal-probe-vmmouse
56fd25
rm -rf $RPM_BUILD_ROOT/%{_datadir}/hal/fdi/
56fd25
56fd25
%clean
56fd25
rm -rf $RPM_BUILD_ROOT
56fd25
56fd25
%files
56fd25
%defattr(-,root,root,-)
56fd25
%{driverdir}/vmmouse_drv.so
56fd25
%{_mandir}/man4/vmmouse.4*
56fd25
%{_mandir}/man1/vmmouse_detect.1*
56fd25
%{_bindir}/vmmouse_detect
56fd25
%{_datadir}/X11/xorg.conf.d/50-vmmouse.conf
56fd25
%{_prefix}/lib/udev/rules.d/*.rules
56fd25
56fd25
%changelog
56fd25
* Wed May 30 2018 Adam Jackson <ajax@redhat.com> - 13.1.0-1.1
56fd25
- Rebuild for xserver 1.20
56fd25
56fd25
* Thu Jan 26 2017 Peter Hutterer <peter.hutterer@redhat.com> 13.1.0-1
56fd25
- Rebase to 13.1.0 (#1401645)
56fd25
56fd25
* Wed Sep 07 2016 Peter Hutterer <peter.hutterer@redhat.com> 13.0.0-12
56fd25
- Don't use vmmouse if the vmmouse kernel driver is detected (#1354636)
56fd25
56fd25
* Fri May 01 2015 Peter Hutterer <peter.hutterer@redhat.com> 13.0.0-11
56fd25
- 1.17 ABI rebuild (#1194886)
56fd25
56fd25
* Wed Jan 15 2014 Adam Jackson <ajax@redhat.com> - 13.0.0-10
56fd25
- 1.15 ABI rebuild
56fd25
56fd25
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 13.0.0-9
56fd25
- Mass rebuild 2013-12-27
56fd25
56fd25
* Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> - 13.0.0-8
56fd25
- 1.15RC1 ABI rebuild
56fd25
56fd25
* Fri Oct 25 2013 Adam Jackson <ajax@redhat.com> - 13.0.0-7
56fd25
- ABI rebuild
56fd25
56fd25
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 13.0.0-6
56fd25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
56fd25
56fd25
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 13.0.0-5
56fd25
- require xorg-x11-server-devel, not -sdk
56fd25
56fd25
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 13.0.0-4
56fd25
- ABI rebuild
56fd25
56fd25
* Fri Feb 15 2013 Peter Hutterer <peter.hutterer@redhat.com> - 13.0.0-3
56fd25
- ABI rebuild
56fd25
56fd25
* Fri Feb 15 2013 Peter Hutterer <peter.hutterer@redhat.com> - 13.0.0-2
56fd25
- ABI rebuild
56fd25
56fd25
* Wed Jan 16 2013 Peter Hutterer <peter.hutterer@redhat.com> 13.0.0-1
56fd25
- vmmouse 13.0.0
56fd25
56fd25
* Thu Jan 10 2013 Adam Jackson <ajax@redhat.com> - 12.9.0-8
56fd25
- ABI rebuild
56fd25
56fd25
* Wed Oct 31 2012 Peter Hutterer <peter.hutterer@redhat.com> - 12.9.0-7
56fd25
- Fix {?dist} tag
56fd25
56fd25
* Mon Aug 20 2012 Adam Jackson <ajax@redhat.com> 12.9.0-6
56fd25
- vmmouse-12.9.0-unsafe-logging.patch: Stifle some unsafe logging on the
56fd25
  read_input path.
56fd25
56fd25
* Sun Aug 05 2012 Peter Hutterer <peter.hutterer@redhat.com> 12.9.0-5
56fd25
- Get the udev rules dir from udev.pc instead of manually patching it
56fd25
56fd25
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.9.0-4
56fd25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
56fd25
56fd25
* Wed Jul 18 2012 Dave Airlie <airlied@redhat.com> - 12.9.0-3
56fd25
- ABI rebuild
56fd25
56fd25
* Thu Jun 07 2012 Peter Hutterer <peter.hutterer@redhat.com> 12.9.0-2
56fd25
- replace udev with systemd, install rules files with prefix
56fd25
56fd25
* Wed May 23 2012 Peter Hutterer <peter.hutterer@redhat.com> 12.9.0-1
56fd25
- vmmouse 12.9.0
56fd25
56fd25
* Fri Mar 09 2012 Peter Hutterer <peter.hutterer@redhat.com> 12.8.0-1
56fd25
- vmmouse 12.8.0
56fd25
56fd25
* Sat Feb 11 2012 Peter Hutterer <peter.hutterer@redhat.com> - 12.7.0-9
56fd25
- ABI rebuild
56fd25
56fd25
* Fri Feb 10 2012 Peter Hutterer <peter.hutterer@redhat.com> - 12.7.0-8
56fd25
- ABI rebuild
56fd25
56fd25
* Tue Jan 24 2012 Peter Hutterer <peter.hutterer@redhat.com> - 12.7.0-7
56fd25
- ABI rebuild
56fd25
56fd25
* Wed Jan 04 2012 Peter Hutterer <peter.hutterer@redhat.com> - 12.7.0-6
56fd25
- Rebuild for server 1.12
56fd25
56fd25
* Mon Nov 14 2011 Adam Jackson <ajax@redhat.com> - 12.7.0-5
56fd25
- ABI rebuild
56fd25
56fd25
* Thu Nov 10 2011 Peter Hutterer <peter.hutterer@redhat.com> 12.7.0-4
56fd25
- Deal with input ABI 14 option types
56fd25
56fd25
* Wed Nov 09 2011 ajax <ajax@redhat.com> - 12.7.0-3
56fd25
- ABI rebuild
56fd25
56fd25
* Thu Aug 18 2011 Adam Jackson <ajax@redhat.com> - 12.7.0-2
56fd25
- Rebuild for xserver 1.11 ABI
56fd25
56fd25
* Thu Jul 07 2011 Peter Hutterer <peter.hutterer@redhat.com>
56fd25
- Disable silent rules on build, build with _smp_mflags
56fd25
56fd25
* Thu Mar 03 2011 Peter Hutterer <peter.hutterer@redhat.com> 12.7.0-1
56fd25
- vmmouse 12.7.0
56fd25
56fd25
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.6.99.901-2.20101209git07232feb6
56fd25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
56fd25
56fd25
* Thu Dec 09 2010 Peter Hutterer <peter.hutterer@redhat.com> 12.6.99.901-1.20101209git07232feb6
56fd25
- 12.7RC1 snapshot from git
56fd25
- add a few missing git snapshot bits
56fd25
56fd25
* Thu Nov 25 2010 Peter Hutterer <peter.hutterer@redhat.com> - 12.6.10-3.20101125
56fd25
- Rebuild for server 1.10
56fd25
56fd25
* Thu Nov 25 2010 Peter Hutterer <peter.hutterer@redhat.com> 12.6.10-2.20101125
56fd25
- add git snapshotting hooks
56fd25
- update to today's git snapshot
56fd25
56fd25
* Wed Oct 27 2010 Adam Jackson <ajax@redhat.com> 12.6.10-2
56fd25
- Add ABI requires magic (#542742)
56fd25
56fd25
* Thu Aug 12 2010 Peter Hutterer <peter.hutterer@redhat.com> 12.6.10-1
56fd25
- vmmouse 12.6.10
56fd25
56fd25
* Mon Jul 05 2010 Peter Hutterer <peter.hutterer@redhat.com> - 12.6.9-5
56fd25
- rebuild for X Server 1.9
56fd25
56fd25
* Thu Jul 01 2010 Peter Hutterer <peter.hutterer@redhat.com> 12.6.9-4
56fd25
- vmmouse-12.6.9-iopl-revert.patch: revert removal of iopl(2) call (#640660)
56fd25
56fd25
* Fri Jun 18 2010 Peter Hutterer <peter.hutterer@redhat.com> 12.6.9-3
56fd25
- vmmouse-12.6.9-single-udev-match.patch: only match event devices once.
56fd25
56fd25
* Thu Apr 15 2010 Peter Hutterer <peter.hutterer@redhat.com> 12.6.9-2
56fd25
- Install config snippet in $datadir/X11/xorg.conf.d.
56fd25
56fd25
* Fri Apr 09 2010 Peter Hutterer <peter.hutterer@redhat.com> 12.6.9-1
56fd25
- vmmouse 12.6.9, installs udev rules and xorg.conf.d snippets
56fd25
- Require xserver 1.7.99.1 or later and udev.
56fd25
56fd25
* Fri Mar 19 2010 Peter Hutterer <peter.hutterer@redhat.com> 12.6.7-1
56fd25
- vmmouse 12.6.7
56fd25
56fd25
* Wed Feb 10 2010 Peter Hutterer <peter.hutterer@redhat.com> 12.6.6-1
56fd25
- vmmouse 12.6.6
56fd25
- abi.patch: drop, merged upstream.
56fd25
56fd25
* Thu Jan 21 2010 Peter Hutterer <peter.hutterer@redhat.com> - 12.6.5-4
56fd25
- Rebuild for server 1.8
56fd25
56fd25
* Wed Jan 06 2010 Peter Hutterer <peter.hutterer@redhat.com> 12.6.5-3
56fd25
- Use global instead of define as per Packaging Guidelines
56fd25
56fd25
* Thu Aug 27 2009 Adam Jackson <ajax@redhat.com> 12.6.5-2
56fd25
- abi.patch: Re-add. (#518589)
56fd25
56fd25
* Fri Aug 07 2009 Peter Hutterer <peter.hutterer@redhat.com> 12.6.5-1
56fd25
- vmmouse 12.6.5
56fd25
- vmmouse-12.6.4-abi.patch: Drop.
56fd25
56fd25
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.6.4-3.1
56fd25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
56fd25
56fd25
* Wed Jul 15 2009 Adam Jackson <ajax@redhat.com> - 12.6.4-2.1
56fd25
- ABI bump
56fd25
56fd25
* Thu Jul 09 2009 Adam Jackson <ajax@redhat.com> 12.6.4-2
56fd25
- Port to new server ABI (#509682)
56fd25
56fd25
* Wed May 13 2009 Peter Hutterer <peter.hutterer@redhat.com> 12.6.4-1
56fd25
- vmmouse 12.6.4
56fd25
56fd25
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12.6.3-4
56fd25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
56fd25
56fd25
* Thu Feb 12 2009 Peter Hutterer <peter.hutterer@redhat.com> 12.6.3-3
56fd25
- Revert last commit, this is against Fedora policy.
56fd25
  https://fedoraproject.org/wiki/Packaging:Guidelines#Configuration_files
56fd25
56fd25
* Mon Feb 09 2009 Peter Hutterer <peter.hutterer@redhat.com> 12.6.3-2
56fd25
- Don't overwrite the fdi file on upgrade.
56fd25
56fd25
* Mon Dec 22 2008 Peter Hutterer <peter.hutterer@redhat.com> 12.6.3-1
56fd25
- vmmouse 12.6.3
56fd25
56fd25
* Mon Nov 17 2008 Peter Hutterer <peter.hutterer@redhat.com> 12.6.2-1
56fd25
- vmmouse 12.6.2
56fd25
56fd25
* Mon Oct 27 2008 Peter Hutterer <peter.hutterer@redhat.com> 12.6.1-1
56fd25
- vmmouse 12.6.1
56fd25
56fd25
* Tue Oct 21 2008 Peter Hutterer <peter.hutterer@redhat.com> 12.5.2-1
56fd25
- vmmouse 12.5.2
56fd25
56fd25
* Thu Mar 20 2008 Adam Jackson <ajax@redhat.com> 12.5.0-1
56fd25
- vmmouse 12.5.0
56fd25
56fd25
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 12.4.3-4
56fd25
- Autorebuild for GCC 4.3
56fd25
56fd25
* Wed Jan  2 2008 Jeremy Katz <katzj@redhat.com> - 12.4.3-3
56fd25
- Add workaround for xserver not calling convert_proc in input drivers 
56fd25
  anymore (patch from Joerg Platte on debian xmaint list)
56fd25
56fd25
* Tue Dec 18 2007 Jeremy Katz <katzj@redhat.com> - 12.4.3-2
56fd25
- Rebuild for new xserver
56fd25
56fd25
* Thu Oct 11 2007 Adam Jackson <ajax@redhat.com> 12.4.3-1
56fd25
- xf86-input-vmmouse 12.4.3
56fd25
56fd25
* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 12.4.2-1
56fd25
- xf86-input-vmmouse 12.4.2
56fd25
56fd25
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> - 12.4.0-4
56fd25
- Rebuild for build ID
56fd25
56fd25
* Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 12.4.0-3
56fd25
- Update Requires and BuildRequires.  Disown the module directories. 
56fd25
56fd25
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
56fd25
- rebuild
56fd25
56fd25
* Sun Apr  9 2006 Adam Jackson <ajackson@redhat.com> 12.4.0-1
56fd25
- Update to 12.4.0 from 7.1RC1.
56fd25
56fd25
* Wed Mar 29 2006 Adam Jackson <ajackson@redhat.com> 12.3.2.0-4
56fd25
- Don't build on ia64, as per comments in the source.
56fd25
56fd25
* Wed Mar 29 2006 Adam Jackson <ajackson@redhat.com> 12.3.2.0-3
56fd25
- Rebump to appease beehive.
56fd25
56fd25
* Wed Mar 29 2006 Adam Jackson <ajackson@redhat.com> 12.3.2.0-1
56fd25
- Bump to 12.3.2.0 from upstream (LP64 fixes).
56fd25
56fd25
* Sun Feb  5 2006 Mike A. Harris <mharris@redhat.com> 12.3.1.0-1
56fd25
- Initial spec file for vmmouse input driver, using xorg-x11-drv-mouse.spec
56fd25
  version 1.0.3.1-1 as a template.