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