da2cdddbb81ed3e07659118c486d8e6a4c21c94d
[platform/core/appfw/xdgmime.git] / packaging / xdgmime.spec
1 Name:           xdgmime
2 Version:        0.0.12
3 Release:        2
4 License:        LGPLv2, AFLv2
5 Summary:        Pkg xdgmime
6 Group:          TO_BE/FILLED_IN
7 Source0:        xdgmime-%{version}.tar.gz
8 Source1001:     xdgmime.manifest
9 BuildRequires:  cmake
10
11 %description
12 Package xdgmime
13
14 %package devel
15 Summary:        Pkg xdgmime (devel)
16 Group:          Development/Libraries
17 Requires:       %{name} = %{version}
18
19 %description devel
20 Package xdgmime (devel)
21
22 %prep
23 %setup -q
24 cp %{SOURCE1001} .
25
26 %build
27 %cmake . 
28
29 make %{?_smp_mflags}
30
31 %install
32 %make_install
33
34 %post -p /sbin/ldconfig
35
36 %postun -p /sbin/ldconfig
37
38 %files
39 %manifest %{name}.manifest
40 %defattr(-,root,root,-)
41 %{_libdir}/libxdgmime.so.*
42 %manifest xdgmime.manifest
43
44 %files devel
45 %manifest %{name}.manifest
46 %defattr(-,root,root,-)
47 %{_includedir}/xdgmime.h
48 %{_libdir}/libxdgmime.so
49 %{_libdir}/pkgconfig/xdgmime.pc