Project not found: home:alsoft:non-free

File nvidia-vdpau-devel.spec of Package nvidia-vdpau-devel

# norootforbuild

Name:				nvidia-vdpau-devel
Version:			190.36
Release:			0.pm.1.1
Summary:			NVidia Video Decode and Presentation API for Unix
%define subdir NVIDIA-Linux-x86_64-%{version}-pkg1
Source:			ftp://download.nvidia.com/XFree86/Linux-x86_64/%{version}/%{subdir}.run
Source1:       ftp://download.nvidia.com/XFree86/Linux-x86/%{version}/README/README.txt
URL:				http://http.download.nvidia.com/XFree86/vdpau/doxygen/html/index.html
Group:			Development/Libraries/C and C++
License:			BSD license (revised)
BuildRoot:		%{_tmppath}/build-%{name}-%{version}
BuildRequires:	sed
BuildArch:		noarch
%if %suse_version >= 1020
Requires:		xorg-x11-libX11-devel
%else
Requires:		xorg-x11-devel
%endif

%description
The Video Decode and Presentation API for Unix (VDPAU) provides a complete
solution for decoding, post-processing, compositing, and displaying compressed
or uncompressed video streams. These video streams may be combined
(composited) with bitmap content, to implement OSDs and other application user
interfaces.

Note that this package only contains the VDPAU headers that are required to
build applications. At runtime, the shared libraries are needed too and may
be installed using the proprietary nVidia driver packages.




Authors:
--------
    nVidia Corporation <linux-bugs@nvidia.com>

%prep
%setup -q -T -c "%{name}-%{version}"
${SHELL-/bin/sh} "%{SOURCE0}" -x

%__install -m0644 "%{SOURCE1}" .

%build

%install
%__install -d "%{buildroot}%{_includedir}"
%__cp -r "%{subdir}/usr/include/vdpau" "%{buildroot}%{_includedir}/"

%__sed -n '/\* *Copyright/,/\*\//p' "%{subdir}/usr/include/vdpau/vdpau.h" \
| %__sed 's/^ *\* *//;$d' > LICENSE

%clean
%__rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%doc LICENSE README.txt
%{_includedir}/vdpau

%changelog
* Tue Sep 29 2009 Pascal Bleser <pascal.bleser@opensuse.org> 190.36-0.pm.1
- update to 190.36

* Sun Sep 06 2009 Pascal Bleser <pascal.bleser@opensuse.org> 190.32-0.pm.1
- update to 190.32
- include README.txt

* Sun Mar 22 2009 Pascal Bleser <guru@unixtech.be> 180.41-0.pm.1
- update to 185.13

* Mon Mar  2 2009 Pascal Bleser <guru@unixtech.be> 180.29-0.pm.1
- new package

# vim: set sw=3 ts=3 noet:
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:
openSUSE Build Service is sponsored by