7f9cd8
%global tarball libXvMC
7f9cd8
#global gitdate 20130524
7f9cd8
%global gitversion e9415ddef
7f9cd8
7f9cd8
Summary: X.Org X11 libXvMC runtime library
7f9cd8
Name: libXvMC
7f9cd8
Version: 1.0.10
7f9cd8
Release: 1%{?gitdate:.%{gitdate}git%{gitversion}}%{?dist}
7f9cd8
License: MIT
7f9cd8
Group: System Environment/Libraries
7f9cd8
URL: http://www.x.org
7f9cd8
7f9cd8
%if 0%{?gitdate}
7f9cd8
Source0:    %{tarball}-%{gitdate}.tar.bz2
7f9cd8
Source1:    make-git-snapshot.sh
7f9cd8
Source2:    commitid
7f9cd8
%else
7f9cd8
Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
7f9cd8
%endif
7f9cd8
7f9cd8
Requires: libX11 >= 1.5.99.902
7f9cd8
7f9cd8
BuildRequires: xorg-x11-util-macros
7f9cd8
BuildRequires: autoconf automake libtool
7f9cd8
BuildRequires: pkgconfig(videoproto) pkgconfig(xv)
7f9cd8
BuildRequires: libX11-devel >= 1.5.99.902
7f9cd8
7f9cd8
%description
7f9cd8
X.Org X11 libXvMC runtime library
7f9cd8
7f9cd8
%package devel
7f9cd8
Summary: X.Org X11 libXvMC development package
7f9cd8
Group: Development/Libraries
7f9cd8
Requires: %{name} = %{version}-%{release}
7f9cd8
7f9cd8
%description devel
7f9cd8
X.Org X11 libXvMC development package
7f9cd8
7f9cd8
%prep
7f9cd8
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
7f9cd8
7f9cd8
%build
7f9cd8
autoreconf -v --install --force
7f9cd8
%configure --disable-static
7f9cd8
make %{?_smp_mflags}
7f9cd8
7f9cd8
%install
7f9cd8
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
7f9cd8
7f9cd8
# do this ourself in %%doc so we get %%version
7f9cd8
rm $RPM_BUILD_ROOT%{_docdir}/*/*.txt
7f9cd8
7f9cd8
# Touch XvMCConfig for rpm to package the ghost file. (#192254)
7f9cd8
{
7f9cd8
    mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11
7f9cd8
    touch $RPM_BUILD_ROOT%{_sysconfdir}/X11/XvMCConfig
7f9cd8
}
7f9cd8
7f9cd8
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
7f9cd8
7f9cd8
%post -p /sbin/ldconfig
7f9cd8
%postun -p /sbin/ldconfig
7f9cd8
7f9cd8
%files
7f9cd8
%defattr(-,root,root,-)
7f9cd8
%doc COPYING README 
7f9cd8
%{_libdir}/libXvMC.so.1
7f9cd8
%{_libdir}/libXvMC.so.1.0.0
7f9cd8
%{_libdir}/libXvMCW.so.1
7f9cd8
%{_libdir}/libXvMCW.so.1.0.0
7f9cd8
%ghost %config(missingok,noreplace) %verify (not md5 size mtime) %{_sysconfdir}/X11/XvMCConfig
7f9cd8
7f9cd8
%files devel
7f9cd8
%defattr(-,root,root,-)
7f9cd8
%doc XvMC_API.txt
7f9cd8
%{_includedir}/X11/extensions/XvMClib.h
7f9cd8
%{_libdir}/libXvMC.so
7f9cd8
%{_libdir}/libXvMCW.so
7f9cd8
%{_libdir}/pkgconfig/xvmc.pc
7f9cd8
7f9cd8
%changelog
7f9cd8
* Wed Oct 05 2016 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.0.10-1
7f9cd8
- libXvMC 1.0.10
7f9cd8
- fixes CVE-2016-7953
7f9cd8
7f9cd8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-3
7f9cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7f9cd8
7f9cd8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-2
7f9cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7f9cd8
7f9cd8
* Sat Mar 14 2015 Benjamin Tissoires <benjamin.tissoires@redhat.com> 1.0.9-1
7f9cd8
- libXvMC 1.0.9
7f9cd8
7f9cd8
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-4
7f9cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
7f9cd8
7f9cd8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.8-3
7f9cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7f9cd8
7f9cd8
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.8-2
7f9cd8
- Mass rebuild 2013-12-27
7f9cd8
7f9cd8
* Mon Jul 08 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.0.8-1
7f9cd8
- libXvMC 1.0.8
7f9cd8
7f9cd8
* Mon May 27 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.0.7-7.20130524gite9415ddef
7f9cd8
- Require libX11 1.6RC2 for _XEatDataWords
7f9cd8
7f9cd8
* Fri May 24 2013 Dave Airlie 
7f9cd8
- Update to latest XvMC to fix fixes for CVEs
7f9cd8
7f9cd8
* Fri May 24 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.0.7-5.20130524gite9415ddef
7f9cd8
- Update to latest git to fix the following CVEs
7f9cd8
- CVE-2013-1999
7f9cd8
7f9cd8
* Thu Mar 07 2013 Peter Hutterer <peter.hutterer@redhat.com> - 1.0.7-4
7f9cd8
- autoreconf for aarch64
7f9cd8
7f9cd8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-3
7f9cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7f9cd8
7f9cd8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
7f9cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7f9cd8
7f9cd8
* Thu Mar 08 2012 Adam Jackson <ajax@redhat.com> 1.0.7-1
7f9cd8
- libXvMC 1.0.7
7f9cd8
7f9cd8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-4
7f9cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7f9cd8
7f9cd8
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-3
7f9cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7f9cd8
7f9cd8
* Mon Oct 18 2010 Parag Nemade <paragn AT fedoraproject.org> 1.0.6-2
7f9cd8
- Merge-review cleanup (#226092)
7f9cd8
7f9cd8
* Mon Aug 16 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.0.6-1
7f9cd8
- libXvMC 1.0.6
7f9cd8
- remove AUTHORS, not in tarball anymore
7f9cd8
7f9cd8
* Wed Oct 07 2009 Adam Jackson <ajax@redhat.com> 1.0.5-1
7f9cd8
- libXvMC 1.0.5
7f9cd8
7f9cd8
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-8
7f9cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7f9cd8
7f9cd8
* Thu Jul 23 2009 Adam Jackson <ajax@redhat.com> 1.0.4-7
7f9cd8
- Un-require xorg-x11-filesystem
7f9cd8
- Remove useless %%dir
7f9cd8
7f9cd8
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-6
7f9cd8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7f9cd8
7f9cd8
* Tue Jul 15 2008 Adam Jackson <ajax@redhat.com> 1.0.4-5
7f9cd8
- Fix license tag.
7f9cd8
7f9cd8
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.4-4
7f9cd8
- Autorebuild for GCC 4.3
7f9cd8
7f9cd8
* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-3
7f9cd8
- Rebuild for build id
7f9cd8
7f9cd8
* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
7f9cd8
- Don't install INSTALL
7f9cd8
7f9cd8
* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
7f9cd8
- Update to 1.0.4
7f9cd8
7f9cd8
* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.3-1
7f9cd8
- Update to 1.0.3
7f9cd8
7f9cd8
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-2.1
7f9cd8
- rebuild
7f9cd8
7f9cd8
* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
7f9cd8
- Added "BuildRequires: pkgconfig" for (#193506)
7f9cd8
- Replace "makeinstall" with "make install DESTDIR=..."
7f9cd8
- Touch XvMCConfig during install phase, and add to file manifest as a ghost
7f9cd8
  file, so that it is owned by the package if the user creates it. (#192254)
7f9cd8
7f9cd8
* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
7f9cd8
- Update to 1.0.2.  Drop #180902 patch, already fixed upstream.
7f9cd8
7f9cd8
* Tue Feb 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
7f9cd8
- Added libXvMC-1.0.1-libXvMC-XConfigDir-fix-bug180902.patch to fix (#180902)
7f9cd8
7f9cd8
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-2.2
7f9cd8
- bump again for double-long bug on ppc(64)
7f9cd8
7f9cd8
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-2.1
7f9cd8
- rebuilt for new gcc4.1 snapshot and glibc changes
7f9cd8
7f9cd8
* Tue Jan 31 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
7f9cd8
- Added "Requires: libXv-devel, xorg-x11-proto-devel" to fix (#176862)
7f9cd8
7f9cd8
* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
7f9cd8
- Updated libXvMC to version 1.0.1 from X11R7.0
7f9cd8
7f9cd8
* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
7f9cd8
- Updated libXvMC to version 1.0.0 from X11R7 RC4
7f9cd8
7f9cd8
* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
7f9cd8
- Updated libXvMC to version 0.99.2 from X11R7 RC3
7f9cd8
- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
7f9cd8
  that /usr/lib/X11 and /usr/include/X11 pre-exist.
7f9cd8
- Removed 'x' suffix from manpage directories to match RC3 upstream.
7f9cd8
7f9cd8
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
7f9cd8
- rebuilt
7f9cd8
7f9cd8
* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
7f9cd8
- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
7f9cd8
- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
7f9cd8
7f9cd8
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
7f9cd8
- Updated libXvMC to version 0.99.1 from X11R7 RC1
7f9cd8
7f9cd8
* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
7f9cd8
- Renamed package to remove xorg-x11 from the name due to unanimous decision
7f9cd8
  between developers.
7f9cd8
- Use Fedora Extras style BuildRoot tag.
7f9cd8
- Disable static library creation by default.
7f9cd8
- Add missing defattr to devel subpackage
7f9cd8
- Add missing documentation files to doc macro
7f9cd8
7f9cd8
* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
7f9cd8
- Renamed package to prepend "xorg-x11" to the name for consistency with
7f9cd8
  the rest of the X11R7 packages.
7f9cd8
- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
7f9cd8
  subpackage to ensure the devel package matches the installed shared libs.
7f9cd8
- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
7f9cd8
  allow applications to use implementation agnostic dependencies.
7f9cd8
- Added post/postun scripts which call ldconfig.
7f9cd8
- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
7f9cd8
  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
7f9cd8
7f9cd8
* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
7f9cd8
- Initial build.