Blame SPECS/libvdpau.spec

5141cf
Name:           libvdpau
5141cf
Version:        1.1.1
5141cf
Release:        3%{?dist}
5141cf
Summary:        Wrapper library for the Video Decode and Presentation API
5141cf
License:        MIT
5141cf
URL:            http://freedesktop.org/wiki/Software/VDPAU
5141cf
Source0:        http://cgit.freedesktop.org/vdpau/libvdpau/snapshot/%{name}-%{version}.tar.bz2
5141cf
Patch0:         0001-mesa_dri2-Add-missing-include-of-config.h-to-define-.patch
5141cf
Patch1:         0002-util.h-Make-getenv_wrapper-static-inline.patch
5141cf
Patch2:         0003-Fix-doc-error-on-displayable-surface-types.patch
5141cf
5141cf
BuildRequires:  autoconf
5141cf
BuildRequires:  automake
5141cf
BuildRequires:  doxygen
5141cf
BuildRequires:  graphviz
5141cf
BuildRequires:  libtool
5141cf
BuildRequires:  libX11-devel
5141cf
BuildRequires:  libXext-devel
5141cf
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
5141cf
BuildRequires:  tex(latex)
5141cf
%else
5141cf
BuildRequires:  tetex-latex
5141cf
%endif
5141cf
BuildRequires:  xorg-x11-proto-devel
5141cf
5141cf
%description
5141cf
VDPAU is the Video Decode and Presentation API for UNIX. It provides an
5141cf
interface to video decode acceleration and presentation hardware present in
5141cf
modern GPUs.
5141cf
5141cf
%package        docs
5141cf
Summary:        Documentation for %{name}
5141cf
BuildArch:      noarch
5141cf
Provides:       libvdpau-docs = %{version}-%{release}
5141cf
Obsoletes:      libvdpau-docs < 0.6-2
5141cf
5141cf
%description    docs
5141cf
The %{name}-docs package contains documentation for %{name}.
5141cf
5141cf
%package        devel
5141cf
Summary:        Development files for %{name}
5141cf
Requires:       %{name}%{?_isa} = %{version}-%{release}
5141cf
Requires:       libX11-devel
5141cf
Requires:       pkgconfig
5141cf
5141cf
%description    devel
5141cf
The %{name}-devel package contains libraries and header files for developing
5141cf
applications that use %{name}.
5141cf
5141cf
%prep
5141cf
%setup -q
5141cf
%patch0 -p1
5141cf
%patch1 -p1
5141cf
%patch2 -p1
5141cf
5141cf
%build
5141cf
autoreconf -vif
5141cf
%configure --disable-static
5141cf
make %{?_smp_mflags}
5141cf
5141cf
%install
5141cf
make install DESTDIR=%{buildroot} INSTALL="install -p"
5141cf
find %{buildroot} -name '*.la' -delete
5141cf
# Let %%doc macro create the correct location in the rpm file, creates a
5141cf
# versioned docdir in <= f19 and an unversioned docdir in >= f20.
5141cf
rm -fr %{buildroot}%{_docdir}
5141cf
mv doc/html-out html
5141cf
5141cf
%post -p /sbin/ldconfig
5141cf
5141cf
%postun -p /sbin/ldconfig
5141cf
5141cf
%files
5141cf
%doc AUTHORS COPYING
5141cf
%config(noreplace) %{_sysconfdir}/vdpau_wrapper.cfg
5141cf
%{_libdir}/*.so.*
5141cf
%dir %{_libdir}/vdpau
5141cf
%{_libdir}/vdpau/%{name}_trace.so*
5141cf
5141cf
%files docs
5141cf
%doc html
5141cf
5141cf
%files devel
5141cf
%{_includedir}/vdpau/
5141cf
%{_libdir}/%{name}.so
5141cf
%{_libdir}/pkgconfig/vdpau.pc
5141cf
5141cf
%changelog
5141cf
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
5141cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5141cf
5141cf
* Fri Oct 02 2015 Nicolas Chauvet <kwizart@gmail.com> - 1.1.1-2
5141cf
- Backport current patches
5141cf
- Switch to new upstream git repository on freedesktop.org
5141cf
5141cf
* Tue Sep 01 2015 Nicolas Chauvet <kwizart@gmail.com> - 1.1.1-1
5141cf
- Update to 1.1.1
5141cf
  Security fix for CVE-2015-5198, CVE-2015-5199, CVE-2015-5200
5141cf
5141cf
* Thu Aug 27 2015 Benjamin Tissoires <benjamin.tissoires@redhat.com>
5141cf
- Resolves rhbz #1253829 - fix 3 CVEs:
5141cf
 - CVE-2015-5198: libvdpau incorrect check for security transition
5141cf
 - CVE-2015-5199: libvdpau directory traversal in dlopen
5141cf
 - CVE-2015-5200: libvdpau vulnerability in trace functionality
5141cf
5141cf
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
5141cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5141cf
5141cf
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.1-2
5141cf
- Rebuilt for GCC 5 C++11 ABI change
5141cf
5141cf
* Tue Mar 17 2015 Nicolas Chauvet <kwizart@gmail.com> - 1.1-1
5141cf
- Update to 1.1
5141cf
5141cf
* Tue Mar 10 2015 Nicolas Chauvet <kwizart@gmail.com> - 1.0-1
5141cf
- Update to 1.0
5141cf
5141cf
* Fri Dec 19 2014 Nicolas Chauvet <kwizart@gmail.com> - 0.9-1
5141cf
- Update to 0.9
5141cf
5141cf
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
5141cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5141cf
5141cf
* Thu Jul 03 2014 Nicolas Chauvet <kwizart@gmail.com> - 0.8-1
5141cf
- Update to 0.8
5141cf
5141cf
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
5141cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5141cf
5141cf
* Sat Aug 03 2013 Simone Caronni <negativo17@gmail.com> - 0.7-1
5141cf
- Update to 0.7; adds prime support.
5141cf
5141cf
* Wed Jul 31 2013 Simone Caronni <negativo17@gmail.com> - 0.6-2
5141cf
- Enable documentation by default.
5141cf
- Clean up spec file a bit; remove el5 tags.
5141cf
- Let %%doc find the proper location for the documentation.
5141cf
5141cf
* Mon Feb 04 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.6-1
5141cf
- Update to 0.6
5141cf
5141cf
* Wed Sep 05 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.5-1
5141cf
- Update to 0.5
5141cf
5141cf
* Sun Aug 19 2012 Julian Sikorski <belegdol@fedoraproject.org> - 0.4.1-9
5141cf
- Added flash workarounds
5141cf
5141cf
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-8
5141cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5141cf
5141cf
* Wed Apr 25 2012 Nicolas Chauvet <kwizart@gmail.com> - 0.4.1-7
5141cf
- Fetch current backport
5141cf
5141cf
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
5141cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5141cf
5141cf
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
5141cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5141cf
5141cf
* Fri Dec 10 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.4.1-3
5141cf
- Rebuilt for gcc bug 634757
5141cf
5141cf
* Sun Sep 12 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.4.1-1
5141cf
- Update to 0.4.1
5141cf
5141cf
* Sat Mar 13 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.4-1
5141cf
- Update to 0.4
5141cf
5141cf
* Sun Nov 22 2009 kwizart < kwizart at gmail.com > - 0.3-1
5141cf
- Update to 0.3
5141cf
- Create docs sub-package
5141cf
- Allow --without docs conditional
5141cf
5141cf
* Thu Sep 17 2009 kwizart < kwizart at gmail.com > - 0.2-1
5141cf
- Update to 0.2
5141cf
- Disable ExclusiveArch
5141cf
5141cf
* Mon Sep  7 2009 kwizart < kwizart at gmail.com > - 0.1-0.6.20090904git
5141cf
- Update to gitdate 20090904git
5141cf
5141cf
* Wed Sep  2 2009 kwizart < kwizart at gmail.com > - 0.1-0.5git20090902
5141cf
- Update to gitdate 20090902 with merged patches
5141cf
5141cf
* Mon Jun 15 2009 kwizart < kwizart at gmail.com > - 0.1-0.3git20090318
5141cf
- Add missing -ldl at link time
5141cf
5141cf
* Sun Mar 22 2009 kwizart < kwizart at gmail.com > - 0.1-0.2git20090318
5141cf
- Backport fix thread_2
5141cf
5141cf
* Fri Mar  6 2009 kwizart < kwizart at gmail.com > - 0.1-0.1git20090318
5141cf
- Initial spec file
5141cf