Blame SPECS/libvdpau.spec

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