Accepting request 103570 from home:jengelh:branches:X11:XOrg

Split xorg-x11-libs

OBS-URL: https://build.opensuse.org/request/show/103570
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXvMC?expand=0&rev=1
This commit is contained in:
Stefan Dirsch 2012-02-09 13:19:13 +00:00 committed by Git OBS Bridge
commit c0afca4b1e
6 changed files with 129 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

4
baselibs.conf Normal file
View File

@ -0,0 +1,4 @@
libXvMC1
libXvMC-devel
requires -libXvMC-<targettype>
requires "libXvMC1-<targettype> = <version>"

3
libXvMC-1.0.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3dda80e9c71fd14a14f93279c6f661703c5c1c43d104a5db0842377bdf0c3392
size 270013

4
libXvMC.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Feb 7 22:17:49 UTC 2012 - jengelh@medozas.de
- Split xorg-x11-libs into separate packages

94
libXvMC.spec Normal file
View File

@ -0,0 +1,94 @@
#
# spec file for package libXvMC
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libXvMC
%define lname libXvMC1
Version: 1.0.6
Release: 0
Summary: X-Video Motion Compensation library
License: MIT
Group: Development/Libraries/C and C++
Url: http://cgit.freedesktop.org/xorg/lib/libXvMC/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXvMC
Source: %name-%version.tar.bz2
#git#BuildRequires: autoconf >= 2.60, automake, libtool
BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.3, pkgconfig(x11)
BuildRequires: pkgconfig(xext), pkgconfig(xv), pkgconfig(xextproto)
BuildRequires: pkgconfig(videoproto)
%description
X-Video Motion Compensation (XvMC), is an extension of the X video
extension (Xv) for the X Window System. The XvMC API allows video
programs to offload portions of the video decoding process to the GPU
video-hardware.
%package -n %lname
Summary: X-Video Motion Compensation library
Group: System/Libraries
%description -n %lname
X-Video Motion Compensation (XvMC), is an extension of the X video
extension (Xv) for the X Window System. The XvMC API allows video
programs to offload portions of the video decoding process to the GPU
video-hardware.
The supported portions to be offloaded by XvMC onto the GPU are
motion compensation (mo comp) and inverse discrete cosine transform
(iDCT) for MPEG-2 video. XvMC also supports offloading decoding of mo
comp, iDCT, and VLD (Variable-Length Decoding) for MPEG-2/MPEG-4-ASP.
%package devel
Summary: Development files for the X-Video Motion Compensation library
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
X-Video Motion Compensation (XvMC), is an extension of the X video
extension (Xv) for the X Window System. The XvMC API allows video
programs to offload portions of the video decoding process to the GPU
video-hardware.
This package contains the development headers for the library found
in %lname.
%prep
%setup -q
%build
%configure --docdir=%_docdir/%name --disable-static
make %{?_smp_mflags}
%install
%makeinstall
rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%_libdir/libXvMC*.so.1*
%files devel
%defattr(-,root,root)
%_includedir/X11/*
%_libdir/libXvMC*.so
%_libdir/pkgconfig/xvmc.pc
%_docdir/%name
%changelog