Add multi-lib support
[platform/upstream/libXv.git] / packaging / libXv.spec
1 Name:           libXv
2 Version:        1.0.7
3 Release:        1
4 License:        MIT
5 Summary:        X
6 Url:            http://www.x.org
7 Group:          System/Libraries
8 Source:         %{name}-%{version}.tar.bz2
9
10 BuildRequires:  pkgconfig(videoproto)
11 BuildRequires:  pkgconfig(xext)
12 BuildRequires:  pkgconfig(xorg-macros)
13
14 %description
15 X.Org X11 libXv runtime library
16
17 %package devel
18 Summary:        X
19 Group:          Development/Libraries
20 Requires:       %{name} = %{version}
21
22 %description devel
23 X.Org X11 libXv development package
24
25 %prep
26 %setup -q
27
28 %build
29 %reconfigure --disable-static 
30 make %{?_smp_mflags}
31
32 %install
33
34 %make_install
35 %remove_docs
36
37 %post -p /sbin/ldconfig
38 %postun -p /sbin/ldconfig
39
40 %files
41 %defattr(-,root,root,-)
42 %license COPYING 
43 %{_libdir}/libXv.so.1
44 %{_libdir}/libXv.so.1.0.0
45
46 %files devel
47 %defattr(-,root,root,-)
48 %doc man/xv-library-v2.2.txt
49 %{_includedir}/X11/extensions/Xvlib.h
50 %{_libdir}/libXv.so
51 %{_libdir}/pkgconfig/xv.pc