Add default Smack manifest for libXvMC.spec
[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 Source1001: packaging/libXvMC.manifest 
13 # >> gbp-patch-tags         # auto-added by gbp
14 Patch0:     1.0.6-updates.patch
15 # << gbp-patch-tags         # auto-added by gbp
16 Requires(post): /sbin/ldconfig
17 Requires(postun): /sbin/ldconfig
18 BuildRequires:  pkgconfig(xorg-macros)
19 BuildRequires:  pkgconfig(videoproto)
20 BuildRequires:  pkgconfig(xextproto)
21 BuildRequires:  pkgconfig(x11)
22 BuildRequires:  pkgconfig(xext)
23 BuildRequires:  pkgconfig(xv)
24
25
26 %description
27 X.Org X11 libXvMC runtime library file
28
29
30 %package devel
31 Summary:    Development components for the libXvMC library
32 Group:      Development/Libraries
33 Requires:   %{name} = %{version}-%{release}
34
35 %description devel
36 X.Org X11 libXvMC Development library files
37
38
39 %prep
40 %setup -q -n %{name}-%{version}
41
42 # 1.0.6-updates.patch
43 # >> gbp-apply-patches    # auto-added by gbp
44 %patch0 -p1
45 # << gbp-apply-patches    # auto-added by gbp
46
47 %build
48 cp %{SOURCE1001} .
49
50 %reconfigure --disable-static
51 make %{?jobs:-j%jobs}
52
53 %install
54 rm -rf %{buildroot}
55 %make_install
56
57
58
59
60 %post -p /sbin/ldconfig
61
62 %postun -p /sbin/ldconfig
63
64
65
66
67
68 %files
69 %manifest libXvMC.manifest
70 %defattr(-,root,root,-)
71 %doc COPYING
72 %{_libdir}/libXvMC.so.1
73 %{_libdir}/libXvMC.so.1.0.0
74 %{_libdir}/libXvMCW.so.1
75 %{_libdir}/libXvMCW.so.1.0.0
76
77
78 %files devel
79 %manifest libXvMC.manifest
80 %defattr(-,root,root,-)
81 %doc README ChangeLog
82 %dir %{_includedir}/X11
83 %dir %{_includedir}/X11/extensions
84 %{_includedir}/X11/extensions/XvMClib.h
85 %{_libdir}/libXvMC.so
86 %{_libdir}/libXvMCW.so
87 %{_libdir}/pkgconfig/xvmc.pc
88 %doc %{_datadir}/doc/libXvMC/XvMC_API.txt
89