294d54
%global tarball libXfixes
294d54
#global gitdate 20130524
294d54
%global gitversion c480fe327
294d54
294d54
Summary: X Fixes library
294d54
Name: libXfixes
294d54
Version: 5.0.3
294d54
Release: 7%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
294d54
License: MIT
294d54
Group: System Environment/Libraries
294d54
URL: http://www.x.org
294d54
294d54
%if 0%{?gitdate}
294d54
Source0:    %{tarball}-%{gitdate}.tar.bz2
294d54
Source1:    make-git-snapshot.sh
294d54
Source2:    commitid
294d54
%else
294d54
Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
294d54
%endif
294d54
294d54
Requires: libX11 >= 1.6
294d54
294d54
BuildRequires: xorg-x11-util-macros
294d54
BuildRequires: autoconf automake libtool
294d54
BuildRequires: pkgconfig(fixesproto) pkgconfig(xext)
294d54
BuildRequires: libX11-devel >= 1.5.99.902
294d54
294d54
%description
294d54
X Fixes library.
294d54
294d54
%package devel
294d54
Summary: Development files for %{name}
294d54
Group: Development/Libraries
294d54
Requires: %{name} = %{version}-%{release}
294d54
Requires: pkgconfig
294d54
294d54
%description devel
294d54
libXfixes development package
294d54
294d54
%prep
294d54
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
294d54
294d54
%build
294d54
autoreconf -v --install --force
294d54
%configure --disable-static
294d54
make V=1 %{?_smp_mflags}
294d54
294d54
%install
294d54
rm -rf $RPM_BUILD_ROOT
294d54
294d54
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
294d54
294d54
# We intentionally don't ship *.la files
294d54
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
294d54
294d54
%ldconfig_post
294d54
%ldconfig_postun
294d54
294d54
%files
294d54
%doc AUTHORS COPYING README
294d54
%{_libdir}/libXfixes.so.3
294d54
%{_libdir}/libXfixes.so.3.1.0
294d54
294d54
%files devel
294d54
%{_includedir}/X11/extensions/Xfixes.h
294d54
%{_libdir}/libXfixes.so
294d54
%{_libdir}/pkgconfig/xfixes.pc
294d54
%{_mandir}/man3/Xfixes.3*
294d54
294d54
%changelog
294d54
* Thu Jul 05 2018 Adam Jackson <ajax@redhat.com> - 5.0.3-7
294d54
- Drop useless %%defattr
294d54
294d54
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 5.0.3-6
294d54
- Use ldconfig scriptlet macros
294d54
294d54
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-5
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
294d54
294d54
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-4
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
294d54
294d54
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-3
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
294d54
294d54
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-2
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
294d54
294d54
* Wed Oct 05 2016 Benjamin Tissoires <benjamin.tissoires@redhat.com> 5.0.3-1
294d54
- LibXfixes 5.0.3
294d54
- fixes CVE-2016-7944
294d54
294d54
* Fri May 27 2016 Benjamin Tissoires <benjamin.tissoires@redhat.com> 5.0.2-2
294d54
- require libX11 1.6
294d54
294d54
* Fri May 27 2016 Benjamin Tissoires <benjamin.tissoires@redhat.com> 5.0.2-1
294d54
- libXfixes 5.0.2
294d54
294d54
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-6
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
294d54
294d54
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.1-5
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
294d54
294d54
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.1-4
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
294d54
294d54
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.1-3
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
294d54
294d54
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0.1-2
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
294d54
294d54
* Fri May 31 2013 Peter Hutterer <peter.hutterer@redhat.com> 5.0.1-1
294d54
- libXfixes 5.0.1
294d54
294d54
* Mon May 27 2013 Peter Hutterer <peter.hutterer@redhat.com> - 5.0-7.20130524gitc480fe327
294d54
- Require libX11 1.6RC2 for _XEatDataWords
294d54
294d54
* Fri May 24 2013 Peter Hutterer <peter.hutterer@redhat.com> 5.0-6.20130524gitc480fe327
294d54
- Update to latest git to fix the following CVEs:
294d54
- CVE-2013-1983
294d54
294d54
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 5.0-5
294d54
- autoreconf for aarch64
294d54
294d54
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-4
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
294d54
294d54
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-3
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
294d54
294d54
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.0-2
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
294d54
294d54
* Wed Mar 16 2011 Adam Jackson <ajax@redhat.com> 5.0-1
294d54
- libXfixes 5.0
294d54
294d54
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.5-2
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
294d54
294d54
* Thu Jun 10 2010 Peter Hutterer <peter.hutterer@redhat.com> 4.0.5-1
294d54
- libXfixes 4.0.5
294d54
294d54
* Wed Oct 21 2009 Parag <paragn@fedoraproject.org> - 4.0.4-2
294d54
- Merge-Review #226071
294d54
- make is not verbose
294d54
294d54
* Tue Oct 13 2009 Adam Jackson <ajax@redhat.com> 4.0.4-1
294d54
- libXfixes 4.0.4
294d54
294d54
* Thu Oct 08 2009 Parag <paragn@fedoraproject.org> - 4.0.3-9
294d54
- Merge-Review #226071
294d54
- Removed XFree86-libs, xorg-x11-libs, XFree86-devel, xorg-x11-devel as Obsoletes
294d54
- Removed BR:pkgconfig
294d54
- spec cleanups
294d54
294d54
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.3-8
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
294d54
294d54
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 4.0.3-7
294d54
- Un-require xorg-x11-filesystem
294d54
294d54
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 4.0.3-6
294d54
- Remove useless %%dir
294d54
294d54
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.3-5
294d54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
294d54
294d54
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 4.0.3-4
294d54
- Fix license tag.
294d54
294d54
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.0.3-3
294d54
- Autorebuild for GCC 4.3
294d54
294d54
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 4.0.3-2
294d54
- Rebuild for build id
294d54
294d54
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 4.0.3-2
294d54
- Don't install INSTALL
294d54
294d54
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 4.0.3-1
294d54
- Update to 4.0.3
294d54
294d54
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 4.0.1-2.1
294d54
- rebuild
294d54
294d54
* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 4.0.1-2
294d54
- Added "BuildRequires: xorg-x11-proto-devel >= 7.0-7" for "fixesproto >= 4.0"
294d54
- Added "Requires: xorg-x11-proto-devel >= 7.0-7" for "fixesproto >= 4.0"
294d54
  to devel package, needed by xfixes.pc
294d54
- Replace "makeinstall" with "make install DESTDIR=..."
294d54
- Remove package ownership of mandir/libdir/etc.
294d54
294d54
* Fri May 12 2006 Adam Jackson <ajackson@redhat.com> 4.0.1-1
294d54
- Bump to 4.0.1.
294d54
294d54
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.0.1.2-2.2
294d54
- bump again for double-long bug on ppc(64)
294d54
294d54
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.0.1.2-2.1
294d54
- rebuilt for new gcc4.1 snapshot and glibc changes
294d54
294d54
* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 3.0.1.2-2
294d54
- Bumped and rebuilt
294d54
294d54
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 3.0.1.2-1
294d54
- Updated libXfixes to version 3.0.1.2 from X11R7 RC4
294d54
294d54
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 3.0.1.1-1
294d54
- Updated libXfixes to version 3.0.1.1 from X11R7 RC3
294d54
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
294d54
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
294d54
- Removed 'x' suffix from manpage directories to match RC3 upstream.
294d54
294d54
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
294d54
- rebuilt
294d54
294d54
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 3.0.1-1
294d54
- Updated libXfixes to version 3.0.1 from X11R7 RC2
294d54
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
294d54
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
294d54
294d54
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 3.0.0-4
294d54
- Updated libXfixes to version 3.0.0 from X11R7 RC1
294d54
294d54
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 3.0.0-3
294d54
- Renamed package to remove xorg-x11 from the name due to unanimous decision
294d54
  between developers.
294d54
- Use Fedora Extras style BuildRoot tag.
294d54
- Disable static library creation by default.
294d54
- Add missing defattr to devel subpackage
294d54
- Add missing documentation files to doc macro
294d54
294d54
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 3.0.0-2
294d54
- Renamed package to prepend "xorg-x11" to the name for consistency with
294d54
  the rest of the X11R7 packages.
294d54
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
294d54
  subpackage to ensure the devel package matches the installed shared libs.
294d54
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
294d54
  allow applications to use implementation agnostic dependencies.
294d54
- Added post/postun scripts which call ldconfig.
294d54
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
294d54
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
294d54
294d54
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 3.0.0-1
294d54
- Initial build.