Blame SPECS/libXi.spec

e63a2d
%global tarball libXi
e63a2d
#global gitdate 20130524
e63a2d
%global gitversion 661c45ca1
e63a2d
e63a2d
Summary: X.Org X11 libXi runtime library
e63a2d
Name: libXi
575884
Version: 1.7.10
575884
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
e63a2d
License: MIT
e63a2d
Group: System Environment/Libraries
e63a2d
URL: http://www.x.org
e63a2d
e63a2d
%if 0%{?gitdate}
e63a2d
Source0:    %{tarball}-%{gitdate}.tar.bz2
e63a2d
Source1:    make-git-snapshot.sh
e63a2d
%else
575884
Source0: https://www.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
e63a2d
%endif
e63a2d
e63a2d
BuildRequires: autoconf automake libtool
e63a2d
BuildRequires: xorg-x11-util-macros
e63a2d
BuildRequires: xorg-x11-proto-devel
e63a2d
BuildRequires: pkgconfig(inputproto) >= 2.2.99.1
e63a2d
BuildRequires: libX11-devel >= 1.5.99.902
e63a2d
BuildRequires: libXext-devel libXfixes-devel
e63a2d
BuildRequires: xmlto asciidoc >= 8.4.5
e63a2d
e63a2d
Requires: libX11 >= 1.5.99.902
e63a2d
e63a2d
%description
e63a2d
X.Org X11 libXi runtime library
e63a2d
e63a2d
%package devel
e63a2d
Summary: X.Org X11 libXi development package
e63a2d
Group: Development/Libraries
e63a2d
Requires: %{name} = %{version}-%{release}
e63a2d
# required by xi.pc
e63a2d
Requires: xorg-x11-proto-devel
e63a2d
Requires: pkgconfig
e63a2d
e63a2d
%description devel
e63a2d
X.Org X11 libXi development package
e63a2d
e63a2d
%prep
e63a2d
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
e63a2d
e63a2d
%build
e63a2d
autoreconf -v --install || exit 1
e63a2d
%configure --disable-specs \
e63a2d
	   --disable-static
e63a2d
e63a2d
make %{?_smp_mflags}
e63a2d
e63a2d
%install
e63a2d
rm -rf $RPM_BUILD_ROOT
e63a2d
e63a2d
make install DESTDIR=$RPM_BUILD_ROOT
e63a2d
e63a2d
# We intentionally don't ship *.la files
e63a2d
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
e63a2d
e63a2d
%ldconfig_post
e63a2d
%ldconfig_postun
e63a2d
e63a2d
%files
e63a2d
%doc COPYING
e63a2d
%{_libdir}/libXi.so.6
e63a2d
%{_libdir}/libXi.so.6.1.0
e63a2d
e63a2d
%files devel
e63a2d
%{_includedir}/X11/extensions/XInput.h
e63a2d
%{_includedir}/X11/extensions/XInput2.h
e63a2d
%{_libdir}/libXi.so
e63a2d
%{_libdir}/pkgconfig/xi.pc
e63a2d
%{_mandir}/man3/*.3*
e63a2d
e63a2d
%changelog
575884
* Thu Jun 04 2020 Benjamin Tissoires <benjamin.tissoires@redhat.com> - 1.7.10-1
575884
- libXi 1.7.10
575884
575884
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9-9
575884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
575884
575884
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9-8
575884
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
575884
e63a2d
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 1.7.9-7
e63a2d
- Use ldconfig scriptlet macros
e63a2d
e63a2d
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.7.9-6
e63a2d
- Escape macros in %%changelog
e63a2d
e63a2d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9-5
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e63a2d
e63a2d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9-4
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e63a2d
e63a2d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9-3
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e63a2d
e63a2d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.9-2
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e63a2d
e63a2d
* Mon Jan 23 2017 Peter Hutterer <peter.hutterer@redhat.com> 1.7.9-1
e63a2d
- libXi 1.7.9
e63a2d
e63a2d
* Tue Oct 25 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.7.8-2
e63a2d
- libXi 1.7.8
e63a2d
e63a2d
* Thu Oct 13 2016 Peter Hutterer <peter.hutterer@redhat.com> 1.7.7-2
e63a2d
- Fix crash when calling XListInputDevices on devices without classes
e63a2d
e63a2d
* Wed Oct 05 2016 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.7.7-1
e63a2d
- libXi 1.7.7
e63a2d
- fixes CVE-2016-7945, CVE-2016-7946
e63a2d
e63a2d
* Fri Mar 25 2016 Benjamin Tissoires <benjamin.tissoires@redhat.com>
e63a2d
- Fix release string: %%{dist} -> %%{?dist}
e63a2d
e63a2d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.6-2
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e63a2d
e63a2d
* Thu Jan 28 2016 Peter Hutterer <peter.hutterer@redhat.com>
e63a2d
- Remove unnecessary defattr
e63a2d
e63a2d
* Tue Jan 05 2016 Peter Hutterer <peter.hutterer@redhat.com>
e63a2d
- Drop the optional disable-static, it's been disabled for years now.
e63a2d
e63a2d
* Tue Dec 22 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.7.6-1
e63a2d
- libXi 1.7.6
e63a2d
- drop unused mandir creation
e63a2d
e63a2d
* Thu Sep 10 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.7.5-1
e63a2d
- libXi 1.7.5
e63a2d
e63a2d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-3
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e63a2d
e63a2d
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-2
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e63a2d
e63a2d
* Fri Jul 18 2014 Peter Hutterer <peter.hutterer@redhat.com> 1.7.4-1
e63a2d
- libXi 1.7.4
e63a2d
e63a2d
* Thu Jul 10 2014 Peter Hutterer <peter.hutterer@redhat.com> 1.7.3-1
e63a2d
- libXi 1.7.3
e63a2d
e63a2d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-3
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e63a2d
e63a2d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.2-2
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e63a2d
e63a2d
* Wed Jul 03 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.7.2-1
e63a2d
- libXi 1.7.2
e63a2d
e63a2d
* Thu Jun 27 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.7.1.901-1
e63a2d
- libXi 1.7.1.901
e63a2d
e63a2d
* Mon May 27 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.7.1-5.20130524git661c45ca1
e63a2d
- Require libX11 1.6RC2 for _XEatDataWords
e63a2d
e63a2d
* Fri May 24 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.7.1-4.20130524git661c45ca1
e63a2d
- Udpate to git snapshot to fix CVEs listed below
e63a2d
- CVE-2013-1984
e63a2d
- CVE-2013-1995
e63a2d
- CVE-2013-1998
e63a2d
e63a2d
* Tue May 21 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.7.1-3
e63a2d
- fix sequence number copy - the cookie already had (a potentially
e63a2d
  different) sequence number copied (#965347)
e63a2d
e63a2d
* Fri May 17 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.7.1-2
e63a2d
- copy the sequence number into XI2 events
e63a2d
e63a2d
* Fri Apr 05 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.7.1-1
e63a2d
- libXi 1.7.1
e63a2d
e63a2d
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.7-1
e63a2d
- libXi 1.7
e63a2d
e63a2d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.99.1-2
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e63a2d
e63a2d
* Tue Jan 08 2013 Adam Jackson <ajax@redhat.com> 1.6.99.1-1
e63a2d
- libXi 1.6.99.1
e63a2d
e63a2d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e63a2d
e63a2d
* Thu May 03 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.6.1-1
e63a2d
- libXi 1.6.1
e63a2d
e63a2d
* Thu Mar 08 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.6.0-1
e63a2d
- libXi 1.6
e63a2d
e63a2d
* Wed Feb 15 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.5.99.3-1
e63a2d
- libXi 1.5.99.3
e63a2d
e63a2d
* Mon Feb 06 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.5.99.2-4
e63a2d
- Add requires for libX11 to avoid mismatches when updating
e63a2d
e63a2d
* Fri Jan 27 2012 Peter Hutterer <peter.hutterer@redhat.com> 1.5.99.2-3
e63a2d
- Bump libX11-devel requirement up to what configure actually wants
e63a2d
e63a2d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.99.2-2.20111222gitae0187c87
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e63a2d
e63a2d
* Thu Dec 22 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.5.99.2-1.20111222.gitae0187c87
e63a2d
- 1.5.99.2 from git
e63a2d
e63a2d
* Wed Dec 21 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.5.0-1
e63a2d
- libXi 1.5.0
e63a2d
e63a2d
* Wed Nov 09 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.4.99.1-1
e63a2d
- Update to 1.4.99.1 (with XI 2.1 support)
e63a2d
e63a2d
* Tue Oct 11 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.4.3-3
e63a2d
- Fix 0001-Handle-unknown-device-classes.patch: missing prototype change for
e63a2d
  copy_classes in XIQueryDevice caused parameter corruption (#744960)
e63a2d
e63a2d
* Wed Aug 17 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.4.3-2
e63a2d
- 0001-Handle-unknown-device-classes.patch: don't corrupt memory when a
e63a2d
  server sends unknown device classes.
e63a2d
e63a2d
* Tue Jun 07 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.4.3-1
e63a2d
- libXi 1.4.3
e63a2d
e63a2d
* Mon Mar 21 2011 Adam Jackson <ajax@redhat.com> 1.4.2-1
e63a2d
- libXi 1.4.2
e63a2d
e63a2d
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e63a2d
e63a2d
* Wed Jan 26 2011 Peter Hutterer <peter.hutterer@redhat.com> 1.4.1-1
e63a2d
- libXi 1.4.1
e63a2d
e63a2d
* Wed Nov 03 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.4.0-1
e63a2d
- libXi 1.4
e63a2d
- disable spec building, don't think they're of much of much use to our
e63a2d
  users.
e63a2d
e63a2d
* Wed Aug 04 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.3.2-1
e63a2d
- libXi 1.3.2
e63a2d
  libXi 1.3.1 had a bug in the configure script.
e63a2d
e63a2d
* Mon Aug 02 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.3.1-1
e63a2d
- libXi 1.3.1
e63a2d
e63a2d
* Tue Feb 02 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.3-2
e63a2d
- Remove unnecessary libXau-devel BuildRequires.
e63a2d
e63a2d
* Tue Oct 06 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.3-1
e63a2d
- libXi 1.3
e63a2d
e63a2d
* Tue Aug 25 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.2.99-11.20090825
e63a2d
- Update to today's git master, requires inputproto 1.9.99.902
e63a2d
e63a2d
* Wed Aug 05 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.2.99-10.20090805
e63a2d
- Update to today's git master
e63a2d
- Re-enable parallel builds, the man page makefile is fixed now.
e63a2d
e63a2d
* Tue Aug 04 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.2.99-9.20090804
e63a2d
- Update to today's git master
e63a2d
e63a2d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.99-8.20090723
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e63a2d
e63a2d
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 1.2.99-7.20090723
e63a2d
- Un-require xorg-x11-filesystem
e63a2d
e63a2d
* Thu Jul 23 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.2.99-6.20090723
e63a2d
- Update to today's git master
e63a2d
e63a2d
* Thu Jul 16 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.2.99-5.20090716
e63a2d
- Update to today's git master
e63a2d
e63a2d
* Mon Jul 13 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.2.99-4.20090713
e63a2d
- Update to today's git master
e63a2d
- Add commitid file.
e63a2d
e63a2d
* Sun Jul 12 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.2.99-3.20090712
e63a2d
- Update to today's git master
e63a2d
e63a2d
* Fri Jun 19 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.2.99-2.20090619
e63a2d
- Add missing make-git-snapshot.sh
e63a2d
e63a2d
* Fri Jun 19 2009 Peter Hutterer <peter.hutterer@redhat.com> 1.2.99-1.20090619
e63a2d
- Update to today's git master
e63a2d
e63a2d
* Thu Feb 26 2009 Peter Hutterer <peter.hutterer@redhat.com> - 1.2.1-1
e63a2d
- libXi 1.2.1 
e63a2d
e63a2d
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
e63a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e63a2d
e63a2d
* Wed Dec 03 2008 Adam Jackson <ajax@redhat.com> 1.2.0-1
e63a2d
- libXi 1.2.0
e63a2d
e63a2d
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.3-4
e63a2d
- Autorebuild for GCC 4.3
e63a2d
e63a2d
* Tue Jan 15 2008 Brian Pepple <bpepple@fedoraproject.org> - 1.1.3-3
e63a2d
- Fix pkconfig type on -devel.
e63a2d
e63a2d
* Fri Jan 11 2008 parag <paragn@fedoraproject.org> 1.1.3-2
e63a2d
- Merge-review #226076
e63a2d
- Removed BR:pkgconfig
e63a2d
- Removed XFree86-libs, xorg-x11-libs XFree86-devel, xorg-x11-devel as Obsoletes
e63a2d
- Removed zero-length AUTHORS README file
e63a2d
e63a2d
* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.1.3-1
e63a2d
- libXi 1.1.3
e63a2d
e63a2d
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.1.1-2
e63a2d
- Rebuild for build id
e63a2d
e63a2d
* Wed Jul 11 2007 Adam Jackson <ajax@redhat.com> 1.1.1-1
e63a2d
- libXi 1.1.1
e63a2d
e63a2d
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
e63a2d
- Don't install INSTALL
e63a2d
e63a2d
* Wed Apr 11 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
e63a2d
- libXi 1.0.4
e63a2d
e63a2d
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1
e63a2d
- Update to 1.0.2
e63a2d
e63a2d
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-3.1
e63a2d
- rebuild
e63a2d
e63a2d
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
e63a2d
- Added "Requires: xorg-x11-proto-devel" to devel package for xi.pc
e63a2d
- Remove package ownership of mandir/libdir/etc.
e63a2d
e63a2d
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
e63a2d
- Replace "makeinstall" with "make install DESTDIR=..." for (#192721)
e63a2d
- Remove package ownership of mandir/libdir/etc.
e63a2d
e63a2d
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
e63a2d
- Update to 1.0.1
e63a2d
e63a2d
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.2
e63a2d
- bump again for double-long bug on ppc(64)
e63a2d
e63a2d
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.1
e63a2d
- rebuilt for new gcc4.1 snapshot and glibc changes
e63a2d
e63a2d
* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
e63a2d
- Bumped and rebuilt
e63a2d
e63a2d
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
e63a2d
- Updated libXi to version 1.0.0 from X11R7 RC4
e63a2d
e63a2d
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
e63a2d
- Updated libXi to version 0.99.2 from X11R7 RC3
e63a2d
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
e63a2d
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
e63a2d
- Removed 'x' suffix from manpage directories to match RC3 upstream.
e63a2d
e63a2d
* Tue Nov 15 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
e63a2d
- Added "BuildRequires: libXau-devel", as build fails without it, but does
e63a2d
  not check for it with ./configure.  Bug (fdo#5065)
e63a2d
e63a2d
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
e63a2d
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
e63a2d
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
e63a2d
e63a2d
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
e63a2d
- Updated libXi to version 0.99.1 from X11R7 RC1
e63a2d
- Updated file manifest to find manpages in "man3x"
e63a2d
e63a2d
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
e63a2d
- Renamed package to remove xorg-x11 from the name due to unanimous decision
e63a2d
  between developers.
e63a2d
- Use Fedora Extras style BuildRoot tag.
e63a2d
- Disable static library creation by default.
e63a2d
- Add missing defattr to devel subpackage
e63a2d
- Add missing documentation files to doc macro
e63a2d
e63a2d
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
e63a2d
- Renamed package to prepend "xorg-x11" to the name for consistency with
e63a2d
  the rest of the X11R7 packages.
e63a2d
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
e63a2d
  subpackage to ensure the devel package matches the installed shared libs.
e63a2d
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
e63a2d
  allow applications to use implementation agnostic dependencies.
e63a2d
- Added post/postun scripts which call ldconfig.
e63a2d
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
e63a2d
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
e63a2d
e63a2d
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
e63a2d
- Initial build.