upload tizen1.0 source
[framework/uifw/xorg/lib/libxv.git] / packaging / libxv.spec
1
2 Name:       libxv
3 Summary:    X.Org X11 libXv runtime library
4 Version:    1.0.6
5 Release:    2.3
6 Group:      System/Libraries
7 License:    MIT
8 URL:        http://www.x.org/
9 Source0:    http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.gz
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
12 BuildRequires:  pkgconfig(xproto)
13 BuildRequires:  pkgconfig(x11)
14 BuildRequires:  pkgconfig(xextproto)
15 BuildRequires:  pkgconfig(videoproto)
16 BuildRequires:  pkgconfig(xext)
17 BuildRequires:  pkgconfig(xorg-macros)
18
19
20 %description
21 library for the X Video (Xv) extension to the X Window System
22
23
24 %package devel
25 Summary:    Development components for the libXv library
26 Group:      Development/Libraries
27 Requires:   %{name} = %{version}-%{release}
28
29 %description devel
30 Development library for the X Video (Xv) extension to the X Window System
31
32
33
34 %prep
35 %setup -q -n %{name}-%{version}
36
37
38 %build
39
40 %reconfigure --disable-static
41 make %{?jobs:-j%jobs}
42
43 %install
44 rm -rf %{buildroot}
45 %make_install
46
47
48
49
50 %post -p /sbin/ldconfig
51
52 %postun -p /sbin/ldconfig
53
54
55
56
57
58 %files
59 %defattr(-,root,root,-)
60 %doc AUTHORS COPYING ChangeLog
61 %{_libdir}/libXv.so.1
62 %{_libdir}/libXv.so.1.0.0
63
64
65 %files devel
66 %defattr(-,root,root,-)
67 %dir %{_includedir}/X11
68 %dir %{_includedir}/X11/extensions
69 %{_includedir}/X11/extensions/Xvlib.h
70 %{_libdir}/libXv.so
71 %{_libdir}/pkgconfig/xv.pc
72 #%dir %{_mandir}/man3x
73 %doc %{_mandir}/man3/*.3*
74