resetting manifest requested domain to floor
[platform/upstream/libwsbm.git] / packaging / libwsbm.spec
1 Summary: Buffer manager abstraction library
2 Name:    libwsbm
3 Version: 1.1.0
4 Release: 1
5 Group:   Development/Libraries
6 License: MIT
7 Source:  libwsbm-src.1.1.0.tar.bz2
8 Source1001:     libwsbm.manifest
9 Patch0:  libwsbm.patch
10 Patch1:  0001-CDV-include-tweaks.patch
11 URL:     http://www.x.org/wiki/libwsbm
12 BuildRequires: libdrm-devel
13 BuildRequires: psb-headers
14 Conflicts: libwsbm-cdv
15 ExclusiveArch: %ix86
16
17 %description
18 The libwsbm (wsbm stands for Window System Buffer Manager) library previously
19 lived as a dri buffer manager within mesa. This package builds against
20 PVR-provided PSB headers found in the kernel-adaptation-pc image. This package
21 ought only be installed on a CDV system.
22
23 %package devel
24 Summary: Development headers for libwsbm
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
27
28 %description devel
29 Development headers (Graphics) for libwsbm
30
31 %prep
32 %setup -q -n libwsbm-src.%{version}
33 cp %{SOURCE1001} .
34
35 # libswbm.patch
36 %patch0 -p1
37 # 0001-CDV-include-tweaks.patch
38 %patch1 -p1
39
40 %build
41 %autogen
42 make %{?_smp_mflags}
43
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 %make_install
48
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post -p /sbin/ldconfig
54 %postun -p /sbin/ldconfig
55
56 %files
57 %manifest %{name}.manifest
58 %defattr(-,root,root,-)
59 %{_libdir}/libwsbm.so.1
60 %{_libdir}/libwsbm.so.1.1.0
61
62
63 %files devel
64 %manifest %{name}.manifest
65 %defattr(-,root,root,-)
66 %{_libdir}/pkgconfig/libwsbm.pc
67 %{_libdir}/libwsbm.so
68 %{_includedir}/wsbm/*.h
69
70
71 %changelog