Initial code release
[pkgs/xorg/lib/libXvMC.git] / packaging / libXvMC.spec
1
2
3
4 Name:       libXvMC
5 Summary:    X.Org X11 libXvMC runtime library
6 Version:    1.0.6
7 Release:    1
8 Group:      System/Libraries
9 License:    MIT
10 URL:        http://www.x.org/
11 Source0:    http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
12 # >> gbp-patch-tags         # auto-added by gbp
13 Patch0:     1.0.6-updates.patch
14 # << gbp-patch-tags         # auto-added by gbp
15 Requires(post): /sbin/ldconfig
16 Requires(postun): /sbin/ldconfig
17 BuildRequires:  pkgconfig(xorg-macros)
18 BuildRequires:  pkgconfig(videoproto)
19 BuildRequires:  pkgconfig(xextproto)
20 BuildRequires:  pkgconfig(x11)
21 BuildRequires:  pkgconfig(xext)
22 BuildRequires:  pkgconfig(xv)
23
24
25 %description
26 X.Org X11 libXvMC runtime library file
27
28
29 %package devel
30 Summary:    Development components for the libXvMC library
31 Group:      Development/Libraries
32 Requires:   %{name} = %{version}-%{release}
33
34 %description devel
35 X.Org X11 libXvMC Development library files
36
37
38 %prep
39 %setup -q -n %{name}-%{version}
40
41 # 1.0.6-updates.patch
42 # >> gbp-apply-patches    # auto-added by gbp
43 %patch0 -p1
44 # << gbp-apply-patches    # auto-added by gbp
45
46 %build
47
48 %reconfigure --disable-static
49 make %{?jobs:-j%jobs}
50
51 %install
52 rm -rf %{buildroot}
53 %make_install
54
55
56
57
58 %post -p /sbin/ldconfig
59
60 %postun -p /sbin/ldconfig
61
62
63
64
65
66 %files
67 %defattr(-,root,root,-)
68 %doc COPYING
69 %{_libdir}/libXvMC.so.1
70 %{_libdir}/libXvMC.so.1.0.0
71 %{_libdir}/libXvMCW.so.1
72 %{_libdir}/libXvMCW.so.1.0.0
73
74
75 %files devel
76 %defattr(-,root,root,-)
77 %doc README ChangeLog
78 %dir %{_includedir}/X11
79 %dir %{_includedir}/X11/extensions
80 %{_includedir}/X11/extensions/XvMClib.h
81 %{_libdir}/libXvMC.so
82 %{_libdir}/libXvMCW.so
83 %{_libdir}/pkgconfig/xvmc.pc
84 %doc %{_datadir}/doc/libXvMC/XvMC_API.txt
85