Tizen 2.1 base
[adaptation/intel_mfld/libmfldadvci-blackbay-bin.git] / packaging / libmfldadvci-blackbay-bin.spec
1 %define debug_package %{nil}
2
3 Name:           libmfldadvci-blackbay-bin
4 Summary:        Advanced CI algorithm library for Medfield
5 Version:        12.40
6 Release:        1
7 License:        Intel Proprietary
8 Group:          Development/Libraries
9 ExclusiveArch:  %{ix86} x86_64
10
11 Source0:        %{name}-%{version}.tar.bz2
12
13 Requires:       libwsbm
14 Requires:       pciutils
15 Provides:       libEGL.so.1
16
17 %description
18 Advanced CI algorithm library for Medfield. Implements 3A et al.
19
20 %package devel
21 Summary:        Development files for %{name}
22 Group:          Development/Libraries
23 Requires:       %{name} = %{version}
24 Requires:       pkgconfig
25
26 %description devel
27 This package provides the development environment for %{name}.
28
29 %prep
30 %setup -q
31
32
33 %build
34
35
36 %install
37 install -d %{buildroot}
38 cp -arv  main/* %{buildroot}/
39 cp -arv  devel/* %{buildroot}/
40
41 # create lists of files
42 find main -type f -o -type l | \
43     sed s'![^/]*!!' > files.list
44 find devel -type f -o -type l | \
45     sed s'![^/]*!!' > files-devel.list
46
47 # add config macro in front of config files
48 sed -i s'!^\(/etc*\)!%config \1!' files.list
49
50
51 %post -p /sbin/ldconfig
52
53 %postun -p /sbin/ldconfig
54
55
56 %files -f files.list
57
58 %files devel -f files-devel.list
59
60