a12912
%global tarball xf86-input-mouse
a12912
%global moduledir %(pkg-config xorg-server --variable=moduledir )
a12912
%global driverdir %{moduledir}/input
a12912
a12912
#global gitdate 20101125
a12912
a12912
Summary:   Xorg X11 mouse input driver
a12912
Name:      xorg-x11-drv-mouse
a12912
Version:   1.9.0
a12912
Release:   7%{?gitdate:.%{gitdate}}%{?dist}
a12912
URL:       http://www.x.org
a12912
License:   MIT
a12912
Group:     User Interface/X Hardware Support
a12912
a12912
%if 0%{?gitdate}
a12912
Source0:   %{tarball}-%{gitdate}.tar.bz2
a12912
Source1:   make-git-snapshot.sh
a12912
Source2:   commitid
a12912
%else
a12912
Source0:   ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
a12912
%endif
a12912
a12912
ExcludeArch: s390 s390x
a12912
a12912
BuildRequires: autoconf automake libtool
a12912
BuildRequires: xorg-x11-server-devel >= 1.10.99.902
a12912
BuildRequires: xorg-x11-util-macros >= 1.3.0
a12912
a12912
Requires: Xorg %(xserver-sdk-abi-requires ansic)
a12912
Requires: Xorg %(xserver-sdk-abi-requires xinput)
a12912
a12912
%description 
a12912
X.Org X11 mouse input driver.
a12912
a12912
%prep
a12912
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
a12912
a12912
%build
a12912
autoreconf --force -v --install || exit 1
a12912
%configure --disable-static --disable-silent-rules
a12912
make %{?_smp_mflags}
a12912
a12912
%install
a12912
rm -rf $RPM_BUILD_ROOT
a12912
make install DESTDIR=$RPM_BUILD_ROOT
a12912
a12912
# FIXME: Remove all libtool archives (*.la) from modules directory.  This
a12912
# should be fixed in upstream Makefile.am or whatever.
a12912
find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
a12912
a12912
%clean
a12912
rm -rf $RPM_BUILD_ROOT
a12912
a12912
%files
a12912
%defattr(-,root,root,-)
a12912
%{driverdir}/mouse_drv.so
a12912
%{_mandir}/man4/mousedrv.4*
a12912
a12912
%package devel
a12912
Summary:    Xorg X11 mouse input driver development package.
a12912
Group:      Development/Libraries
a12912
Requires:   pkgconfig
a12912
%description devel
a12912
X.Org X11 mouse input driver development files.
a12912
a12912
%files devel
a12912
%defattr(-,root,root,-)
a12912
%doc COPYING
a12912
%dir %{_includedir}/xorg
a12912
%{_includedir}/xorg/xf86-mouse-properties.h
a12912
%{_libdir}/pkgconfig/xorg-mouse.pc
a12912
a12912
%changelog
a12912
* Wed Aug 20 2014 Adam Jackson <ajax@redhat.com> 1.9.0-7
a12912
- Build on PPC
a12912
a12912
* Wed Jan 15 2014 Adam Jackson <ajax@redhat.com> - 1.9.0-6
a12912
- 1.15 ABI rebuild
a12912
a12912
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.9.0-5
a12912
- Mass rebuild 2013-12-27
a12912
a12912
* Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> - 1.9.0-4
a12912
- 1.15RC1 ABI rebuild
a12912
a12912
* Fri Oct 25 2013 Adam Jackson <ajax@redhat.com> - 1.9.0-3
a12912
- ABI rebuild
a12912
a12912
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-2
a12912
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a12912
a12912
* Wed Mar 27 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.9.0-1
a12912
- mouse 1.9.0
a12912
a12912
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.8.1-8
a12912
- require xorg-x11-server-devel, not -sdk
a12912
a12912
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.8.1-7
a12912
- ABI rebuild
a12912
a12912
* Fri Feb 15 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.8.1-6
a12912
- ABI rebuild
a12912
a12912
* Fri Feb 15 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.8.1-5
a12912
- ABI rebuild
a12912
a12912
* Thu Jan 10 2013 Adam Jackson <ajax@redhat.com> - 1.8.1-4
a12912
- ABI rebuild
a12912
a12912
* Wed Oct 31 2012 Peter Hutterer <peter.hutterer@redhat.com> - 1.8.1-3
a12912
- Fix {?dist} tag
a12912
a12912
* Thu Aug 02 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.8.1-2
a12912
- Force autoreconf to avoid libtool versioning errors
a12912
a12912
* Tue Jul 31 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.8.1-1
a12912
- mouse 1.8.1
a12912
a12912
* Mon Jul 30 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.8.0-1
a12912
- mouse 1.8.0
a12912
a12912
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-4
a12912
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a12912
a12912
* Wed Jul 18 2012 Dave Airlie <airlied@redhat.com> - 1.7.2-3
a12912
- ABI rebuild
a12912
a12912
* Thu Apr 05 2012 Adam Jackson <ajax@redhat.com> - 1.7.2-2
a12912
- RHEL arch exclude updates
a12912
a12912
* Fri Mar 16 2012 Adam Jackson <ajax@redhat.com> 1.7.2-1
a12912
- mouse 1.7.2
a12912
a12912
* Sat Feb 11 2012 Peter Hutterer <peter.hutterer@redhat.com> - 1.7.1-8
a12912
- ABI rebuild
a12912
a12912
* Fri Feb 10 2012 Peter Hutterer <peter.hutterer@redhat.com> - 1.7.1-7
a12912
- ABI rebuild
a12912
a12912
* Tue Jan 24 2012 Peter Hutterer <peter.hutterer@redhat.com> - 1.7.1-6
a12912
- ABI rebuild
a12912
a12912
* Wed Jan 04 2012 Peter Hutterer <peter.hutterer@redhat.com> - 1.7.1-5
a12912
- Rebuild for server 1.12
a12912
a12912
* Mon Nov 14 2011 Adam Jackson <ajax@redhat.com> - 1.7.1-4
a12912
- ABI rebuild
a12912
a12912
* Wed Nov 09 2011 ajax <ajax@redhat.com> - 1.7.1-3
a12912
- ABI rebuild
a12912
a12912
* Thu Aug 18 2011 Adam Jackson <ajax@redhat.com> - 1.7.1-2
a12912
- Rebuild for xserver 1.11 ABI
a12912
a12912
* Thu Jul 07 2011 Peter Hutterer <peter.hutterer@redhat.com>
a12912
- Disable silent rules on build, build with _smp_mflags
a12912
a12912
* Wed Jul 06 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.7.1-1
a12912
- mouse 1.7.1
a12912
a12912
* Thu Mar 10 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.7.0-1
a12912
- mouse 1.7.0
a12912
a12912
* Mon Feb 21 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.6.99.901-1
a12912
- mouse 1.7RC1
a12912
a12912
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.99-3.20101125
a12912
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a12912
a12912
* Thu Nov 25 2010 Peter Hutterer <peter.hutterer@redhat.com> - 1.6.99-2.20101125
a12912
- Rebuild for server 1.10
a12912
a12912
* Thu Nov 25 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.6.99-1.20101125
a12912
- today's git snapshot
a12912
- add a few more flexible git hooks to the spec file
a12912
- add commitid file
a12912
a12912
* Wed Oct 27 2010 Adam Jackson <ajax@redhat.com> 1.6.0-2
a12912
- Add ABI requires magic (#542742)
a12912
a12912
* Thu Sep 09 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.6.0-1
a12912
- mouse 1.6.0
a12912
a12912
* Mon Jul 05 2010 Peter Hutterer <peter.hutterer@redhat.com> - 1.5.0-5
a12912
- rebuild for X Server 1.9
a12912
a12912
* Thu Jan 21 2010 Peter Hutterer <peter.hutterer@redhat.com> - 1.5.0-4
a12912
- Rebuild for server 1.8
a12912
a12912
* Thu Jan 07 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.5.0-3
a12912
- Use global instead of define as per Packaging Guidelines.
a12912
a12912
* Fri Nov 20 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.5.0-2
a12912
- BuildRequires xorg-x11-util-macros 1.3.0
a12912
a12912
* Tue Oct 06 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.5.0-1
a12912
- mouse 1.5.0
a12912
a12912
* Thu Sep 10 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.4.99.1-2
a12912
- Fix spec file, Release was busted.
a12912
a12912
* Wed Sep 09 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.4.99.1-1
a12912
- mouse 1.4.99.1
a12912
a12912
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.99-3.20090619.1
a12912
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a12912
a12912
* Wed Jul 15 2009 Adam Jackson <ajax@redhat.com> - 1.4.99-2.20090619.1
a12912
- ABI bump
a12912
a12912
* Fri Jun 19 2009 Peter Hutterer <peter.hutterer@redhat.com> - 1.4.99-2.20090619
a12912
- rebuild for server ABI 7
a12912
a12912
* Fri Jun 19 2009 Peter Hutterer <peter.hutterer@redhat.com> - 1.4.99-1.20090619
a12912
- Update to today's git master.
a12912
a12912
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
a12912
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a12912
a12912
* Mon Jan 12 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.4.0-1
a12912
- mouse 1.4.0
a12912
a12912
* Mon Dec 22 2008 Peter Hutterer <peter.hutterer@redhat.com> 1.3.0-1.20081222
a12912
- Today's git snapshot.
a12912
a12912
* Thu Mar 20 2008 Adam Jackson <ajax@redhat.com> 1.3.0-1
a12912
- mouse 1.3.0
a12912
a12912
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.3-4
a12912
- Autorebuild for GCC 4.3
a12912
a12912
* Tue Nov 13 2007 Adam Jackson <ajax@redhat.com> 1.2.3-3
a12912
- Require xserver 1.4.99.1
a12912
a12912
* Fri Nov 09 2007 Adam Jackson <ajax@redhat.com> 1.2.3-2
a12912
- mouse-1.2.3-sleep-less.patch: Don't usleep(300000) at exit.
a12912
a12912
* Wed Oct 17 2007 Adam Jackson <ajax@redhat.com> 1.2.3-1
a12912
- xf86-input-mouse 1.2.3
a12912
a12912
* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.2.2-1
a12912
- xf86-input-mouse 1.2.2
a12912
a12912
* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.2.1-4
a12912
- Rebuild for PPC toolchain bug
a12912
a12912
* Mon Jun 18 2007 Adam Jackson <ajax@redhat.com> 1.2.1-3
a12912
- Update Requires and BuildRequires.  Disown the module directories.
a12912
a12912
* Fri Feb 16 2007 Adam Jackson <ajax@redhat.com> 1.2.1-2
a12912
- ExclusiveArch -> ExcludeArch
a12912
a12912
* Fri Dec 1 2006 Adam Jackson <ajax@redhat.com> 1.2.1-1
a12912
- Update to 1.2.1
a12912
a12912
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
a12912
- rebuild
a12912
a12912
* Thu Jun 15 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1
a12912
- Update to 1.1.1
a12912
a12912
* Tue Jun 13 2006 Adam Jackson <ajackson@redhat.com> 1.1.0-3
a12912
- Build on ppc64
a12912
a12912
* Wed May 17 2006 Kristian Høgsberg <krh@redhat.com> - 1.1.0-2
a12912
- Add missing build requires (#192047).
a12912
a12912
* Sun Apr  9 2006 Adam Jackson <ajackson@redhat.com> 1.1.0-1
a12912
- Update to 1.1.0 from 7.1RC1.
a12912
a12912
* Wed Mar 01 2006 Mike A. Harris <mharris@redhat.com> 1.0.4-1
a12912
- Updated to new upstream driver version mouse-1.0.4.
a12912
a12912
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.3.1-1.2
a12912
- bump again for double-long bug on ppc(64)
a12912
a12912
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.3.1-1.1
a12912
- rebuilt for new gcc4.1 snapshot and glibc changes
a12912
a12912
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.3.1-1
a12912
- Updated xorg-x11-drv-mouse to version 1.0.3.1 from X11R7.0
a12912
- Rename temporary name of mouse manpage, to close (#178744)
a12912
a12912
* Tue Dec 20 2005 Mike A. Harris <mharris@redhat.com> 1.0.3-1
a12912
- Updated xorg-x11-drv-mouse to version 1.0.3 from X11R7 RC4
a12912
- Removed 'x' suffix from manpage dirs to match RC4 upstream.
a12912
- Worked around mouse manpage issue.
a12912
a12912
* Mon Nov 21 2005 Mike A. Harris <mharris@redhat.com> 1.0.1-2
a12912
- Added "alpha sparc sparc64" to ExclusiveArch for AlphaCore, CentOS,
a12912
  AuroraLinux distributions, to minimize patching for them.
a12912
- Added ">= 0.99.3" dependency on Xorg server and sdk, based on CVS log
a12912
  message from Daniel Stone on Nov 21, 2005.
a12912
a12912
* Wed Nov 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.1-1
a12912
- Updated xorg-x11-drv-mouse to version 1.0.1 from X11R7 RC2
a12912
a12912
* Fri Nov 04 2005 Mike A. Harris <mharris@redhat.com> 1.0.0.1-1
a12912
- Updated xorg-x11-drv-mouse to version 1.0.0.1 from X11R7 RC1
a12912
- Fix *.la file removal.
a12912
a12912
* Fri Sep 02 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-0
a12912
- Initial spec file for mouse input driver generated automatically
a12912
  by my xorg-driverspecgen script.