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